mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-06 17:50:25 +08:00
chore(format): run black on dev (#144)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f9ae0b5d32
commit
a3a69e8bd5
@@ -32,7 +32,7 @@ try:
|
||||
except Exception:
|
||||
pass
|
||||
finally:
|
||||
if not ('GradScaler' in globals() and 'autocast' in globals()):
|
||||
if not ("GradScaler" in globals() and "autocast" in globals()):
|
||||
from torch.amp.grad_scaler import GradScaler
|
||||
from torch.amp.autocast_mode import autocast
|
||||
|
||||
|
||||
Reference in New Issue
Block a user