已合并
refactor: decouple the check accuracy feature from triton, mlir, dvm. #35311
yvjc创建于 5月11日
refactor: decouple the check accuracy feature from triton, mlir, dvm. #35311
已合并
从已删除 :decouple_accuracy_v271合入到Ascend/pytorchv2.7.1
Pull Request已成功合入, 合并人@ascend-robot
(感谢 yvjc 的贡献)ascend-robot
5月11日 评论:
5月11日 评论:
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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| docs | ✅ zichun_ye, adrian07110 (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
| test | ✅ zichun_ye, adrian07110 (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
| torch_npu/_inductor | ✅ zichun_ye, adrian07110 (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
yvjc, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月11日 添加了label:ascend-cla/yes
ascend-robot
5月11日 评论:
5月11日 评论:
当前仓库存在以下 保护分支 :
| Protected Branch | Version | Release |
|---|---|---|
| master | ||
| v2.11.0 | ||
| v2.10.0 | ||
| v2.9.0 | ||
| v2.7.1 | ||
| v2.12.0 |
评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作
注意:
- /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
- 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭


此处折叠了200条消息 查看更多
5月19日 添加了label:approved
ZhihaoLi
5月19日 评论:
5月19日 评论:
/approve


5月19日 添加了label:lgtm
ascend-robot
5月19日 评论:
5月19日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: zichun_ye, adrian07110.
Reviewers who wrote a comment of /lgtm are: zichun_ye, adrian07110.


5月19日 合入了pull request
【合入来源】
https://gitcode.com/Ascend/pytorch/issues/1839
【修改方案】
将triton,mlir,dvm后端中存在的精度对比逻辑共同部分抽出来, 存放在torch_npu._inductor.compare.py当中.
【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
通过环境变量INDUCTOR_ASCEND_CHECK_ACCURACY=1, 开启精度比对功能, 对模型开启图模式, 分别选择这三种后端, 而后观察是否正常输出, 若正常输出, 则无问题.
【CheckList】