Free | No tracking | Every fact with a source|German and English

Error / Models and files

clip missing: ['text_projection.weight'] (usually a harmless warning)

ComfyUI reports that individual weights are missing in the text encoder file; with text_projection.weight and logit_scale, this is generally harmless.

The message

clip missing: ['clip_l.logit_scale', 'clip_l.transformer.text_projection.weight']

Affects: ComfyUI

Why is this happening?

text_projection.weight belongs to part of the CLIP text encoder (the projected summary) that many image models do not use at all. That is why providers often leave it out when publishing, and ComfyUI only reports the missing piece. When loading complete checkpoints, ComfyUI now logs exactly these two entries only in the debug log. When loading text encoders separately, such as for Flux, the line still appears.

How to fix it

  1. Read the list in the message. If it contains only text_projection.weight and/or logit_scale (also with a prefix like clip_l.), you do not need to do anything.
  2. If generation finishes and the image looks normal, you can ignore the line.
  3. If many other keys are missing, the file does not match the loader. Check the file and type in “Load CLIP” or “DualCLIPLoader.” For Flux, one slot should use clip_l.safetensors, and the other the T5 file.
  4. If you get black or broken images, that is not caused by this line. First check the VAE (see the entry “Black images or NaN values”).
  5. Update ComfyUI. Portable: run update\update_comfyui.bat in the ComfyUI_windows_portable folder. Desktop app: Manage → Update tab. Manual installation: activate the venv, run git pull in the ComfyUI folder, then pip install -r requirements.txt. Newer versions no longer show the message when loading complete checkpoints.

Better not: Do not change ComfyUI files like comfy\supported_models.py just to get rid of the message, as some threads recommend—the message is harmless.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.