diff --git a/docs/mindspore/source_zh_cn/model_train/program_form/static_graph_syntax/static_graph_expert_programming.ipynb b/docs/mindspore/source_zh_cn/model_train/program_form/static_graph_syntax/static_graph_expert_programming.ipynb index 8705b26b78af4853a2ec2ad6fdd8fe82c206f132..9610fa488efe6a5499b6d086d2a8814c32c0717b 100644 --- a/docs/mindspore/source_zh_cn/model_train/program_form/static_graph_syntax/static_graph_expert_programming.ipynb +++ b/docs/mindspore/source_zh_cn/model_train/program_form/static_graph_syntax/static_graph_expert_programming.ipynb @@ -377,6 +377,20 @@ "```text\n", "Enable comile_cache cost time: 0.6357541084289551\n", "Enable comile_cache cost time: 0.09379792213439941\n", + "```\n", + "\n", + "可以看到,开启编译缓存时,第2次执行样例耗时只有第一次执行耗时的1/7左右。\n", + "\n", + "说明:打开编译缓存功能时,第一次执行由于暂未生成缓存,所以会有 Warning:" + ] + }, + { + "cell_type": "markdown", + "id": "0d79d7bb", + "metadata": {}, + "source": [ + "```text\n", + "Warning: Check the consistency of dependency files hash failed. Execute all the compilation actions.\n", "```" ] }, @@ -385,8 +399,6 @@ "id": "b5655959", "metadata": {}, "source": [ - "可以看到,开启编译缓存时,第2次执行样例耗时只有第一次执行耗时的1/7左右。\n", - "\n", "## 如何优化执行性能\n", "\n", "### 使用jit_class\n",