已合并
delete extra level2_base_loss.h #5254
delete extra level2_base_loss.h #5254
已合并
li_wei21创建于 5月26日
li_wei21
5月26日

描述

删除冗余文件
common/inc/op_api/level2_base_loss.h(删除)
loss/common/level2_base_loss.h(保留)

关联的Issue

https://gitcode.com/cann/ops-nn/issues/2883

测试

  1. 编译构建测试

    • 执行 bash build.sh --pkg --soc=ascend910b -j8 验证编译通过
    • 生成 cann-910b-ops-nn_9.0.0_linux-aarch64.run 安装包
  2. 安装验证

    • 安装生成的 .run 包,验证自定义算子包部署到 /usr/local/Ascend/cann/opp/vendors/custom_nn/
  3. 功能验证

    • 验证 libcust_opapi.so 和相关 so 文件存在于正确路径

文档更新

不涉及

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 li_wei21 的贡献)
Lli_wei21
5月26日 创建了 pull request,commit 79cd4e40
CANN-robot
CANN-robot成员
5月26日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
*/*/op_api/*.h ✅ 汤磊, 王永光, 杨阳 (3/2) ✅ 汤磊, 王永光 (2/1)
loss ✅ 王永光, 杨阳 (2/2) ✅ 王永光 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

li_wei21, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
5月26日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
5月26日 将chenfeng61,crystalhu,yu-xinjie62,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,wangyongguang,zhang-wu设为评审人
CANN-robotCANN-robot成员
5月26日 将chenfeng61,crystalhu,yu-xinjie62,zhou-qilong,chenqi317,liubo75,tangweiwei2,wangyongguang,zhang-wu设为审查人
li_wei21
5月26日 评论:

compile

likedislike
Lli_wei21
5月26日 预合并成功(commit_id: 952cf7f54836d0993da9a6c9f35097b9a2a429fd)
CANN-robotCANN-robot成员
5月26日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月26日 评论:

流水线任务触发成功
任务链接 [c5d4b5da79e64b698719a8f8a9e04fab][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_ubuntu24 ❌ FAILED >>>>>
Compile_Ascend_X86_mobile_station ❌ FAILED >>>>>
Compile_Ascend_ARM ❌ FAILED >>>>>
Compile_Ascend_single ❌ FAILED >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ❌ FAILED >>>>>
Compile_Ascend_ARM_950 ❌ FAILED >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ❌ FAILED >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ❌ FAILED >>>>>
Compile_Ascend_X86_950_ubuntu24 ❌ FAILED >>>>>
Compile_Ascend_ARM_ubuntu24 ❌ FAILED >>>>>
Compile_Ascend_single_ubuntu24 ❌ FAILED >>>>>
Compile_Ascend_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_950_ubuntu24 ❌ FAILED >>>>>
Compile_X86_monitor_910b ❌ FAILED >>>>>
Compile_X86_monitor_910c ❌ FAILED >>>>>
Compile_X86_monitor_950 ❌ FAILED >>>>>
likedislike
CANN-robot
CANN-robot成员
5月26日 评论:

流水线任务触发成功
任务链接 [1fdcb9b854164387aca2863e860d437c][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-05-26 11:41:46]    CI执行结束

likedislike
Lli_wei21
5月26日 修改了pull request 的描述
此处折叠了9条事件消息 查看更多
Lli_wei21
5月26日 修改了pull request 的描述
li_wei21
5月26日 评论:

compile

likedislike
Lli_wei21
5月26日 预合并成功(commit_id: db28ddd6da89bb4f71295404ca8f86794952eeeb)
CANN-robotCANN-robot成员
5月26日 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
5月26日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月26日 评论:

流水线任务触发成功
任务链接 [65fc92184df2433c8bce7dfc63c1ec22][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_950_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_950_ubuntu24 ✅ SUCCESS >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_report_lcov ⚠️ WARNING >>>>>

[2026-05-26 14:34:25]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
5月26日 评论:

流水线任务触发成功
任务链接 [b75aa393b9764b729586c55a4b034d91][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-05-26 14:26:01]    CI执行结束

likedislike
Lli_wei21
5月26日 修改了pull request 的描述
Lli_wei21
5月26日 修改了pull request 的描述
CANN-robotCANN-robot成员
5月26日 添加了label:api-check-pass
CANN-robotCANN-robot成员
5月26日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
5月26日 添加了label:ci-pipeline-passed
yangyang016成员
5月26日 评论:

/lgtm
/approve

likedislike
chenqi317成员
5月26日 评论:

UT_Test_report_lcov

likedislike
chenqi317成员
5月26日 评论:

codecheck_precommit 告警需要清理

likedislike
tang-lei01成员
5月26日 评论:

/approve

likedislike
wangyongguang成员
5月26日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
5月26日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
5月26日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 王永光, 汤磊.
Reviewers who wrote a comment of /lgtm are: 杨阳, 王永光, 汤磊.

likedislike
CANN-robotCANN-robot成员
5月26日 关闭了关联的issue
CANN-robotCANN-robot成员
5月26日 合入了pull request