已合并
API_trace_relu changes #30394
cuiduo创建于 2月2日
API_trace_relu changes #30394
已合并
cuiduo创建于 2月2日
cuiduo
cuiduo成员
2月2日

【合入来源】

(如有)请关联需求文档/issue链接

【修改方案】

修改trace_rule.py文件,确保NPU部分API在图模式下,入图行为与标杆一致。修改set-rng_state函数处理多余算子以及torch.npu.current_device白名单处理以确保算子生成fx图与标杆一致。

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

新增测试文件test/_inductor/test_npu_current_device.py,参与ut看护

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

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

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

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

Module List Reviewers Committers
test li_jing_hw, liwei386, zhanJ, chuboning, duchengkun medivh-x, yangkaixin, zichun_ye, li_jing_hw, dilililiwhy
torch_npu/_inductor ShaoFeifan, wangchao430, guoqi1024, liwei386, zhaozhijie rain-666, anyrenwei, medivh-x, guoqi1024, wangmin0104
repo-Ascend/pytorch wangchao285, liangsongwei, anyrenwei, wangchao430, zhaozhijie li_jing_hw, chenhao_1209, wangchao285, wangqiang160, htchu
likedislike
ascend-robotascend-robot成员
2月2日 添加了label:ascend-cla/yes
cuiduo
cuiduo成员
2月2日 评论:

compile

likedislike
此处折叠了97条消息 查看更多
cuiduocuiduo成员
2月5日 修改了pull request 的描述
zhangqiongwen成员
2月5日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2月5日 添加了label:approved
ascend-robot
ascend-robot成员
2月5日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: zichun_ye, wangchao430, zqwenn.
Reviewers who wrote a comment of /lgtm are: zqwenn, zichun_ye, wangchao430.

likedislike
ascend-robotascend-robot成员
2月5日 合入了pull request