ChatTTS-Forge / modules /utils /torch_opt.py
zhzluke96
update
627d3d7
raw
history blame
194 Bytes
import torch
def configure_torch_optimizations():
torch._dynamo.config.cache_size_limit = 64
torch._dynamo.config.suppress_errors = True
torch.set_float32_matmul_precision("high")