已合并
fix scatter_list aclnn & repeat_inter_leave_grad warning #2277
sakuraqqz创建于 3月3日
fix scatter_list aclnn & repeat_inter_leave_grad warning #2277
已合并
sakuraqqz创建于 3月3日
sakuraqqz成员
3月3日

描述

  1. scatter_list应自动生成aclnn
  2. 修复repeat_interleave_grad 编译告警

关联的Issue

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

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sakuraqqz 的贡献)
Ssakuraqqz成员
3月3日 创建了 pull request,commit 6d30f942
CANN-robot
CANN-robot成员
3月3日 评论:

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
index chenqi317, FelixTang7 (2/2) chenqi317 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月3日 将FelixTang7,crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,wangyongguang,zhang-wu设为评审人
CANN-robotCANN-robot成员
3月3日 将FelixTang7,crystalhu,zhou-qilong,chenqi317,liubo75,tangweiwei2,wangyongguang,zhang-wu设为审查人
CANN-robot
CANN-robot成员
3月3日 评论:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robot成员
3月3日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
sakuraqqz成员
3月3日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月3日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ 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 >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-03 16:21:00]    CI执行结束

likedislike
Ssakuraqqz成员
3月3日 修改了pull request 的描述
CANN-robot
CANN-robot成员
3月3日 评论:

问题/功能描述

本次PR主要修复了一个日志打印中的格式字符串类型不匹配问题,并调整了一个算子的构建配置。具体解决了在特定编译信息检查失败时,错误日志中ubSizeCACHE_BUF_SIZE两个变量的格式化输出因类型不匹配可能导致的问题。同时,将scatter_list操作的构建目标从内部实现(aclnn_inner)调整为公开的ACLNN算子接口(aclnn)。

修改方案描述

修改包含两项核心内容:1) 在repeat_interleave_grad_int_repeat_tiling.cpp文件中,将一处错误日志的格式说明符从%ld修正为%lu,使其与对应的无符号长整型参数类型保持一致,确保日志输出的正确性。2) 在scatter_list/op_host/CMakeLists.txt文件中,将构建目标类型从aclnn_inner修改为aclnn,这标志着该算子从内部实现调整为公开的算子接口。两项修改均不涉及功能逻辑变更,风险较低。

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月3日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月3日 添加了label:ci-pipeline-passed
FelixTang7成员
3月3日 评论:

/lgtm

likedislike
chenqi317成员
3月4日 评论:

/lgtm
/approve

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

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: chenqi317.
Reviewers who wrote a comment of /lgtm are: FelixTang7, chenqi317.

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