[GH-ISSUE #1040] Error when the RVC-GUI starts up #680

Closed
opened 2026-10-20 10:01:51 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @InfinityPotato on GitHub (Aug 17, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1040

Running with the runtime Python, Please wait.
Traceback (most recent call last):
File "C:\RVC-GUI-pkg\rvcgui.py", line 39, in
config = Config()
File "C:\RVC-GUI-pkg\config.py", line 28, in init
self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()
File "C:\RVC-GUI-pkg\config.py", line 96, in device_config
elif torch.backends.mps.is_available():
AttributeError: module 'torch.backends' has no attribute 'mps'
obraz_2023-08-17_170643547

Originally created by @InfinityPotato on GitHub (Aug 17, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1040 Running with the runtime Python, Please wait. Traceback (most recent call last): File "C:\RVC-GUI-pkg\rvcgui.py", line 39, in <module> config = Config() File "C:\RVC-GUI-pkg\config.py", line 28, in __init__ self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config() File "C:\RVC-GUI-pkg\config.py", line 96, in device_config elif torch.backends.mps.is_available(): AttributeError: module 'torch.backends' has no attribute 'mps' ![obraz_2023-08-17_170643547](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/87308033/4b25c19d-185d-4996-8069-7f39c595643d)
Author
Owner

@RVC-Boss commented on GitHub (Aug 19, 2023):

you need update pytorch version

<!-- gh-comment-id:1684910255 --> @RVC-Boss commented on GitHub (Aug 19, 2023): you need update pytorch version
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#680
No description provided.