已合并
feat: Add reduce-overhead mode example in fast_kernel_launch_example #87
zhangzijie创建于 2025年10月20日
feat: Add reduce-overhead mode example in fast_kernel_launch_example #87
已合并
zhangzijie创建于 2025年10月20日
zhangzijie成员
2025年10月20日

描述

添加了一个基于自定义CCE算子集成到PyTorch的示例,展示如何通过reduce-overhead模式将算子入图。该示例使用isfinite算子作为演示,展示了从自定义CCE实现到PyTorch集成再到ACL Graph编译的完整流程,有助于用户理解如何高效地将自己的CCE算子集成到PyTorch生态系统中。

关联的Issue

关联Issue #26

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 zhangzijie 的贡献)
Zzhangzijie成员
2025年10月20日 关联了issue:[Requirement|需求建议]: 请提供一个<<<>>> 带CCE的示例sample
ascend-robot
ascend-robot成员
2025年10月20日 评论:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
ascend-robot
ascend-robot成员
2025年10月20日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-cann/ops-math LiuXinxin23, FelixTang7, zhangyuxiang0119, zhajianqing123, llimwang zhou-qilong, gubaocheng, loov1
likedislike
ascend-robotascend-robot成员
2025年10月20日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
2025年10月20日 评论:

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

likedislike
zhangzijie成员
2025年10月20日 评论:

compile

likedislike
CANN-robot
CANN-robot成员
2025年10月20日 评论:

🔵 ops-math pipeline is running. Please wait a moment... (Link 203)
🔵 Already succeed task list is: [Anti_Virus], will not be build again this time !

likedislike
CANN-robotCANN-robot成员
2025年10月20日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
2025年10月20日 评论:
Check Name Build Result Log Report Package Link
Anti Virus ✅ PASS >>> N/A
Codescan ✅ PASS >>> N/A
Code_Check ✅ PASS >>> N/A
CI_Ascend_Ops-Math_Compile ✅ SUCCESS #203 >>>
check-commit-message ✅ SUCCESS >>> ***
download-business-code ✅ SUCCESS >>> ***
Compile_Ascend_X86 ✅ SUCCESS >>> >>>
Compile_Ascend_ARM ✅ SUCCESS >>> >>>
Check_pr ✅ SUCCESS >>> ***
UT_Test ✅ SUCCESS >>> ***
Smoke_Test_A900 ✅ SUCCESS >>> ***
likedislike
CANN-robotCANN-robot成员
2025年10月20日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
2025年10月20日 添加了label:ci-pipeline-passed
Zzhangzijie成员
2025年10月20日 强制推送  1 个提交:f53bc5df-Fast Kernel Launch Demo, add reduce-overhead test
ascend-robot
ascend-robot成员
2025年10月20日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-cann/ops-math FelixTang7, su-yueming, wei-peng-1991, liu-wei, yu-xinjie62 zhou-qilong, gubaocheng, loov1
likedislike
ascend-robotascend-robot成员
2025年10月20日 删除了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
2025年10月20日 评论:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

likedislike
ascend-robot
ascend-robot成员
2025年10月20日 评论:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robot成员
2025年10月20日 评论:

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

likedislike
zhangzijie成员
2025年10月20日 评论:

compile

likedislike
CANN-robot
CANN-robot成员
2025年10月20日 评论:

🔵 ops-math pipeline is running. Please wait a moment... (Link 204)
🔵 Already succeed task list is: [Anti_Virus], will not be build again this time !

likedislike
CANN-robotCANN-robot成员
2025年10月20日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
2025年10月20日 评论:
Check Name Build Result Log Report Package Link
Anti Virus ✅ PASS >>> N/A
Codescan ✅ PASS >>> N/A
Code_Check ✅ PASS >>> N/A
CI_Ascend_Ops-Math_Compile ✅ SUCCESS #204 >>>
check-commit-message ✅ SUCCESS >>> ***
download-business-code ✅ SUCCESS >>> ***
Compile_Ascend_X86 ✅ SUCCESS >>> >>>
Compile_Ascend_ARM ✅ SUCCESS >>> >>>
Check_pr ✅ SUCCESS >>> ***
UT_Test ✅ SUCCESS >>> ***
Smoke_Test_A900 ✅ SUCCESS >>> ***
likedislike
CANN-robotCANN-robot成员
2025年10月20日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
2025年10月20日 添加了label:ci-pipeline-passed
zhangzijie成员
2025年10月21日 评论:

/check-pr

likedislike
ascend-robot
ascend-robot成员
2025年10月21日 评论:

The following labels are not ready.

lgtm: Please wait for reviewers to review the code.

approved: Please wait for committers to review the code.

likedislike
llimwang成员
2025年10月21日 评论:

/lgtm

likedislike
slx2008
2025年10月21日 评论:

/approve

likedislike
zhangzijie成员
2025年10月21日 评论:

/check-pr

likedislike
ascend-robot
ascend-robot成员
2025年10月21日 评论:

The following labels are not ready.

lgtm: Please wait for reviewers to review the code.

approved: Please wait for committers to review the code.

likedislike
songkai111成员
2025年10月21日 评论:

/approve

likedislike
zhangzijie成员
2025年10月21日 评论:

/check-pr

likedislike
ascend-robot
ascend-robot成员
2025年10月21日 评论:

The following labels are not ready.

lgtm: Please wait for reviewers to review the code.

approved: Please wait for committers to review the code.

likedislike
zhangzijie成员
2025年10月21日 评论:

/check-pr

likedislike
songkai111成员
2025年10月21日 评论:

/lgtm

likedislike
ascend-robotascend-robot成员
2025年10月21日 添加了label:lgtm
gubaocheng成员
2025年10月21日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2025年10月21日 添加了label:approved
ascend-robot
ascend-robot成员
2025年10月21日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who writed a comment of /approve are: gubaocheng.
Reviewers who writed a comment of /lgtm are: llimwang, songkai111, gubaocheng.

likedislike
ascend-robotascend-robot成员
2025年10月21日 关闭了关联的issue
ascend-robotascend-robot成员
2025年10月21日 合入了pull request