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

RuntimeError: CUDA out of memory #151

Open
2016110071 opened this issue Apr 11, 2024 · 0 comments
Open

RuntimeError: CUDA out of memory #151

2016110071 opened this issue Apr 11, 2024 · 0 comments

Comments

@2016110071
Copy link

RuntimeError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 22.38 GiB total capacity; 21.52 GiB already allocated; 245.94 MiB free; 21.55 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

when I used 4GPUs (P40),I got the error above. What could I do ? Is P40 suitable for this project?

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