下载
中文
注册
使用msProf工具做算子仿真调优时报错161001

使用msProf工具做算子仿真调优时报错161001

2026/02/05

47

暂无评分
我要评分

问题信息

问题来源产品大类关键字
社区工单算子开发msProf、算子仿真调优、161001

问题现象描述

使用msProf工具的msprof op simulator功能进行算子仿真调优,以基于可执行文件方式执行命令时,报错提示“aclnnSqrtGetWorkspaceSize failed. ERROR: 161001”,并且子进程以状态码139退出,导致仿真任务失败,无法完成算子调优。

执行命令为:msprof op simulator --soc-version=Ascend910B --output=./output_data ./execute_sqrt_op

原因分析

以基于可执行文件方式使用msprof op simulator开启算子仿真调优时,--soc-version参数需要指定为用户实际使用的芯片型号(如Ascend910B4)。

解决措施

参考如下操作获取具体芯片型号,并指定给--soc-version参数(参考文档):

步骤1、使用 npu-smi info 命令查询具体芯片型号

图1 查询具体芯片型号

步骤2、根据具体芯片型号修改执行命令。

以图1为例,执行命令为:msprof op simulator --soc-version=Ascend910B1 --output=./output_data ./execute_sqrt_op

本页内容