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

cli.py It took too much time. #10

Open
fallbernana123456 opened this issue Jan 10, 2025 · 3 comments
Open

cli.py It took too much time. #10

fallbernana123456 opened this issue Jan 10, 2025 · 3 comments

Comments

@fallbernana123456
Copy link

python CogVideoX/cli.py --lora_path TransPixar/cogvideox_rgba_lora.safetensors --prompt "A transparent glass of water with ice cubes gently swirling"

1/50 [00:11<2:58:21, 243.22s/it]
Is there something I set wrong?

@wileewang
Copy link
Owner

Could you provide more information about your GPU device? If you have limited resources, you can follow the Hugging Face demo settings to reduce the number of frames and inference timesteps. The generation process should take approximately 3–5 minutes.

@korober
Copy link

korober commented Jan 11, 2025

I have very similar results (2 / 25 ~ 45 min):
image
my setup: laptop 4090 16GB, Intel 14th + 64RAM

@jxwr
Copy link

jxwr commented Jan 11, 2025

I got 'UserWarning: Torch was not compiled with flash attention' . Is the slow speed related to this? My GPU is a 4090, 24GB.

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

4 participants