diff --git a/tutorials/source_en/compile/static_graph.md b/tutorials/source_en/compile/static_graph.md index 326255398def2452979ea2345b0dd949c6bf29e6..d4e78836e46e4976bc1a37a61645b18f4dbaea40 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 8891051441ea535e679b1d9c37ba8bfcf8e15a48..dcbd9a8ef7132a55c6f6cffe8eb20f6c3db4e166 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 及更高版本。