Merged
RoiPooling算子迁仓至ops-nn #1442
m0_46386992Add on Aug 31
RoiPooling算子迁仓至ops-nn #1442
Merged
m0_46386992Add on Aug 31
m0_46386992
Aug 31

描述

RoiPooling算子迁仓至ops-nn,避免升级后原型定义冲突。关联代码:
https://gitcode.com/cann/ops-nn/pull/9609

关联的Issue

https://gitcode.com/cann/ops-cv/issues/851

测试

  • 本地编译pass
  • 二级冒烟通过

文档更新

  • 删除了ROIPooling的README.md文件
  • 去除了op_list.md中ROIPooling相关条目

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for m0_46386992's contribution.)
m0_46386992m0_46386992
Aug 31 Created pull request, commit a6c65dd7
atomgit-bot
atomgit-bot
Aug 31 Comments:

变更摘要

本 PR 将 ROIPooling 算子从当前仓库整体迁出至 ops-nn 仓库,删除了算子全部源码与配套资源(共 21 个文件,删除 2161 行):包括算子协议注册、graph 侧类型推导、host 侧算子定义/形状推导/tiling、kernel 侧 SIMT 实现及 tiling 数据结构、测试用例与 golden 脚本,并从 ascendc_config.json 中移除该算子的编译配置项。

主要改动

  • 删除算子协议与 graph 侧定义: 移除 objdetect/roi_pooling/op_graph/ 下的 roi_pooling_proto.h(REG_OP(ROIPooling) 声明 x、rois、可选输入 roi_actual_num 及 pooled_h/pooled_w/spatial_scale_h/spatial_scale_w 四个必选属性)和 roi_pooling_graph_infer.cpp(InferDataTypeRoiPooling 类型推导实现)。
  • 删除 host 侧实现: 移除 op_host/ 下的 roi_pooling_def.cpp(算子定义及 ascend950 的 AICore 配置)、roi_pooling_infershape.cpp(InferShapeRoiPooling 形状推导)以及 roi_pooling_tiling_arch35.cpp(含 dtype/shape/attr 校验、Grid-Stride 核切分与 workspace 设置的 RoiPoolingTilingFunc)。
  • 删除 kernel 侧实现: 移除 op_kernel/roi_pooling_apt.cpp 内核入口和 arch35/ 下的 roi_pooling_simt.h(SIMT 实现)、roi_pooling_tiling_data.h(RoiPoolingTilingData 结构)、roi_pooling_tiling_key.h(ROI_POOLING_SCH_MODE_DEFAULT 模板参数声明)。
  • 删除测试与示例资源: 移除 tests/assets/golden.py(RoiPoolingKernelSpec golden 实现)、tests/ut/op_host/ 下的 tiling 与 infershape 单元测试,以及 examples/test_geir_roi_pooling.cpp GEIR 冒烟测试。
  • 清理构建配置: 从 scripts/kernel/binary_config/ascendc_config.json 中删除 ROIPooling 在 ascend950 的编译配置项(含 -mllvm -cce-aicore-dcci-before-kernel-end=false 编译选项),该算子迁仓后将由 ops-nn 仓库负责其构建。
likedislike
Incorrect?
atomgit-bot
atomgit-bot
Aug 31 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Aug 31 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Aug 31 Comments:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robotCollaborators
Aug 31 Comments:

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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

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

Module Approval Details

module lgtm status approve status
*/*/README.md ✅ 陈娇, 刘伟, 冯彤 (3/2) ✅ 陈娇 (1/1)
*/*/op_graph/*_proto.h ✅ 王永光, 刘伟, 冯彤 (3/2) ✅ 王永光 (1/1)
*/*/op_host/*_def.cpp ✅ 王永光, 刘伟, 冯彤 (3/2) ✅ 王永光 (1/1)
repo-cann/ops-cv ✅ 刘伟, 冯彤 (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

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

likedislike
CANN-robotCANN-robotCollaborators
Aug 31 Set yue-ma,zhou-qilong,gitee-duhuiping,rxtfeng,loov1,tang-lei01,zhangzijie,yourealize,zl_hw,liu-wei,gitcode-chenjiao,pingchuantang,llimwang,gubaocheng,wangyongguang,fengying555682,caiwenwen,yanglu-1 as approver
9 event messages are collapsed here。 See more
m0_46386992m0_46386992
Sep 1 Modify description of pull request
m0_46386992
m0_46386992
Sep 1 Comments:

compile

likedislike
m0_46386992m0_46386992
Sep 1 Pre merge succeeded (commit_id: 801bbb4b225cd6773ef7c4accd0cc76b62c6b996)
CANN-robotCANN-robotCollaborators
Sep 1 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 1 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 1 Added label: ci-pipeline-failed
m0_46386992
m0_46386992
Sep 1 Comments:

compile

likedislike
m0_46386992m0_46386992
Sep 1 Pre merge succeeded (commit_id: 7c5b8f67ca8c3380955e75d4f8a655f6842fdbf0)
CANN-robotCANN-robotCollaborators
Sep 1 Removed label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Sep 1 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 1 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 1 Added label: ci-pipeline-passed
wangyongguang
wangyongguangCollaborators
Sep 1 Comments:

/approve

likedislike
chenjiao
chenjiaoCollaborators
Sep 1 Comments:

/approve

likedislike
liu-wei
liu-weiCollaborators
Sep 2 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 2 Added label: approved
rxtfeng
rxtfengCollaborators
Sep 2 Comments:

/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Sep 2 Added label: lgtm
CANN-robotCANN-robotCollaborators
Sep 2 Closed associated issue
CANN-robotCANN-robotCollaborators
Sep 2 Merged pull request