Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CogVideoX1.5-5B-I2V or "THUDM/CogVideoX-5b-I2V" #19

Open
keyonchrist opened this issue Nov 15, 2024 · 4 comments
Open

CogVideoX1.5-5B-I2V or "THUDM/CogVideoX-5b-I2V" #19

keyonchrist opened this issue Nov 15, 2024 · 4 comments

Comments

@keyonchrist
Copy link

Are these lora weights for THUDM/CogVideoX-5b-I2V or CogVideoX1.5-5B-I2V, or are they the same version? Thanks and amazing work guys! your paper is awesome

@chenshuo20
Copy link
Collaborator

We trained these LoRAs using the THUDM/CogVideoX-5b-I2V model. Interestingly, they also appear to be compatible with CogVideoX1.5-5B-I2V. Feel free to give it a try yourself!

@keyonchrist
Copy link
Author

ok will do!

@keyonchrist
Copy link
Author

We trained these LoRAs using the THUDM/CogVideoX-5b-I2V model. Interestingly, they also appear to be compatible with CogVideoX1.5-5B-I2V. Feel free to give it a try yourself!

Hey! I tried to run the model but keep getting this error, any idea why?

" File "/home/ubuntu/venv/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 247, in set_module_tensor_to_device
new_module = getattr(module, split)
File "/home/ubuntu/venv/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 155, in getattr
return super().getattr(name)
File "/home/ubuntu/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1931, in getattr
raise AttributeError(
AttributeError: 'CogVideoXTransformer3DModel' object has no attribute 'ofs_embedding'. Did you mean: 'time_embedding'?"

specifically the last line: AttributeError: 'CogVideoXTransformer3DModel' object has no attribute 'ofs_embedding'. Did you mean: 'time_embedding'?"

@chenshuo20
Copy link
Collaborator

It appears that the issue stems from CogVideoX1.5-5B-I2V, an additional component compared to CogVideoX-5B-I2V. You might resolve this by upgrading your diffusers version, trying cloning their latest repository and installing it. I also find a similar issue reported in the CogVideo repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants