RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
unload voice
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
i get the following:
Traceback (most recent call last):
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\gradio\blocks.py", line 1006, in process_api
result = await self.call_function(fn_index, inputs, iterator, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\gradio\blocks.py", line 847, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\runtime\Lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\RVC20260718Nvidia50x0\infer\vc\modules.py", line 124, in get_vc
clear_cuda_graph_cache(self.net_g)
^^^^^^^^^^
AttributeError: 'VC' object has no attribute 'net_g'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in infer/vc/modules.py at get_vc around line 124 and reproduce the unload-voice action that raises the shown AttributeError. Trace the VC initialization and unload paths, then verify that unloading a voice completes without this exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100