Skip to content

Commit 163ee6b

Browse files
authored
[SOT][3.13] Temporary disable SOT in Python 3.13 (#69887)
1 parent 29b048b commit 163ee6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/paddle/jit/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ def decorated(python_func):
292292
flag = ENV_ENABLE_SOT.get()
293293
full_graph = not flag
294294

295-
if sys.version_info >= (3, 14) and not full_graph:
295+
if sys.version_info >= (3, 13) and not full_graph:
296296
warnings.warn(
297-
"full_graph=False is not supported in Python 3.14+. Set full_graph=True automatically"
297+
"full_graph=False is not supported in Python 3.13+. Set full_graph=True automatically"
298298
)
299299
full_graph = True
300300

0 commit comments

Comments
 (0)