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

High memory demand #16

Open
philippmaa opened this issue Jun 27, 2023 · 1 comment
Open

High memory demand #16

philippmaa opened this issue Jun 27, 2023 · 1 comment

Comments

@philippmaa
Copy link

philippmaa commented Jun 27, 2023

Hi there, thanks for sharing this code. I am currently trying to make it work using an NVIDIA GeForce RTX 3060 with 12GB RAM. If I run "run_features_extraction.py" the call "z_enc, _ = sampler.encode_ddim(...)" finishes. However, right afterward when calling "samples_ddim, _ = sampler.sample()" I run into a "RuntimeError: CUDA out of memory" error. Is there some problem or does the model really need that much memory?
I would appreciate any help.

@chunyu-li
Copy link

Yes, it's the problem of your VRAM size. I have successfully run the code and it requires about 17G VRAM.

Screenshot 2023-07-29 at 22 19 21

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