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

Error when i try to start it up with go live gui batch

Open
#2,252 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

i dont know how python works because i dont know how to program, but heres the error
please try to help me, i worked hard to extract the files since extracting it all in one said no space in appdata

2024-08-15 17:17:40 | INFO | faiss.loader | Loading faiss.
2024-08-15 17:17:40 | INFO | faiss.loader | Successfully loaded faiss.
2024-08-15 17:17:41 | INFO | configs.config | No supported Nvidia GPU found
overwrite preprocess and configs.json
2024-08-15 17:17:41 | INFO | configs.config | Use DirectML instead
Traceback (most recent call last):
  File "E:\rvc\gui_v1.py", line 954, in <module>
    gui = GUI()
  File "E:\rvc\gui_v1.py", line 130, in __init__
    self.config = Config()
  File "E:\rvc\configs\config.py", line 35, in wrapper
    wrapper.instance = func(*args, **kwargs)
  File "E:\rvc\configs\config.py", line 61, in __init__
    self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()
  File "E:\rvc\configs\config.py", line 225, in device_config
    self.device = torch_directml.device(torch_directml.default_device())
  File "E:\rvc\runtime\lib\site-packages\torch_directml\device.py", line 38, in device
    raise Exception(f"Invalid device_id argument supplied {device_id}. device_id must be in range [0, {num_devices}).")
Exception: Invalid device_id argument supplied 0. device_id must be in range [0, 0).

image

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 at gui_v1.py:954 and follow GUI initialization into configs/config.py:35, 61, and 225, where torch_directml.device raises the reported exception. Reproduce the startup path with the provided traceback and inspect device detection; done means the GUI starts without the invalid device_id error.

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
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.