-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
内存泄露问题 #1218
Comments
@LonelyTaker 正常推理之后没有释放显存吗? |
不是显存,内存未被释放 |
随着推理请求的增多,占用内存会不断增加,即使释放模型,也无法释放掉占用的内存 |
了解了 |
CyberWon
added a commit
to CyberWon/GPT-SoVITS
that referenced
this issue
Jun 23, 2024
在推理完成之后,使用gc控制器对内存进行回收。 RVC-Boss#1218
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
_batch_audio_fragment = (self.vits_model.decode( all_pred_semantic, _batch_phones, refer_audio_spec ).detach()[0, 0, :])
目前定位到这条语句存在明显的内存泄露现象。想请问下是什么原因导致?
The text was updated successfully, but these errors were encountered: