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

Very high GPU usage in voice cloning after 10-15 runs. #222

Open
amssss0 opened this issue Mar 23, 2024 · 1 comment
Open

Very high GPU usage in voice cloning after 10-15 runs. #222

amssss0 opened this issue Mar 23, 2024 · 1 comment

Comments

@amssss0
Copy link

amssss0 commented Mar 23, 2024

PDF to Audiobook Caper - Memory Leak Mystery!
Yo! Just tried to turn a PDF into an audiobook with some sweet text-to-speech (TTS) code (https://github.com/yl4579/StyleTTS2), but things went south faster than a rogue audiobook narrator.

The Plot: At first, everything was smooth sailing. GPU usage stayed low (chillin' around 6GB) for the first 10-15 sentences (think 150-250 words each). But then, memory mayhem! Processing more text caused a massive jump in usage, totally maxing out my trusty T4's 15GB VRAM and crashing the mission.

Suspect Identified: After some code sleuthing, it seems the model.decode() function is the memory hoarding culprit. Bummer!

Calling All Code Commandos: Has anyone out there apprehended this memory leak and patched model.decode()? If so, spill the beans! Any intel is appreciated.

Stay tuned, fellow audio adventurers. We'll crack this case and get those audiobooks flowing in no time!

@amssss0
Copy link
Author

amssss0 commented Mar 23, 2024

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