error when loading the model

#3
by TheBigBlockPC - opened

i get this error when using the provided ocde:
"""
Trying to set a tensor of shape torch.Size([3072, 128]) in "weight" (which has shape torch.Size([3072, 16, 2, 2])), this look incorrect.
File "/home/kurama/Dokumente/vsProjects/vid_gen_5b_1.5/main_nq.py", line 7, in
pipe = CogVideoXPipeline.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Trying to set a tensor of shape torch.Size([3072, 128]) in "weight" (which has shape torch.Size([3072, 16, 2, 2])), this look incorrect.
"""

Sign up or log in to comment