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