Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
lenML/ChatTTS-Forge
chenjacky131
/
ChatTTS-Forge
like
0
Sleeping
App
Files
Files
Community
1df74c6
ChatTTS-Forge
/
modules
/
utils
/
torch_opt.py
zhzluke96
update
627d3d7
7 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"
)