Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
lenML
/
ChatTTS-Forge
like
193
Running
on
Zero
App
Files
Files
Community
1
1df74c6
ChatTTS-Forge
/
modules
/
utils
/
torch_opt.py
zhzluke96
update
627d3d7
5 months ago
raw
Copy download link
history
blame
Safe
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"
)