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

torch.OutOfMemoryError: CUDA out of memory with Runpod A100 #160

Open
nanaj96 opened this issue Jan 23, 2025 · 0 comments
Open

torch.OutOfMemoryError: CUDA out of memory with Runpod A100 #160

nanaj96 opened this issue Jan 23, 2025 · 0 comments

Comments

@nanaj96
Copy link

nanaj96 commented Jan 23, 2025

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)

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

1 participant