已关闭
[Bug-Report|缺陷反馈]: 图模式的样例均无法执行成功 #226
hid59163194创建于  2025年12月11日关闭于  2025年12月19日
hid59163194
2025年12月11日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

编译安装算子之后,执行算子examples下的样例,当该样例为图模式样例(用例文件名test_geir*。cpp)时,
全部报错[XIR]: Run graph failed

Environment / 环境信息 (Mandatory / 必填)

硬件型号: 910B3
驱动版本: npu-smi 25.0.rc1
CANN版本 8.5.0.alpha001/

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

设置环境
source /usr/local/Ascend/set_env.sh

编译算子
bash build.sh --pkg --soc=ascend910b --ops=add_rms_norm_dynamic_quant_v2
安装算子
bash build_out/cann-ops-nn-custom-linux.aarch64.run

执行样例
bash build.sh --run_example add_rms_norm_dynamic_quant_v2 graph

报错信息

Describe the expected behavior / 预期结果 (Mandatory / 必填)

result[0]=***
result[1]=***

image.png
Start to run example,op_name:dua_quantize_add_layer_norm example_name:dua_quantize_add_layer_norm mode:graph.
2025-12-11 15:45:13,000 - INFO - [XIR]: Start to initialize ge using ge global options
2025-12-11 15:45:25,000 - INFO - [XIR]: Initialize ge using ge global options success
2025-12-11 15:45:25,000 - INFO - [XIR]: Start to create ir session using build options
2025-12-11 15:45:25,000 - INFO - [XIR]: Create ir session using build options success
2025-12-11 15:45:25,000 - INFO - [XIR]: Start to add compute graph to ir session
2025-12-11 15:45:25,000 - INFO - [XIR]: Session add ir compute graph to ir session success
2025-12-11 15:45:25,000 - INFO - [XIR]: dump graph to txt
2025-12-11 15:45:25,000 - INFO - [XIR]: Start to run ir compute graph
2025-12-11 15:45:27,000 - INFO - [XIR]: Run graph failed


Run test_geir_dua_quantize_add_layer_norm failed.

Special notes for this issue/备注 (Optional / 选填)

likedislike
Lliujie12345678成员
2025年12月11日 将 liujie12345678 设为负责人
胡一航成员
2025年12月11日 评论:

感谢反馈,已安排专人处理。

likedislike
Lliujie12345678成员
2025年12月19日 关联了pull request:fix examples and geir
CANN-robotCANN-robot成员
2025年12月19日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved