parse_torch_compile_configs

parse_torch_compile_configs#

ptyrad.reconstruction.parse_torch_compile_configs(configs)[source]#

Convert user-facing CompilerConfigs to dict suitable for torch.compile

Note

The params.yaml defines as ‘enable’: bool = False, while torch.compile takes only ‘disable’: bool, so a conversion is needed.