已合并
api_trace_rule_changes #30533
Ambi创建于 2月5日
api_trace_rule_changes #30533
已合并
Ambi创建于 2月5日
已删除 :v2.7.1合入到Ascend/pytorchv2.7.1
Ambi
Ambi
2月5日

【合入来源】

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

  • 需求
  • 问题单
  • 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]

  • 代码注释完备,正确记录错误日志
  • 代码实现进行了返回值、空指针等校验
  • PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等
  • PR持续集成流水线(CI)执行通过,代码检查无异常
likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Ambi 的贡献)
AmbiAmbi
2月5日 创建了 pull request,commit 6fcdff0e
ascend-robot
ascend-robot成员
2月5日 评论:

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
repo-Ascend/pytorch dilililiwhy, culechan, liwei386, chenhao_1209, wangchao430 liwei386, wangchao285, wasd1111222, guoqi1024, chenhao_1209
test yangkaixin, rain-666, dilililiwhy, zhaozhijie, ShaoFeifan guoqi1024, htchu, li_jing_hw, wasd1111222, wangchao430
likedislike
ascend-robotascend-robot成员
2月5日 添加了label:ascend-cla/yes
Ambi
Ambi
2月5日 评论:

compile

likedislike
此处折叠了41条消息 查看更多
ascend-robotascend-robot成员
2月5日 添加了label:approved
zhangqiongwen成员
2月5日 评论:

/approve

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

Review Guide

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

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