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

Memory Leak? CUDA memory finishes quickly when using more than 50 pre-annotated data #3

Open
brr53 opened this issue Sep 30, 2023 · 0 comments

Comments

@brr53
Copy link

brr53 commented Sep 30, 2023

Even when using 150 pre annotated images to label 10 additional images, CUDA memory finishes on a 3090 GPU.

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 31.36 GiB (GPU 0; 24.00 GiB total capacity; 49.21 GiB already allocated; 0 bytes free; 49.35 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

It stops working after about 50 pre annotated images due to this error.

@brr53 brr53 changed the title CUDA memory finishes quickly when using larger pre-annotated data Memory Leak? CUDA memory finishes quickly when using more than 50 pre-annotated data Sep 30, 2023
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