Merged
add mx_fake_quantize #835
add mx_fake_quantize #835
Merged
caoshuyangAdd on Sep 17
caoshuyang
caoshuyangCollaborators
Sep 17

描述

在torchao_npu中增加mx_fake_quantize支持。包含与https://gitcode.com/cann/torchtitan-npu/pull/750 中相同的避免aclnnContiguous_TransposeAiCore_Transpose的优化。在experiments/torchao_npu/tests中新增mx_fake_quantize的单元测试。

类型

Checklist:

如何测试

在experiments/torchao_npu/tests中新增mx_fake_quantize的单元测试。torchao_npu的单元测试全量通过。

其他信息

在这里可以添加任何与这个 Pull Request 相关的其他说明。

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for caoshuyang's contribution.)
caoshuyangcaoshuyangCollaborators
Sep 17 Created pull request, commit 9a800ee3
CANN-robotCANN-robotCollaborators
Sep 17 Added label: stat/needs-squash
CANN-robotCANN-robotCollaborators
Sep 17 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Sep 17 Comments:

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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/torchtitan-npu ✅ zhuofanshen, wanghui0 (2/2) ✅ zhuofanshen (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

caoshuyang, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
caoshuyangcaoshuyangCollaborators
Sep 17 Modify description of pull request
caoshuyang
caoshuyangCollaborators
Sep 17 Comments:

compile

likedislike
caoshuyangcaoshuyangCollaborators
Sep 17 Pre merge succeeded (commit_id: 5ac78be7fe6c5f91903bb1afbafc2dde0a6c2ffe)
CANN-robot
CANN-robotCollaborators
Sep 17 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 17 Added label: ci-pipeline-running
6 event messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
Sep 17 Removed label: ci-pipeline-passed
CANN-robot
CANN-robotCollaborators
Sep 17 Comments:

Notification

This pull request has been changed(code update) or closed, so removes the following label(s): ci-pipeline-passed.

likedislike
CANN-robotCANN-robotCollaborators
Sep 17 Added label: cann-cla/yes
caoshuyang
caoshuyangCollaborators
Sep 17 Comments:

compile

likedislike
caoshuyangcaoshuyangCollaborators
Sep 17 Pre merge succeeded (commit_id: 1b79956d84f22cfc54c69cf4f971d2c702d5a1de)
CANN-robot
CANN-robotCollaborators
Sep 17 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 17 Added label: ci-pipeline-running
5 event messages are collapsed here。 See more
caoshuyangcaoshuyangCollaborators
Sep 17 Draft state has been cancelled
wanghui0
wanghui0Collaborators
Sep 17 Comments:

/lgtm

likedislike
zhuofanshen
zhuofanshenCollaborators
Sep 17 Comments:

/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Sep 17 Added label: lgtm
zhuofanshen
zhuofanshenCollaborators
Sep 17 Comments:

/ai_review

likedislike
zhuofanshen
zhuofanshenCollaborators
Sep 17 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 17 Added label: approved
CANN-robotCANN-robotCollaborators
Sep 17 Merged pull request
wanghui0wanghui0Collaborators
26 days ago Associated issue: [RFC] DeepSeek V4 支持 win/compress KV C8