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

cannot import name 'shard_checkpoint' from 'transformers.modeling_utils' #327

Open
gameandwhk111111111111111111 opened this issue Dec 14, 2024 · 2 comments

Comments

@gameandwhk111111111111111111

Updated hunyuanvideo be dependent on Just display cannot import name 'shard_checkpoint' from 'transformers.modeling_utils'

@Ph0rk0z
Copy link

Ph0rk0z commented Dec 21, 2024

I have the same issue on cuda 11.8 and torch 2.5. On cuda12 and 2.4.1 the extension loads normally. I'm not sure if I updated transformers there.

edit: found the solution. update PEFT to the latest.

@Giarc1982
Copy link

I found updating huggingface_hub to 0.26.5 and autoawq to 0.2.7 seem to solve this

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

3 participants