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

RTX 3090 out of memory #3

Closed
DietmarGrabowski opened this issue Oct 11, 2023 · 2 comments
Closed

RTX 3090 out of memory #3

DietmarGrabowski opened this issue Oct 11, 2023 · 2 comments

Comments

@DietmarGrabowski
Copy link

Hi, i am running out of memory:
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 732.00 MiB (GPU 0; 24.00 GiB total capacity; 20.62 GiB already allocated; 0 bytes free; 22.68 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.

@abacaj
Copy link
Owner

abacaj commented Oct 11, 2023

Hi sounds like you are running on 1 GPU, you should probably look into qlora because this setup requires multiple GPUs or enough vram

@DietmarGrabowski
Copy link
Author

yes, i missed this. Thank you

@abacaj abacaj closed this as completed Oct 12, 2023
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