已合并
wrap_triton #26742
cuiduo创建于 2025年11月19日
wrap_triton #26742
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 cuiduo 的贡献)ascend-robot
2025年11月19日 评论:
2025年11月19日 评论:
AtlasAccount
2025年11月19日 评论:
2025年11月19日 评论:
ascend-robot
2025年11月19日 评论:
2025年11月19日 评论:
以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| repo-Ascend/pytorch | guoguanghao, yuhaiyan, duchengkun, kuhn7, SCh_zx | chenhao_1209, liwei386, aichunzheng, dilililiwhy, wangchao285 |


2025年11月19日 添加了label:ascend-cla/yes
此处折叠了434条消息 查看更多
2025年12月1日 添加了label:lgtm
yanpengquan
2025年12月1日 评论:
2025年12月1日 评论:
/approve


2025年12月1日 添加了label:approved
ascend-robot
2025年12月1日 评论:
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.


2025年12月1日 合入了pull request
What type of PR is this?
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.