Closed
[Requirement|需求建议]: Optimize QBMM MX tiling #3358
panzhijaAdd on Jun 16Closed at Jul 6
Jun 16 Added label: requirement
Jun 16 Change title to "[Requirement|需求建议]: Optimize QBMM MX tiling", originally titled "[Requirement|需求建议]: 1".
Jun 16 Change title to "[Requirement|需求建议]: Optimize QBMM MX tiling", originally titled "[Requirement|需求建议]: 1".
Jun 16 Modify description of issue
panzhija
Jun 16 Comments:
Jun 16 Comments:
/assign


Jun 16 Assign smdbha as responsible person
Jun 25 Modify description of issue
Jul 6 changed custom state from 进行中 to 已解决
Jul 6 Close issue
Oct 12 Deleted associated pull request: Optimize QBMM MX tiling
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
QuantBatchMatmulV3 的 MX per-group 场景需要进一步优化 tiling 策略。当前 MXFP8/MXFP4 部分 shape 下,baseM/baseN 搜索、baseK 选择、scaleKL1 覆盖范围和 L1 buffer 选择仍有优化空间,可能导致 AICore 负载不均衡、K 尾部重复搬运 scale 或 4-buffer 使用不充分。
Origin(信息来源)
ops-nn QuantBatchMatmulV3 / QBMM MX tiling 性能优化需求。
Benefit / Necessity (价值/作用)
Design(设计方案)
在 BaseBlockCalculator 中新增 MX load-balance 优化路径:
在 MX Basic API tiling 中新增 MxL1Plan:
在 AdaptiveSlidingWindowTiling 中新增 NormalizeFullyMergedAxis:
关联 PR:https://gitcode.com/cann/ops-nn/pull/6498