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

1024 model taking a lot of time #12

Open
TrickyJustice opened this issue Jan 29, 2024 · 1 comment
Open

1024 model taking a lot of time #12

TrickyJustice opened this issue Jan 29, 2024 · 1 comment

Comments

@TrickyJustice
Copy link

Hello. I am trying to inference from 1024 model and it's taking a lot of time. My code has been running for more than an hour now on a 40gb A100 GPU and this is what it displays:
Global seed set to 123
AE working on z of shape (1, 4, 64, 64) = 16384 dimensions.

model checkpoint loaded.
[rank:0] 2/2 samples loaded.
[rank:0] batch-1 (1)x3 ...
DDIM scale True
ddim device cuda:0
/home/a2soni/.conda/envs/freenoise/lib/python3.8/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
DDIM scale True
ddim device cuda:0

I tried the vanilla videocrafter 1024 and it generates samples in 122 seconds. Can you help me with this?

@arthur-qiu
Copy link
Collaborator

1024 is really time consuming. You can reduce the sample number from 3 to 1.

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