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
- Read the list in the message. If it contains only
text_projection.weightand/orlogit_scale(also with a prefix likeclip_l.), you do not need to do anything. - If generation finishes and the image looks normal, you can ignore the line.
- 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. - 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”).
- Update ComfyUI. Portable: run
update\update_comfyui.batin theComfyUI_windows_portablefolder. Desktop app: Manage → Update tab. Manual installation: activate the venv, rungit pullin theComfyUIfolder, thenpip 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:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- ERROR: clip input is invalid: None (Checkpoint contains no text encoder)
- ERROR: Could not detect model type of: … (Model is in the wrong folder or the wrong loader)
- lora key not loaded (LoRA does not match the model or the loader)
- mat1 and mat2 shapes cannot be multiplied (models don’t match)
- Prompt outputs failed validation / Value not in list (Model missing)
Sources
- https://github.com/Comfy-Org/ComfyUI/issues/5222
- https://github.com/Comfy-Org/ComfyUI/issues/3161
- https://github.com/Comfy-Org/ComfyUI/blob/master/comfy/sd.py
- https://docs.comfy.org/troubleshooting/model-issues
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.