已关闭
[Bug-Report|缺陷反馈]: build-type=Debug构建算子kernel报错 #924
丛吉钰创建于  2月9日关闭于  2月26日
丛吉钰
丛吉钰成员
2月9日 创建

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

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

--build-type=Debug构建时,所有算子都会报错。

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

x86,2/9日toolkit包,最新代码

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

bash build.sh --pkg -j48 --soc=ascend310p --build-type=Debug构建

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

编译成功

INFO]excute file: /usr1/cann_eco_debug/ops/ops-nn/scripts/kernel/binary_script/build_binary_op_exe_task.sh
[2026-02-09 01:52:06] [2026-02-09 01:52:04] [INFO]exe_task: begin to build kernel with cmd: asc_opc /usr1/cann_eco_debug/ops/ops-nn/build/tbe/dynamic/foreach_non_finite_check_and_unscale.py --main_func=foreach_non_finite_check_and_unscale --input_param=/usr1/cann_eco_debug/ops/ops-nn/build/tbe/config/ascend310p/foreach_non_finite_check_and_unscale/foreach_non_finite_check_and_unscale_binary_high_performance.json_1 --soc_version=Ascend310P3 --output=/usr1/cann_eco_debug/ops/ops-nn/build/binary/ascend310p/bin/ascend310p/foreach_non_finite_check_and_unscale/ --impl_mode=high_performance,optional --simplified_key_mode=0 --op_mode=dynamic --op_debug_config=debug.
[2026-02-09 01:52:06] [2026-02-09 01:52:06] [ERROR]exe_task: build kernel FAILED, op name: foreach_non_finite_check_and_unscale_binary_high_performance.json_1. Run this command again for debug:
[2026-02-09 01:52:06] [2026-02-09 01:52:06] [ERROR]asc_opc /usr1/cann_eco_debug/ops/ops-nn/build/tbe/dynamic/foreach_non_finite_check_and_unscale.py --main_func=foreach_non_finite_check_and_unscale --input_param=/usr1/cann_eco_debug/ops/ops-nn/build/tbe/config/ascend310p/foreach_non_finite_check_and_unscale/foreach_non_finite_check_and_unscale_binary_high_performance.json_1 --soc_version=Ascend310P3 --output=/usr1/cann_eco_debug/ops/ops-nn/build/binary/ascend310p/bin/ascend310p/foreach_non_finite_check_and_unscale/ --impl_mode=high_performance,optional --simplified_key_mode=0 --op_mode=dynamic --op_debug_config=debug
[2026-02-09 01:52:06] [2026-02-09 01:52:06] [2026-02-09 01:52:04] Build started: asc_opc /usr1/cann_eco_debug/ops/ops-nn/build/tbe/dynamic/foreach_non_finite_check_and_unscale.py --main_func=foreach_non_finite_check_and_unscale --input_param=/usr1/cann_eco_debug/ops/ops-nn/build/tbe/config/ascend310p/foreach_non_finite_check_and_unscale/foreach_non_finite_check_and_unscale_binary_high_performance.json_1 --soc_version=Ascend310P3 --output=/usr1/cann_eco_debug/ops/ops-nn/build/binary/ascend310p/bin/ascend310p/foreach_non_finite_check_and_unscale/ --impl_mode=high_performance,optional --simplified_key_mode=0 --op_mode=dynamic --op_debug_config=debug
[2026-02-09 01:52:06] [2026-02-09 01:52:06] Opc tool start working now, please wait for a moment.

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

likedislike
丛吉钰丛吉钰成员
2月9日 将 cong-jiyu 设为负责人
丛吉钰丛吉钰成员
2月26日 issue状态由 进行中 改变为 已完成
丛吉钰丛吉钰成员
2月26日 关闭了 issue
CANN-robotCANN-robot成员
2月26日 添加了label:Accepted
CANN-robotCANN-robot成员
3月20日 添加了label:resolved