-
Notifications
You must be signed in to change notification settings - Fork 152
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
How to avoid “CUDA out of memory” in PyTorch #30
Comments
hey i somehow managed to remove the cuda out of memory error by reducing the batch size but now its showing me this warning (do note: i am only getting .wav files) 0%| | 5/2242 [00:26<2:54:03, 4.67s/it]Traceback (most recent call last): please help me thankyou <3 |
Hey @Rudrabha , thanks for the project. it works flawlessly but the issue is that it needs only RTX gpu's or Tesla P series GPU(for google colab) to preprocess the data (rest other steps work on any nvidia gpu or tesla gpu's). If we run preprocess.py on chem lectures on gpu's other than gtx or tesla p series then it throws the warning and error mentioned above and its been 2 weeks im trying to figure out why its giving me such error so please if you can help me out then it would be great. thankyou soo much. also do not i can't run any other speakers other than chem it just doens't preprocess and stops at 1st iteration |
hey there.
the preprocessing is working but actually it has only generated audio files of 3.9gb's.
I think there should be image aswell( i tried on mac without any gpu and set device-name:'cuda' to device-name:'cpu' and its generating images) , on my desktop(with nvidia gpu) its only giving me .wav audio files and i am getting warning like
“CUDA out of memory” in PyTorch Tried to allocate 20.00 MiB (GPU 0; 10.76 GiB total capacity; 4.29 GiB already allocated; 10.12 MiB free; 4.46 GiB reserved in total by PyTorch)
can someone help me fix the issue?
The text was updated successfully, but these errors were encountered: