mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-15 08:19:04 +08:00
Format code (#214)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
71427575c4
commit
951989117b
@ -53,7 +53,7 @@ class Config:
|
|||||||
i_device = int(self.device.split(":")[-1])
|
i_device = int(self.device.split(":")[-1])
|
||||||
self.gpu_name = torch.cuda.get_device_name(i_device)
|
self.gpu_name = torch.cuda.get_device_name(i_device)
|
||||||
if (
|
if (
|
||||||
("16" in gpu_name and "V100"not in gpu_name.upper())
|
("16" in gpu_name and "V100" not in gpu_name.upper())
|
||||||
or "P40" in self.gpu_name.upper()
|
or "P40" in self.gpu_name.upper()
|
||||||
or "1070" in self.gpu_name
|
or "1070" in self.gpu_name
|
||||||
or "1080" in self.gpu_name
|
or "1080" in self.gpu_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user