RVC-Project / Retrieval-based-Voice-Conversion

in preparation...
MIT License
240 stars 37 forks source link

Solved: RVC being slower than the WebUI version #9

Closed wAIfu-DEV closed 7 months ago

wAIfu-DEV commented 7 months ago

Hi, posting this here since I encountered the issue on my end and managed to solve it.

When installing RVC as a python package, using pip install git+https://github.com/RVC-Project/Retrieval-based-Voice-Conversion, the version of torch that was installed was the CPU version instead of the CUDA version, meaning the process was slowed by at least 10x.

To fix, re-install torch using pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 for NVIDIA GPUs.