File size: 194 Bytes
627d3d7
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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")