-
Notifications
You must be signed in to change notification settings - Fork 850
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
cli_demo.py里,2b模型直接运行,换成5b模型报错 #189
Comments
The 2B model needs to be loaded using fp16 and for 5b need to update the diffusers lib to 0.30.1. |
I re-run pip install -r requirements.txt&& pip install diffusers==0.30.1, video can be generated normally with 5B model |
I changed the diffusers version to 0.30.1 but the problem still exists, what now? |
Well, it seems that black-forest-labs/flux#134 (comment) solves my problem |
System Info / 系統信息
diffusers/models/modeling_utils.py", line 774, in from_pretrained
accelerate.load_checkpoint_and_dispatch(
TypeError: load_checkpoint_and_dispatch() got an unexpected keyword argument 'strict'
Information / 问题信息
Reproduction / 复现过程
1
Expected behavior / 期待表现
运行
The text was updated successfully, but these errors were encountered: