Apply Code Formatter Change
This commit is contained in:
committed by
github-actions[bot]
parent
57b408e8df
commit
c80621c7ae
@@ -32,10 +32,12 @@ from losses import generator_loss, discriminator_loss, feature_loss, kl_loss
|
||||
from mel_processing import mel_spectrogram_torch, spec_to_mel_torch
|
||||
from text.symbols import symbols
|
||||
|
||||
os.environ['NCCL_P2P_DISABLE'] = 1 # Avoid training problem.
|
||||
os.environ["NCCL_P2P_DISABLE"] = 1 # Avoid training problem.
|
||||
torch.backends.cuda.matmul.allow_tf32 = True
|
||||
torch.backends.cudnn.allow_tf32 = True # If encontered training problem,please try to disable TF32.
|
||||
torch.set_float32_matmul_precision('medium')
|
||||
torch.backends.cudnn.allow_tf32 = (
|
||||
True # If encontered training problem,please try to disable TF32.
|
||||
)
|
||||
torch.set_float32_matmul_precision("medium")
|
||||
torch.backends.cudnn.benchmark = True
|
||||
torch.backends.cuda.sdp_kernel("flash")
|
||||
torch.backends.cuda.enable_flash_sdp(True)
|
||||
|
||||
Reference in New Issue
Block a user