name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
使用动态shape网络dynamic_shape_with_heterogeneity.py,使用pynative模式收集profiler信息,没有unique与reshape的算子信息;graph模式可以收集到
Ascend
/GPU
/CPU
) / 硬件环境:Please delete the backend not involved / 请删除不涉及的后端:
/device ascend
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) :MS-2.1.0-0801
commit_id = '[sha1]:3d9e2674,[branch]:(HEAD,origin/r2.0,r2.0)'
-- Python version (e.g., Python 3.7.5) :py375
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu
-- GCC/Compiler version (if compiled from source):
Linux version 3.10.0-862.14.1.5.h442.eulerosv2r7.x86_64 (abuild@szxrtosci10000) (gcc version 4.8.5 20150623 (EulerOS 4.8.5-28) (GCC) ) #1 SMP Fri May 15 22:01:58 UTC 2020
Excute Mode / 执行模式 (Mandatory / 必填)(PyNative
/Graph
):
Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
test_profiler_dynamic_shape_with_heterogeneity_ascend
test_script_dynamic_shape_with_heterogeneity_ascend
pynative可以收集到unique与reshape算子信息
pynative:op_type total_time execution_frequency percent
add 0.00279 1 1
graph:op_type total_time execution_frequency percent
add 0.00294 1 0.004442
Reshape 0.25927 1 0.391759
Unique 0.3996 1 0.603799
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
感谢您的反馈,您可以评论//mindspore-assistant更快获取帮助,更多标签可以查看标签列表:
pynative模式下 unique和reshape 会被优化执行memcpy,此时算子不会被下发到kernel, 所以为正常现象
登录 后才可以发表评论