| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs(dequant_swiglu_quant): 更新weightScaleOptional shape说明及quantScaleOptional dtype约束 Co-authored-by: cao-ren-lei<caorenlei@huawei.com> # message auto-generated for no-merge-commit merge: !7514 merge dsq_doc into master docs(dequant_swiglu_quant): 更新weightScaleOptional shape说明及quantScaleOptional dtype约束 Created-by: caorenlei Commit-by: cao-ren-lei Merged-by: cann-robot Description: ## 描述 更新 dequant_swiglu_quant 系列算子接口文档,修正 weightScaleOptional 的 shape 说明并收紧 quantScaleOptional 的 dtype 约束,使文档描述与接口实现一致。 ### 改动详情 **文件 1:quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuant.md** - weightScaleOptional:在 Ascend 950PR/Ascend 950DT 场景下,当 groupIndexOptional 为空指针时,shape 由 [H] 更新为 [H]、[1, H],补充了 [1, H] 这一合法 shape。 - quantScaleOptional:dtype 由 FLOAT、FLOAT16 收紧为 FLOAT,与该场景下"仅支持 FLOAT"的约束描述保持一致。 **文件 2:quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuantV2.md** - weightScaleOptional:当 groupIndexOptional 为空指针时,shape 由 [2H] 更新为 [2H]、[1, 2H],补充了 [1, 2H] 这一合法 shape。 - quantScaleOptional:dtype 由 FLOAT、FLOAT16 收紧为 FLOAT。 ## 关联的Issue - #4099 https://gitcode.com/cann/ops-nn/issues/4099 ## 测试 - 对照 aclnnDequantSwigluQuant / aclnnDequantSwigluQuantV2 接口实现,确认 weightScaleOptional 在 groupIndexOptional 为空指针时支持 [1, H] / [1, 2H] shape。 - 确认 quantScaleOptional 在 Ascend 950PR/950DT 场景下仅支持 FLOAT,文档移除 FLOAT16 后与实现一致。 ## 文档更新 - 更新 quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuant.md:weightScaleOptional 补充 [1, H] shape 说明,quantScaleOptional dtype 收紧为 FLOAT。 - 更新 quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuantV2.md:weightScaleOptional 补充 [1, 2H] shape 说明,quantScaleOptional dtype 收紧为 FLOAT。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [ ] AI辅助编写 See merge request: cann/ops-nn!7514 | 3 个月前 | |
docs(dequant_swiglu_quant): 更新weightScaleOptional shape说明及quantScaleOptional dtype约束 Co-authored-by: cao-ren-lei<caorenlei@huawei.com> # message auto-generated for no-merge-commit merge: !7514 merge dsq_doc into master docs(dequant_swiglu_quant): 更新weightScaleOptional shape说明及quantScaleOptional dtype约束 Created-by: caorenlei Commit-by: cao-ren-lei Merged-by: cann-robot Description: ## 描述 更新 dequant_swiglu_quant 系列算子接口文档,修正 weightScaleOptional 的 shape 说明并收紧 quantScaleOptional 的 dtype 约束,使文档描述与接口实现一致。 ### 改动详情 **文件 1:quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuant.md** - weightScaleOptional:在 Ascend 950PR/Ascend 950DT 场景下,当 groupIndexOptional 为空指针时,shape 由 [H] 更新为 [H]、[1, H],补充了 [1, H] 这一合法 shape。 - quantScaleOptional:dtype 由 FLOAT、FLOAT16 收紧为 FLOAT,与该场景下"仅支持 FLOAT"的约束描述保持一致。 **文件 2:quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuantV2.md** - weightScaleOptional:当 groupIndexOptional 为空指针时,shape 由 [2H] 更新为 [2H]、[1, 2H],补充了 [1, 2H] 这一合法 shape。 - quantScaleOptional:dtype 由 FLOAT、FLOAT16 收紧为 FLOAT。 ## 关联的Issue - #4099 https://gitcode.com/cann/ops-nn/issues/4099 ## 测试 - 对照 aclnnDequantSwigluQuant / aclnnDequantSwigluQuantV2 接口实现,确认 weightScaleOptional 在 groupIndexOptional 为空指针时支持 [1, H] / [1, 2H] shape。 - 确认 quantScaleOptional 在 Ascend 950PR/950DT 场景下仅支持 FLOAT,文档移除 FLOAT16 后与实现一致。 ## 文档更新 - 更新 quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuant.md:weightScaleOptional 补充 [1, H] shape 说明,quantScaleOptional dtype 收紧为 FLOAT。 - 更新 quant/dequant_swiglu_quant/docs/aclnnDequantSwigluQuantV2.md:weightScaleOptional 补充 [1, 2H] shape 说明,quantScaleOptional dtype 收紧为 FLOAT。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [ ] AI辅助编写 See merge request: cann/ops-nn!7514 | 3 个月前 |