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

Cuda ran out of memory while running main.py #155

Open
PremHCLTech opened this issue Jul 25, 2023 · 0 comments
Open

Cuda ran out of memory while running main.py #155

PremHCLTech opened this issue Jul 25, 2023 · 0 comments

Comments

@PremHCLTech
Copy link

image getting cuda out of memory error, I even tried decreasing the batchsize but didn't work. Any help would be appriciated.

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 150.00 MiB (GPU 0; 15.90 GiB total capacity; 3.58 GiB already allocated; 120.25 MiB free;
3.67 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

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