def enable_cuda_lto() -> bool:
    """
    nvcc will use LTO flags during compilation
    Default value is "0".
    """
    return os.getenv("AIT_ENABLE_CUDA_LTO", "0") == "1"
nvcc will use LTO flags during compilation
Default value is "0".
python/aitemplate/utils/environ.py