mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-09 04:29:50 +08:00
chore(format): run black on dev (#125)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
033306439c
commit
51170b24c4
@@ -155,7 +155,10 @@ class Config(metaclass=Singleton):
|
|||||||
mem.append(
|
mem.append(
|
||||||
int(
|
int(
|
||||||
torch.cuda.get_device_properties(i).total_memory
|
torch.cuda.get_device_properties(i).total_memory
|
||||||
/ 1024 / 1024 / 1024 + 0.4
|
/ 1024
|
||||||
|
/ 1024
|
||||||
|
/ 1024
|
||||||
|
+ 0.4
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if if_gpu_ok:
|
if if_gpu_ok:
|
||||||
|
|||||||
Reference in New Issue
Block a user