CUDA out of memory - all of a sudden? #87

Closed
opened 2023-03-07 19:34:29 +07:00 by nirurin · 2 comments

So today, whenever I try and generate a voice, it goes through a few minutes of the usual loading, and then throws this OOM error. Never used to happen, as I'm on a 3090. Previously I'd only be using about 16gb of memory for generations like this.

Edit - It seems to succeed if I use the 'univan' vocoder, but fails with either of the default bigvgan vocoders?

So today, whenever I try and generate a voice, it goes through a few minutes of the usual loading, and then throws this OOM error. Never used to happen, as I'm on a 3090. Previously I'd only be using about 16gb of memory for generations like this. Edit - It seems to succeed if I use the 'univan' vocoder, but fails with either of the default bigvgan vocoders?

Go under settings and set Sample Batch Size to 16. If you updated mrq/tortoise-tts recently, it added an additional automatic batch size tier, that I suppose isn't actually safe to use for lengthier sentences. I'll revert it in a moment.

Go under settings and set Sample Batch Size to 16. If you updated mrq/tortoise-tts recently, it added an additional automatic batch size tier, that I suppose isn't actually safe to use for lengthier sentences. I'll revert it in a moment.

Reverted in mrq/tortoise-tts commit 3dd5cad324.

In the future, if it does happen again, you'll need to lower the sample batch size under settings.

Reverted in mrq/tortoise-tts commit https://git.ecker.tech/mrq/tortoise-tts/commit/3dd5cad32429b8cf0e2864e07799a7626a067150. In the future, if it does happen again, you'll need to lower the sample batch size under settings.
mrq closed this issue 2023-03-07 19:40:27 +07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#87
There is no content yet.