From 4c02aac73117f196c6ef8940f8f2897b05583d83 Mon Sep 17 00:00:00 2001 From: WeibiaoYu Date: Fri, 15 May 2020 02:29:50 -0400 Subject: [PATCH] fix bug of format error of the file guide of checkpoint for hybrid parallel --- .../advanced_use/checkpoint_for_hybrid_parallel.md | 5 +++-- tutorials/source_zh_cn/index.rst | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tutorials/source_zh_cn/advanced_use/checkpoint_for_hybrid_parallel.md b/tutorials/source_zh_cn/advanced_use/checkpoint_for_hybrid_parallel.md index 3a174e6ee1..b70c466575 100644 --- a/tutorials/source_zh_cn/advanced_use/checkpoint_for_hybrid_parallel.md +++ b/tutorials/source_zh_cn/advanced_use/checkpoint_for_hybrid_parallel.md @@ -248,10 +248,11 @@ param_dict = load_checkpoint("./CKP-Integrated_1-4_32.ckpt") ### 步骤2:对模型并行参数做切分处理 下面以一个具体的模型参数为例,参数名称为“model_parallel_weight", 数据值为Tensor [[1, 2, 3, 4], [5, 6, 7, 8]],切分逻辑为2卡场景,按[2, 1]切分。 -​切分后数据分布情况如下: +切分后数据分布情况如下: + | Device0 | Device1 | | ------------------- | -------------------- | -| Value [1, 2, 3, 4] | Value [5, 6, 7, 8] | +| Value [1, 2, 3, 4] | Value [5, 6, 7, 8] | 1. 对模型参数数据做切分。 diff --git a/tutorials/source_zh_cn/index.rst b/tutorials/source_zh_cn/index.rst index 3f947e35f4..50fd39c66a 100644 --- a/tutorials/source_zh_cn/index.rst +++ b/tutorials/source_zh_cn/index.rst @@ -30,7 +30,6 @@ MindSpore教程 advanced_use/visualization_tutorials advanced_use/mixed_precision advanced_use/distributed_training - advanced_use/checkpoint_for_hybrid_parallel advanced_use/computer_vision_application advanced_use/nlp_application advanced_use/customized_debugging_information @@ -38,5 +37,6 @@ MindSpore教程 advanced_use/on_device_inference advanced_use/model_security advanced_use/network_migration + advanced_use/checkpoint_for_hybrid_parallel advanced_use/mindspore_cpu_win_install advanced_use/community -- Gitee