Cuda OOM error when running start.bat #121
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#121
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a GTX 1650 Super (4GiB VRAM) and I seem to not be able to fully run start.bat with Hardware acceleration on.
The issue seems to occur when running autoregressive.pth. I looked through the issues page on the wiki, but I couldn't find anything related to fixing OOM errors before gaining access to the WebUI.
Put this in ai-voice-cloning/config/exec.json
This should let you load into the webui. Particularly "defer-tts-load": true, which should be default imo for exactly this type of thing.
Then you can try low vram, no voice fixer, force cpu for conditioning latents. I still see vram spike to ~5.6GB, so I think 6GB is minimum atm.
Perhaps some day we'll fix the memory leak which will allow us to completely unload autoregressive.pth from memory after we're done with it, which might make it fit in 4gb.
Thank you! I managed to get into the WebUI and tried to generate a voice, though for some reason the only thing that was generated was some static noise.
I wanna give out helpful info if you happen to use a nvidia graphics card that has 6GB or more of VRAM and you set the batch size to low and you still get this error message
RuntimeError: CUDA out of memory.
Then use nvitop to monitor your gpu memory usage.
Thank you @zim33 , it worked
I also just found out that there's a "Settings" tab in the web UI where you can change the sample batch size :)