RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

RVC crashing when a model is loaded

Open
#2,215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

(RVC) [USER@main Retrieval-based-Voice-Conversion-WebUI]$ python infer-web.py
2024-07-26 10:51:30 | INFO | configs.config | Found GPU AMD Radeon RX 7900 XTX
2024-07-26 10:51:30 | INFO | configs.config | Half-precision floating-point: True, device: cuda:0
/home/USER/RVC/lib64/python3.8/site-packages/gradio_client/documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
/home/USER/RVC/lib64/python3.8/site-packages/gradio_client/documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
2024-07-26 10:51:31 | INFO | main | Use Language: en_US
Running on local URL: http://0.0.0.0:7865
2024-07-26 10:52:12 | INFO | infer.modules.vc.modules | Get sid: Madonna2333333.pth
2024-07-26 10:52:12 | INFO | infer.modules.vc.modules | Loading: assets/weights/Madonna2333333.pth
Speicherzugriffsfehler (Speicherabzug geschrieben)

I am running RVC on Fedora 40.
I created a virtual env for RVC and successfully installed all requirements.
I can start it according to tutorial and i can see the webinterface, browse it, it detects my GPU, all is fine.
But when i load a .pth-file from /assets/weighs/my.pth, and i tried a lot of them, i get this error and the python process crashes.
The model-files all lay on a NFS-share and have user-permissions for the same User that runs RVC.
I also have Stable Diffusion on same machine which works without a problem.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with infer-web.py and the model-loading path in infer/modules/vc/modules, then reproduce the crash using a .pth file from assets/weights on Fedora 40 with the AMD Radeon RX 7900 XTX setup described. Compare loading from the NFS share and a local path, and use the resulting logs or crash data to define a reproducible fix and successful model loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.