华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
get_env.sh > env.txt
msprof op simulator
OPPROF_xxxxxx
(base) HwHiAiUser@davinci-mini:~/study/Softplus/SoftplusCustom/build_out$ msprof op simulator ./custom_opp_ubuntu_aarch64.run 2026-03-22 22:18:15 [INFO] Op profiling analysis start. 2026-03-22 22:18:15 [INFO] Running simulation task: Binary Simulation Running, use simulator in LD_LIBRARY_PATH Verifying archive integrity... 100% SHA256 checksums are OK. All good. Uncompressing version:1.0 100% [ops_custom] [2026-03-22 22:18:23] [INFO] copy uninstall sh success [ops_custom] [2026-03-22 22:18:24] [INFO] upgrade framework tensorflow [ops_custom] [2026-03-22 22:18:24] [INFO] replace or merge old ops framework files .g..... [ops_custom] [2026-03-22 22:18:24] copy new ops framework files ...... [ops_custom] [2026-03-22 22:18:25] [INFO] upgrade op proto inc lib [ops_custom] [2026-03-22 22:18:25] [INFO] replace or merge old ops op_proto files .g..... [ops_custom] [2026-03-22 22:18:26] copy new ops op_proto files ...... [ops_custom] [2026-03-22 22:18:26] [INFO] upgrade op impl ai_core [ops_custom] [2026-03-22 22:18:27] [INFO] replace or merge old ops op_impl files .g..... [ops_custom] [2026-03-22 22:18:27] copy new ops op_impl files ...... [ops_custom] [2026-03-22 22:18:27] [INFO] upgrade op api include lib [ops_custom] [2026-03-22 22:18:28] [INFO] replace or merge old ops op_api files .g..... [ops_custom] [2026-03-22 22:18:28] copy new ops op_api files ...... [ops_custom] [2026-03-22 22:18:29] [INFO] upgrade version.info [ops_custom] [2026-03-22 22:18:29] copy new version.info files ...... [ops_custom] [2026-03-22 22:18:29] [INFO] no need to upgrade custom.proto files [ops_custom] [2026-03-22 22:18:30] [INFO] using requirements: when custom module install finished or before you run the custom module, execute the command [ export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/opp/vendors/customize/op_api/lib/:${LD_LIBRARY_PATH} ] to set the environment path SUCCESS 2026-03-22 22:18:32 [INFO] Profiling running finished. All task success. 2026-03-22 22:18:32 [INFO] Start parse dump file 2026-03-22 22:18:32 [INFO] Profiling results saved in /home/HwHiAiUser/study/Softplus/SoftplusCustom/build_out/OPPROF_20260322221815_OVRGTAKWFKLYOUIF 2026-03-22 22:18:32 [INFO] Profiling data parse finished. 2026-03-22 22:18:32 [INFO] Op profiling finish. Welcome to next use.
(base) HwHiAiUser@davinci-mini:~/study/Softplus/SoftplusCustom/build_out/OPPROF_20260322221815_OVRGTAKWFKLYOUIF$ tree -L 3 . └── device0 1 directory, 0 files
LD_LIBRARY_PATH
(base) HwHiAiUser@davinci-mini:~/study/Softplus/SoftplusCustom/build_out$ echo $LD_LIBRARY_PATH /usr/local/Ascend/ascend-toolkit/latest/tools/simulator/Ascend310B4/lib:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64/plugin:/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/opskernel:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/nnengine:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64:/var/davinci/driver/lib64:/var/davinci/driver/lib64/common:/var/davinci/driver/lib64/driver:/home/HwHiAiUser/Ascend/acllib/lib64
我在ModelArts上进行相同的操作得到的也是空文件,ModelArts的环境为:
实例规格:1 * ascend-snt9b1 | 24 vCPUs | 192 GiB (modelarts.bm.npu.arm.1snt9b1)
镜像:mindspore_ascend:mindspore_2.7.1-cann_8.3.rc1-py_3.11-euler_2.10.11-aarch64-snt9b-20251205162951-b29ea96
我要发帖子
环境
get_env.sh > env.txt添加到附件。问题描述
msprof op simulatormsprof op simulator得到的OPPROF_xxxxxx文件为空,运行过程中没有报错:(base) HwHiAiUser@davinci-mini:~/study/Softplus/SoftplusCustom/build_out$ msprof op simulator ./custom_opp_ubuntu_aarch64.run 2026-03-22 22:18:15 [INFO] Op profiling analysis start. 2026-03-22 22:18:15 [INFO] Running simulation task: Binary Simulation Running, use simulator in LD_LIBRARY_PATH Verifying archive integrity... 100% SHA256 checksums are OK. All good. Uncompressing version:1.0 100% [ops_custom] [2026-03-22 22:18:23] [INFO] copy uninstall sh success [ops_custom] [2026-03-22 22:18:24] [INFO] upgrade framework tensorflow [ops_custom] [2026-03-22 22:18:24] [INFO] replace or merge old ops framework files .g..... [ops_custom] [2026-03-22 22:18:24] copy new ops framework files ...... [ops_custom] [2026-03-22 22:18:25] [INFO] upgrade op proto inc lib [ops_custom] [2026-03-22 22:18:25] [INFO] replace or merge old ops op_proto files .g..... [ops_custom] [2026-03-22 22:18:26] copy new ops op_proto files ...... [ops_custom] [2026-03-22 22:18:26] [INFO] upgrade op impl ai_core [ops_custom] [2026-03-22 22:18:27] [INFO] replace or merge old ops op_impl files .g..... [ops_custom] [2026-03-22 22:18:27] copy new ops op_impl files ...... [ops_custom] [2026-03-22 22:18:27] [INFO] upgrade op api include lib [ops_custom] [2026-03-22 22:18:28] [INFO] replace or merge old ops op_api files .g..... [ops_custom] [2026-03-22 22:18:28] copy new ops op_api files ...... [ops_custom] [2026-03-22 22:18:29] [INFO] upgrade version.info [ops_custom] [2026-03-22 22:18:29] copy new version.info files ...... [ops_custom] [2026-03-22 22:18:29] [INFO] no need to upgrade custom.proto files [ops_custom] [2026-03-22 22:18:30] [INFO] using requirements: when custom module install finished or before you run the custom module, execute the command [ export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/opp/vendors/customize/op_api/lib/:${LD_LIBRARY_PATH} ] to set the environment path SUCCESS 2026-03-22 22:18:32 [INFO] Profiling running finished. All task success. 2026-03-22 22:18:32 [INFO] Start parse dump file 2026-03-22 22:18:32 [INFO] Profiling results saved in /home/HwHiAiUser/study/Softplus/SoftplusCustom/build_out/OPPROF_20260322221815_OVRGTAKWFKLYOUIF 2026-03-22 22:18:32 [INFO] Profiling data parse finished. 2026-03-22 22:18:32 [INFO] Op profiling finish. Welcome to next use.LD_LIBRARY_PATH的路径为:我在ModelArts上进行相同的操作得到的也是空文件,ModelArts的环境为: