-
Notifications
You must be signed in to change notification settings - Fork 194
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
torch.OutOfMemoryError: CUDA out of memory with Runpod A100 #160
Comments
Diffusers with optimization works I have tutorial : https://youtu.be/GjENQfHF4W8 |
is this multiple GPU training config? |
@nanaj96 if you are trying training that is different i replied for inference |
|
@FurkanGozukara do you know about this? |
i didnt train yet so dont know sorry |
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 42.00 MiB. GPU 0 has a total capacity of 44.52 GiB of which 2.00 MiB is free. Process 280468 has 5.57 GiB memory in use. Process 280474 has 5.35 GiB memory in use. Process 280470 has 5.53 GiB memory in use. Process 280467 has 5.57 GiB memory in use. Process 280473 has 5.75 GiB memory in use. Process 280472 has 5.49 GiB memory in use. Process 280469 has 5.65 GiB memory in use. Process 280471 has 5.57 GiB memory in use. Of the allocated memory 4.92 GiB is allocated by PyTorch, and 134.41 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
The text was updated successfully, but these errors were encountered: