OpenVoice icon indicating copy to clipboard operation
OpenVoice copied to clipboard

HIgh Memory Usage

Open dilerbatu opened this issue 1 year ago • 3 comments

Hi, Thanks for this great repository. It is amazing work.

My problem is when I initialize OpenVoice's BaseSpeakerTTS, It uses ~3 GiB memory and ~1 GiB video ram. I think that, it consumes too much resources. Do you have any idea to optimize it ?

dilerbatu avatar Jan 04 '24 10:01 dilerbatu

After experimenting a bit with the provided ipynb files my Vram usages goes above 2.4GB. Less would really be nice especially if this would go up with further requests, but until now I'm impressed with the speed and quality of the speakers. Nicely done :)

thilasx avatar Jan 04 '24 22:01 thilasx

This is normal. The pytorch lib does require such memory

Zengyi-Qin avatar Jan 05 '24 15:01 Zengyi-Qin

Do you know any way to decrease this usage ?

dilerbatu avatar Jan 05 '24 15:01 dilerbatu