ComfyUI-CogVideoXWrapper icon indicating copy to clipboard operation
ComfyUI-CogVideoXWrapper copied to clipboard

CogVideoTextEncode: 'SD1Tokenizer' object has no attribute 't5xxl'

Open aetherwu opened this issue 1 year ago • 4 comments

File "/home/user/app/custom_nodes/ComfyUI-CogVideoXWrapper/nodes.py", line 169, in process clip.tokenizer.t5xxl.pad_to_max_length = True AttributeError: 'SD1Tokenizer' object has no attribute 't5xxl'

Is this caused by worng t5 model? I used one from: https://huggingface.co/JulesGo/t5-v1_1-xxl-fp8_text_encoder_2

aetherwu avatar Sep 09 '24 09:09 aetherwu

Can you post your workflow (either a good screenshot or the json)? The fact that it's mentioning SD1 in the error makes me suspect that you have the wrong type selected in the Load CLIP node (should be SD3).

CambridgeComputing avatar Sep 19 '24 15:09 CambridgeComputing

@aetherwu Hi, please check your 'Load CLIP' node and make sure you have a t5xxl selected as clip_name. I had the same error message as you and that's how I fixed it. image

Sirachosur avatar Oct 10 '24 16:10 Sirachosur

I have this error and I am using t5xxl_fp8_e4m3fn.safetensors

image

TRONBFFL avatar Nov 13 '24 21:11 TRONBFFL

I have this error and I am using t5xxl_fp8_e4m3fn.safetensors

image

Gotta select SD3 as the model type for the clip loader

kijai avatar Nov 13 '24 22:11 kijai