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 out of memory #56

Open
testusersample1 opened this issue Mar 22, 2023 · 1 comment
Open

CUDA out of memory #56

testusersample1 opened this issue Mar 22, 2023 · 1 comment

Comments

@testusersample1
Copy link

I'm getting following error when starting the training

OutOfMemoryError: CUDA out of memory. Tried to allocate 1.55 GiB (GPU 0; 23.99 GiB total capacity; 20.44 GiB already allocated; 0 bytes free; 22.59 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 Drücken Sie eine beliebige Taste . . .

Training batch size is 188
validation batch size is 48
Training settings, 500
nothing else changed.

@tanfarou
Copy link

tanfarou commented Apr 1, 2023

I have the same problem. Anything less than a total of 100 works. I used 80 in Training and 20 in validation.

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

2 participants