From ad17edfa8d3e8bbc1fff11e937394728e6e8053b Mon Sep 17 00:00:00 2001 From: shaoshengqi Date: Fri, 21 Nov 2025 10:28:35 +0800 Subject: [PATCH] [pijit] pijit currently does not support Python3.12+ --- tutorials/source_en/compile/static_graph.md | 2 ++ tutorials/source_zh_cn/compile/static_graph.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tutorials/source_en/compile/static_graph.md b/tutorials/source_en/compile/static_graph.md index 326255398d..d4e78836e4 100644 --- a/tutorials/source_en/compile/static_graph.md +++ b/tutorials/source_en/compile/static_graph.md @@ -2438,3 +2438,5 @@ ret: 3 In the above example, m is a variable, so the entire for loop control flow cannot be included in the graph and needs to be executed in dynamic graph mode. + +4. When constructing graphs based on bytecode, Python 3.12 and higher versions are currently not supported. diff --git a/tutorials/source_zh_cn/compile/static_graph.md b/tutorials/source_zh_cn/compile/static_graph.md index 8891051441..dcbd9a8ef7 100644 --- a/tutorials/source_zh_cn/compile/static_graph.md +++ b/tutorials/source_zh_cn/compile/static_graph.md @@ -2259,3 +2259,5 @@ ret: 3 ``` 上述用例中,m为变量,因此整个for循环控制流无法入图,需要按照动态图的方式运行。 + +4. 基于字节码构图时,暂不支持 Python 3.12 及更高版本。 -- Gitee