[compile] Enable AOT compile with 2.10 in trunk. (#34155)

Signed-off-by: Zhengxu Chen <zhxchen17@meta.com>
This commit is contained in:
Zhengxu Chen
2026-02-10 10:24:42 -05:00
committed by GitHub
parent b129136c7a
commit 82e11973cc

View File

@@ -271,7 +271,7 @@ def use_aot_compile() -> bool:
default_value = ( default_value = (
"1" "1"
if is_torch_equal_or_newer("2.11.0.dev") and not disable_compile_cache() if is_torch_equal_or_newer("2.10.0") and not disable_compile_cache()
else "0" else "0"
) )