From 92ce0df9a0ae8209d90ea4025325ac66485ea62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=A4=A9?= Date: Tue, 4 Jul 2023 11:56:05 +0000 Subject: [PATCH] =?UTF-8?q?update=20ptdbg=5Fascend/doc/rank=5Fid=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=96=B9=E6=B3=95.md.=20=E4=BF=AE=E5=A4=8Dtypo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李天 --- .../rank_id\350\216\267\345\217\226\346\226\271\346\263\225.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/ptdbg_ascend/doc/rank_id\350\216\267\345\217\226\346\226\271\346\263\225.md" "b/ptdbg_ascend/doc/rank_id\350\216\267\345\217\226\346\226\271\346\263\225.md" index f084d990..0c5c45ae 100644 --- "a/ptdbg_ascend/doc/rank_id\350\216\267\345\217\226\346\226\271\346\263\225.md" +++ "b/ptdbg_ascend/doc/rank_id\350\216\267\345\217\226\346\226\271\346\263\225.md" @@ -26,7 +26,7 @@ Local rank is: 7 那么将该环境变量作为rank传参即可自动获取到rank_id,如: ```python -register_hook(model, acc_cmp_dump, rank=os.environ.get('LOCAL_RANK') +register_hook(model, acc_cmp_dump, rank=os.environ.get('LOCAL_RANK')) ``` ## **通过命令行参数获取** -- Gitee