mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
Update config.py
This commit is contained in:
parent
8054281b24
commit
47148851f8
@ -181,11 +181,11 @@ class Config:
|
||||
)
|
||||
except:
|
||||
pass
|
||||
if self.device != "cpu":
|
||||
import torch_directml
|
||||
#if self.device != "cpu":
|
||||
import torch_directml
|
||||
|
||||
self.device = torch_directml.device(torch_directml.default_device())
|
||||
self.is_half = False
|
||||
self.device = torch_directml.device(torch_directml.default_device())
|
||||
self.is_half = False
|
||||
else:
|
||||
if self.instead:
|
||||
print(f"use {self.instead} instead")
|
||||
|
Loading…
Reference in New Issue
Block a user