From a5b403e459e096ace1bc9c6410b1608d3aad11a5 Mon Sep 17 00:00:00 2001 From: pengzirong Date: Thu, 14 Apr 2022 11:51:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?LSTMCELL=E7=AE=97=E5=AD=90=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=9C=BA=E6=99=AF=EF=BC=8CAOE=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...orch API\346\224\257\346\214\201\346\270\205\345\215\225.md" | 2 +- ...244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git "a/docs/zh/PyTorch API\346\224\257\346\214\201\346\270\205\345\215\225.md" "b/docs/zh/PyTorch API\346\224\257\346\214\201\346\270\205\345\215\225.md" index a84477bb96..fa467161ff 100644 --- "a/docs/zh/PyTorch API\346\224\257\346\214\201\346\270\205\345\215\225.md" +++ "b/docs/zh/PyTorch API\346\224\257\346\214\201\346\270\205\345\215\225.md" @@ -924,7 +924,7 @@ | 146 | torch.nn.LSTM | 是 | | 147 | torch.nn.GRU | 是,DynamicGRUV2场景暂不支持 | | 148 | torch.nn.RNNCell | 是 | -| 149 | torch.nn.LSTMCell | 是 | +| 149 | torch.nn.LSTMCell | 是,非16对齐场景暂不支持 | | 150 | torch.nn.GRUCell | 是 | | 151 | torch.nn.Transformer | 是 | | 152 | torch.nn.Transformer.forward | 是 | diff --git "a/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" "b/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" index 206e945027..20103fa757 100644 --- "a/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" +++ "b/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" @@ -2031,6 +2031,7 @@ with torch.npu.profile(profiler_result_path="./results", use_e2e_profiler=True, 1. 目前仅支持静态算子,动态算子暂不支持。 2. dump算子信息时,目前无法对算子信息去重,且仅需执行一个step,否则会导致调优时间过长。 3. 建议使用1P脚本进行dump图,多P会存在dump覆盖的问题。 +4. 使用前需关闭profiling工具,否则会影响模型性能。 #### 性能验证 -- Gitee From feca8477c881dc49a092294e9d0dab4c602b17c7 Mon Sep 17 00:00:00 2001 From: pengzirong Date: Fri, 15 Apr 2022 09:23:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" "b/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" index 20103fa757..63a8e559b6 100644 --- "a/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" +++ "b/docs/zh/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227/PyTorch\347\275\221\347\273\234\346\250\241\345\236\213\347\247\273\346\244\215&\350\256\255\347\273\203\346\214\207\345\215\227.md" @@ -2024,7 +2024,7 @@ with torch.npu.profile(profiler_result_path="./results", use_e2e_profiler=True, - 调优结果: - 调优完成后,结果会保存在TUNE_BANK_PATH环境变量中指定的//目录,若不设置则默认保存在/{HOME}/ascend/latest/data/aoe/custom/op/目录下;root用户则保存在/root/ascend/latest/data/aoe/custom/op/。soc_version表示芯片类型,如Ascend910A。 + 调优完成后,结果会保存在TUNE_BANK_PATH环境变量中指定的//目录,若不设置则默认保存在/{HOME}/Ascend/latest/data/aoe/custom/op/目录下;root用户则保存在/root/Ascend/latest/data/aoe/custom/op/。soc_version表示芯片类型,如Ascend910A。 #### 注意事项 -- Gitee