Pull Request has been successfully merged by CANN-robot.
(Thank you for liweijian16's contribution.)变更摘要
本 PR 是一次纯文档修正,将单轴 swiglu_group_quant 与双轴 swiglu_group_quant_with_dual_axis 两个 SwiGLU 量化算子文档中误写的算法名 CuBALS 统一更正为 cuBLAS,涉及中英文 README 及接口文档共 6 份文档。改动仅限名称拼写,量化算法描述、计算公式、scale 计算规则、算子实现与接口行为均未变化。
主要改动
- 算法命名统一:
README.md、README_en.md、aclnnSwigluGroupQuantV2.md、aclnnSwigluGroupQuantWithDualAxis.md中出现的CuBALS全部替换为cuBLAS,与 CUDA 官方库名称保持一致。 quant_mode=5特性说明修正:单轴算子文档中 MX Quant V2 的特性描述由 “变体 Clipped SwiGLU +CuBALSMX FP8 量化” 更正为cuBLAS,中英文版本同步修改。- 量化公式段落修正:MX FP8 量化流程中的 “Amax 计算(无下限)”“指数向上取整” 等小节标题及
mxScale1[t, c] = \text{cuBLAS}(amax[t, c])公式中的函数名标注同步更新,保持公式语义不变。 - 接口行为说明修正:
aclnnSwigluGroupQuantV2与双轴接口文档中scale_alg=1/scaleAlg=1的尺度算法描述改为固定cuBLAS,保留 “无 amax 下限”“与双轴第 1 路共享同一 MX kernel” 等原有表述。 - 文档结构不变:仅替换名称,未新增或删除章节,未修改算子接口参数、量化分组(固定 32 元素块)及数值一致性说明。
🧩 本次 Review 已使用自定义 Skill:




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 |
|---|---|---|
| */*/README.md | ✅ 陈娇, 上官秦南, 钱泽洪 (3/2) | ✅ 陈娇 (1/1) |
| */*/docs/acl*.md | ✅ 陈娇, 上官秦南, 钱泽洪 (3/2) | ✅ 陈娇 (1/1) |
| activation | ✅ 钱泽洪, 上官秦南 (2/2) | ✅ 钱泽洪 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
liweijian16, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


/approve


您好,pr合入已准备就绪,请尽快联系committer进行检视,谢谢!
@caiwenwen @qianzehong @yanglu-1 @wangrui_ @gitee-duhuiping @fengying555682 @lwx1255555 @renruhai @yourealize @gitcode-chenjiao @fanqirui @east_yang @pingchuantang @wang-xing001 @u010470851 @kevin_huang1234


/lgtm


/lgtm
/approve


描述
修正单轴、双轴 SwiGLU 量化文档中的算法名称拼写,共 6 份文档、23 处替换。
- CuBALS + cuBLAS仅修正文档名称,不修改计算公式、算子代码或接口行为。
关联的Issue
Fixes #8637
https://gitcode.com/cann/ops-nn/issues/8637
测试
CuBALS。git grep -n -i cubals -- '*.md' '*.rst'无匹配。git diff --check通过。文档更新
activation/swiglu_group_quant/:中英文 README、docs/aclnnSwigluGroupQuantV2.md。activation/swiglu_group_quant_with_dual_axis/:中英文 README、docs/aclnnSwigluGroupQuantWithDualAxis.md。类型标签
AI/Agent生成声明