已合并
wrap_triton #26742
cuiduo创建于 2025年11月19日
wrap_triton #26742
已合并
cuiduo创建于 2025年11月19日
cuiduo
cuiduo成员
2025年11月19日

What type of PR is this?

/kind task

What does this PR do / why do we need it:Add wrap_triton function adaptation. Add triton operator adaptation modules in the files torch._inductor.lowering.py and torch._inductor.lowering_fx.py. Add triton_kernel_wrapper_mutation to the whitelist in the file torch._inductor.lowering_op_list.py.

Which issue(s) this PR fixes:

Fixes #Fixes the issue where custom Triton operators under the wrap_triton function fail to function as expected.

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 cuiduo 的贡献)
cuiduocuiduo成员
2025年11月19日 创建了 pull request,commit 144b5005
ascend-robot
ascend-robot成员
2025年11月19日 评论:

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
AtlasAccount
AtlasAccount成员
2025年11月19日 评论:
ascend-robot
ascend-robot成员
2025年11月19日 评论:

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

Module List Reviewers Committers
repo-Ascend/pytorch guoguanghao, yuhaiyan, duchengkun, kuhn7, SCh_zx chenhao_1209, liwei386, aichunzheng, dilililiwhy, wangchao285
likedislike
ascend-robotascend-robot成员
2025年11月19日 添加了label:ascend-cla/yes
此处折叠了434条消息 查看更多
ascend-robotascend-robot成员
2025年12月1日 添加了label:lgtm
yanpengquan成员
2025年12月1日 评论:

/approve

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

Review Guide

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

likedislike
ascend-robotascend-robot成员
2025年12月1日 合入了pull request