-
Notifications
You must be signed in to change notification settings - Fork 986
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 4090 24g Cannot run #673
Comments
这个int8需要的成本比直接用BF16还高,直接用BF16运行能在24G内完成,而且不能用enable_model_cpu_offload |
BF16是哪种方式,huggingface里面的的第一种demo吗?cli demo的方式是最快的吗? import torch prompt = "A little girl is riding a bicycle at high speed. Focused, detailed, realistic." pipe.enable_sequential_cpu_offload() video = pipe( export_to_video(video, "output.mp4", fps=8) |
I see, you need to specify the resolution, specify height and width, otherwise the sample will be 300 and 300, not the normal case. You can pay attention to our cli_demo, where every parameter is required. |
下面是我的代码 import torch class CogVideoXModel:
|
这两个都得指定 num_frames 和 height 和width 1.0 num_frames是49 height 480 width 720 |
|
不能,因为CogVideoX-5B-I2V是固定的720*480,所以你的height必须传,且传为720,height必须传且为480 |
System Info / 系統信息
ubuntu22.04
Information / 问题信息
Reproduction / 复现过程
Expected behavior / 期待表现
正常运行
The text was updated successfully, but these errors were encountered: