mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #687] Voice changing issue (CUDA out of memory) #414
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#414
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EnderRL on GitHub (Jul 4, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/687
Hi I am new to RVC, and I have little knowledge about it.
I was trying out how powerful the application, and it was really cool. I was able to separate the voice and instrumental.


But when it comes to changing voice, I getting these error:
I assume that because my gpu ran out of memory:
I was using a random trained voice (the .pth file) from this repo
And I sure it wasn’t the problem (I haven’t try the other voice yet), and it was because of my gpu limitations. I also haven’t try train a voice yet but I assume that it will also give out of memory error.
So my question is:
Pc specs:
Cpu: Core i3 gen 12th (4 core 8 threads)
Ram: 16GB
Gpu: GTX 950 (2GB vram)
I also forgot to mention that I used the installation script from this video (or the powershell iex script:
iex (irm rvc.tc.ht)) so that I saved my time installing manually.Thanks!
哈咯哈咯,我的华文会很差,只是希望可以让你们明白点。
我刚接触这个变音器,所以我不是很会用。
我只是来看看这个东西有多好玩,就觉得这个分唱歌的和伴奏的很成功。
但是到变音的时候,就开始有问题。我是觉得因为out of memory的问题,所以就求方法搞这个问题。
我电脑的配件:
Cpu: intel core i3 gen 12th
Ram: 16GB
Gpu: GTX 950 (2GB vram)
謝謝!
@EnderRL commented on GitHub (Jul 4, 2023):
Update: nevermind, in the "config.py", just lower the

x_pad, x_query, x_center, x_maxso it won't show cuda timeout, and the problem is not even related to gpu vram, it was fine.
Let me know if i can actually improve this, otherwise problem solved! Thanks!
@ms903x1 commented on GitHub (Jul 4, 2023):
gtx950 is not within the supported range. Please use a Niadiv graphics card of gtx10xx series or higher
@RVC-Boss commented on GitHub (Jul 5, 2023):
2G GPU memory is not enough for inference.
If you want to use CPU to inference, you can modify this line
self.device = "cuda:xxx"
to
self.device = "cpu"
@EnderRL commented on GitHub (Jul 6, 2023):
Thanks! It works very stable for now.