Merged
qbmm cube tensor api #61
qbmm cube tensor api #61
Merged
Hu1L1Add on May 28
Hu1L1
Hu1L1Collaborators
May 28

背景

新增 QuantBatchMatmul Cube Tensor API 底层内核,为 ops-nn quant_batch_matmul_v3 提供 Blaze A8W8 fixpipe 计算能力,支持 ND 与 WeightNz 权重格式。

变更说明

  • 新增 kernel_qbmm_cube.h:QBMM Cube 主内核,含 batch / tail / WeightNz 分支
  • 新增 block_mmad_a8w8_fixpipe_quant.h:A8W8 fixpipe 量化 Block MMAD
  • 更新 dispatch_policy.h:注册 MatmulWithScaleFixpipeQuant 调度策略

依赖关系

  • 本 PR 为 ops-nn #5325 的前置依赖
  • 合入后 ops-nn 需引用 commit

关联 Issue

https://gitcode.com/cann/ops-tensor/issues/2

测试

本地测试pass
二级冒烟pass

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for Hu1L1's contribution.)
Hu1L1Hu1L1Collaborators
May 28 Created pull request, commit f50b412c
Hu1L1Hu1L1Collaborators
May 28 Pre merge succeeded (commit_id: 6bafd96763f53dd5bd45a5a00086d054d4afb787)
Hu1L1Hu1L1Collaborators
May 28 Force-pushed 8 commits:f50b412c-7 commits from branch master,5dc6e67e-qbmm cube tensor api
Hu1L1Hu1L1Collaborators
May 28 Pre merge succeeded (commit_id: d1f697db08cc7988046486af55ea9f68a0863429)
CANN-robot
CANN-robotCollaborators
May 28 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


PR Approval Progress

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

Module Approval Details

module lgtm status approve status
repo-cann/ops-tensor ✅ 杨阳 (1/1) ✅ 杨阳 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
87 messages are collapsed here。 See more
yangyang016
yangyang016Collaborators
Jun 4 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Jun 4 Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
Jun 4 Closed associated issue
CANN-robotCANN-robotCollaborators
Jun 4 Merged pull request
Hu1L1Hu1L1Collaborators
Jun 4 Modify description of pull request