Plachtaa / VITS-fast-fine-tuning

This repo is a pipeline of VITS finetuning for fast speaker adaptation TTS, and many-to-many voice conversion
Apache License 2.0
4.65k stars 698 forks source link

云服务器上推理时,内存不断增加。 #557

Open drunkyeast opened 6 months ago

drunkyeast commented 6 months ago

我先是在windows的wsl环境中使用模型进行推理,内存就占用800MB。但是我把模型放到阿里云服务器(2核4G)进行推理时,内存一开始也是800MB左右,但是点击一次Generate后,要近10秒才能生成语音,并且内存会增加到1.2GB,再次点击Generate后, 内存会增加到2GB,甚至3GB, 最后卡死不得不重启服务器。不理解这是为什么? Snipaste_2023-12-24_14-38-31 Snipaste_2023-12-24_14-39-14 Snipaste_2023-12-24_14-39-34 Snipaste_2023-12-24_14-39-56 Snipaste_2023-12-24_14-40-40