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

How to improve out of memory problem? #22

Open
uyen-vuong opened this issue Aug 15, 2024 · 3 comments
Open

How to improve out of memory problem? #22

uyen-vuong opened this issue Aug 15, 2024 · 3 comments

Comments

@uyen-vuong
Copy link

Testing 3 4
Error CUDA out of memory. Tried to allocate 4.63 GiB (GPU 0; 23.64 GiB total capacity; 10.75 GiB already allocated; 3.48 GiB free; 17.84 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF 4

@DENGBOYU-REX
Copy link

Same here. Did you find out the reason?

@zhaohm14
Copy link

Hi! I tried --tile 512 and it works fine on my 2080Ti, using 17G/22G of VRAM.

@ming053l
Copy link
Owner

ming053l commented Jan 20, 2025 via email

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