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

GPU memory issues #21

Open
EagleMan11 opened this issue Sep 20, 2024 · 0 comments
Open

GPU memory issues #21

EagleMan11 opened this issue Sep 20, 2024 · 0 comments

Comments

@EagleMan11
Copy link

  when i enter ‘ python test.py --pretrained .\pretrained\NYU303_pretrained.pt --data NYU303‘,there is a error:‘RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 8.00 GiB total capacity; 13.24 GiB already allocated; 0 bytes free; 13.42 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’.
  So,could you tell me how much GPU memory  your project need?
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