登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
57
Star
569
Fork
1.4K
Ascend
/
ModelZoo-PyTorch
代码
Issues
498
Pull Requests
198
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
SenseVoice-ONNX在昇腾Ascend910B4-1显卡推理报错
TODO
#ID0BKY
缺陷
熊先森
创建于
2025-09-28 11:13
一、问题现象(附报错日志上下文): xxxx 二、软件版本: -- CANN 版本:910b_8.2.RC1 --Mindie镜像 版本: mindie:2.1.RC2-800I-A3-py311-openeuler24.03-lts --Python 版本 (e.g., Python 3.11.6): --操作系统版本 (e.g., openEuler 24.03 (LTS)): 三、测试步骤: 根据文档的执行步骤到:python3 infer_onnx.py --model_path=SenseVoiceSmall --om_path=SenseVoice_linux_aarch64.om --device=0 --input="./SenseVoiceSmall/example/zh.mp3" --perform=True --loop=20 当前目录下面的文件如下: 四、日志信息: [root@gxai-infer-3 SenseVoice]# python3 infer_onnx.py --model_path=SenseVoiceSmall --om_path=SenseVoice_linux_aarch64.om --device=0 --input="./SenseVoiceSmall/example/zh.mp3" --perform=True --loop=20 /usr/local/lib64/python3.11/site-packages/torch_npu/contrib/transfer_to_npu.py:301: ImportWarning: ************************************************************************************************************* The torch.Tensor.cuda and torch.nn.Module.cuda are replaced with torch.Tensor.npu and torch.nn.Module.npu now.. The torch.cuda.DoubleTensor is replaced with torch.npu.FloatTensor cause the double type is not supported now.. The backend in torch.distributed.init_process_group set to hccl now.. The torch.cuda.* and torch.cuda.amp.* are replaced with torch.npu.* and torch.npu.amp.* now.. The device parameters have been replaced with npu in the function below: torch.logspace, torch.randint, torch.hann_window, torch.rand, torch.full_like, torch.ones_like, torch.rand_like, torch.randperm, torch.arange, torch.frombuffer, torch.normal, torch._empty_per_channel_affine_quantized, torch.empty_strided, torch.empty_like, torch.scalar_tensor, torch.tril_indices, torch.bartlett_window, torch.ones, torch.sparse_coo_tensor, torch.randn, torch.kaiser_window, torch.tensor, torch.triu_indices, torch.as_tensor, torch.zeros, torch.randint_like, torch.full, torch.eye, torch._sparse_csr_tensor_unsafe, torch.empty, torch._sparse_coo_tensor_unsafe, torch.blackman_window, torch.zeros_like, torch.range, torch.sparse_csr_tensor, torch.randn_like, torch.from_file, torch._cudnn_init_dropout_state, torch._empty_affine_quantized, torch.linspace, torch.hamming_window, torch.empty_quantized, torch._pin_memory, torch.autocast, torch.load, torch.Generator, torch.set_default_device, torch.Tensor.new_empty, torch.Tensor.new_empty_strided, torch.Tensor.new_full, torch.Tensor.new_ones, torch.Tensor.new_tensor, torch.Tensor.new_zeros, torch.Tensor.to, torch.nn.Module.to, torch.nn.Module.to_empty ************************************************************************************************************* warnings.warn(msg, ImportWarning) /usr/local/lib64/python3.11/site-packages/torch_npu/contrib/transfer_to_npu.py:260: RuntimeWarning: torch.jit.script and torch.jit.script_method will be disabled by transfer_to_npu, which currently does not support them, if you need to enable them, please do not use transfer_to_npu. warnings.warn(msg, RuntimeWarning) /usr/local/lib/python3.11/site-packages/pydub/utils.py:14: DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13 import audioop [INFO] download models from model hub: ms [WARNING] trust_remote_code: True Loading remote code successfully: model [INFO] Loading pretrained params from SenseVoiceSmall/model.pt [INFO] ckpt: SenseVoiceSmall/model.pt [INFO] scope_map: ['module.', 'None'] [INFO] excludes: None [INFO] Loading ckpt: SenseVoiceSmall/model.pt, status: <All keys matched successfully> [WARN] acl repeat initialize [INFO] acl init success [INFO] open device 0 success [INFO] get current context [INFO] load model SenseVoice_linux_aarch64.om success [INFO] create model description success [ACL ERROR] EZ9999: Inner Error! EZ9999: [PID: 65596] 2025-09-28-11:05:15.541.984 Parse dynamic kernel config fail. TraceBack (most recent call last): AclOpKernelInit failed opType ConcatD ADD_TO_LAUNCHER_LIST_AICORE failed. call aclnnCat failed:[FUNC:ConcatExecuteFuncD][FILE:fallback_concat.cpp][LINE:57] api_ret faild:-1[FUNC:ConcatExecuteFuncD][FILE:fallback_concat.cpp][LINE:59] Assert ((op_execute_func(op_execute_context)) == ge::SUCCESS) failed[FUNC:ExecuteOpFunc][FILE:aclnn_op_execute_kernel.cc][LINE:47] [Exec][Model]Execute model failed, ge result[1343225857], modelId[2147483648][FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] [Exec][Model]modelId[2147483648] execute failed, result[500002][FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] [ERROR] execute model failed, modelId is 2147483648 [ERROR] acl execute failed:1 [ERROR] execute Infer failed ret:-1 Traceback (most recent call last): File "/workspace/ModelZoo-PyTorch/ACL_PyTorch/built-in/audio/SenseVoice/SenseVoice/infer_onnx.py", line 115, in <module> res, _ = m.infer_onnx( ^^^^^^^^^^^^^ File "/workspace/ModelZoo-PyTorch/ACL_PyTorch/built-in/audio/SenseVoice/SenseVoice/infer_onnx.py", line 72, in infer_onnx ctc_logits, encoder_out_lens = om_sess.infer(feed, mode='dymshape', custom_sizes=10000000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ais_bench/infer/interface.py", line 247, in infer return self.run(inputs, out_array) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ais_bench/infer/interface.py", line 184, in run outputs = self.session.run(self.outputs_names, inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: [-1][ACL: general failure] [ERROR] 2025-09-28-11:05:16 (PID:65596, Device:0, RankID:-1) ERR99999 UNKNOWN application exception [INFO] unload model success, model Id is 2147483648 [WARN] acl repeat destroy
一、问题现象(附报错日志上下文): xxxx 二、软件版本: -- CANN 版本:910b_8.2.RC1 --Mindie镜像 版本: mindie:2.1.RC2-800I-A3-py311-openeuler24.03-lts --Python 版本 (e.g., Python 3.11.6): --操作系统版本 (e.g., openEuler 24.03 (LTS)): 三、测试步骤: 根据文档的执行步骤到:python3 infer_onnx.py --model_path=SenseVoiceSmall --om_path=SenseVoice_linux_aarch64.om --device=0 --input="./SenseVoiceSmall/example/zh.mp3" --perform=True --loop=20 当前目录下面的文件如下: 四、日志信息: [root@gxai-infer-3 SenseVoice]# python3 infer_onnx.py --model_path=SenseVoiceSmall --om_path=SenseVoice_linux_aarch64.om --device=0 --input="./SenseVoiceSmall/example/zh.mp3" --perform=True --loop=20 /usr/local/lib64/python3.11/site-packages/torch_npu/contrib/transfer_to_npu.py:301: ImportWarning: ************************************************************************************************************* The torch.Tensor.cuda and torch.nn.Module.cuda are replaced with torch.Tensor.npu and torch.nn.Module.npu now.. The torch.cuda.DoubleTensor is replaced with torch.npu.FloatTensor cause the double type is not supported now.. The backend in torch.distributed.init_process_group set to hccl now.. The torch.cuda.* and torch.cuda.amp.* are replaced with torch.npu.* and torch.npu.amp.* now.. The device parameters have been replaced with npu in the function below: torch.logspace, torch.randint, torch.hann_window, torch.rand, torch.full_like, torch.ones_like, torch.rand_like, torch.randperm, torch.arange, torch.frombuffer, torch.normal, torch._empty_per_channel_affine_quantized, torch.empty_strided, torch.empty_like, torch.scalar_tensor, torch.tril_indices, torch.bartlett_window, torch.ones, torch.sparse_coo_tensor, torch.randn, torch.kaiser_window, torch.tensor, torch.triu_indices, torch.as_tensor, torch.zeros, torch.randint_like, torch.full, torch.eye, torch._sparse_csr_tensor_unsafe, torch.empty, torch._sparse_coo_tensor_unsafe, torch.blackman_window, torch.zeros_like, torch.range, torch.sparse_csr_tensor, torch.randn_like, torch.from_file, torch._cudnn_init_dropout_state, torch._empty_affine_quantized, torch.linspace, torch.hamming_window, torch.empty_quantized, torch._pin_memory, torch.autocast, torch.load, torch.Generator, torch.set_default_device, torch.Tensor.new_empty, torch.Tensor.new_empty_strided, torch.Tensor.new_full, torch.Tensor.new_ones, torch.Tensor.new_tensor, torch.Tensor.new_zeros, torch.Tensor.to, torch.nn.Module.to, torch.nn.Module.to_empty ************************************************************************************************************* warnings.warn(msg, ImportWarning) /usr/local/lib64/python3.11/site-packages/torch_npu/contrib/transfer_to_npu.py:260: RuntimeWarning: torch.jit.script and torch.jit.script_method will be disabled by transfer_to_npu, which currently does not support them, if you need to enable them, please do not use transfer_to_npu. warnings.warn(msg, RuntimeWarning) /usr/local/lib/python3.11/site-packages/pydub/utils.py:14: DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13 import audioop [INFO] download models from model hub: ms [WARNING] trust_remote_code: True Loading remote code successfully: model [INFO] Loading pretrained params from SenseVoiceSmall/model.pt [INFO] ckpt: SenseVoiceSmall/model.pt [INFO] scope_map: ['module.', 'None'] [INFO] excludes: None [INFO] Loading ckpt: SenseVoiceSmall/model.pt, status: <All keys matched successfully> [WARN] acl repeat initialize [INFO] acl init success [INFO] open device 0 success [INFO] get current context [INFO] load model SenseVoice_linux_aarch64.om success [INFO] create model description success [ACL ERROR] EZ9999: Inner Error! EZ9999: [PID: 65596] 2025-09-28-11:05:15.541.984 Parse dynamic kernel config fail. TraceBack (most recent call last): AclOpKernelInit failed opType ConcatD ADD_TO_LAUNCHER_LIST_AICORE failed. call aclnnCat failed:[FUNC:ConcatExecuteFuncD][FILE:fallback_concat.cpp][LINE:57] api_ret faild:-1[FUNC:ConcatExecuteFuncD][FILE:fallback_concat.cpp][LINE:59] Assert ((op_execute_func(op_execute_context)) == ge::SUCCESS) failed[FUNC:ExecuteOpFunc][FILE:aclnn_op_execute_kernel.cc][LINE:47] [Exec][Model]Execute model failed, ge result[1343225857], modelId[2147483648][FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] [Exec][Model]modelId[2147483648] execute failed, result[500002][FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] [ERROR] execute model failed, modelId is 2147483648 [ERROR] acl execute failed:1 [ERROR] execute Infer failed ret:-1 Traceback (most recent call last): File "/workspace/ModelZoo-PyTorch/ACL_PyTorch/built-in/audio/SenseVoice/SenseVoice/infer_onnx.py", line 115, in <module> res, _ = m.infer_onnx( ^^^^^^^^^^^^^ File "/workspace/ModelZoo-PyTorch/ACL_PyTorch/built-in/audio/SenseVoice/SenseVoice/infer_onnx.py", line 72, in infer_onnx ctc_logits, encoder_out_lens = om_sess.infer(feed, mode='dymshape', custom_sizes=10000000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ais_bench/infer/interface.py", line 247, in infer return self.run(inputs, out_array) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ais_bench/infer/interface.py", line 184, in run outputs = self.session.run(self.outputs_names, inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: [-1][ACL: general failure] [ERROR] 2025-09-28-11:05:16 (PID:65596, Device:0, RankID:-1) ERR99999 UNKNOWN application exception [INFO] unload model success, model Id is 2147483648 [WARN] acl repeat destroy
评论 (
0
)
登录
后才可以发表评论
状态
TODO
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
ci-pipeline
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
Python
1
https://gitee.com/ascend/ModelZoo-PyTorch.git
git@gitee.com:ascend/ModelZoo-PyTorch.git
ascend
ModelZoo-PyTorch
ModelZoo-PyTorch
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册