已合并
FlatQuant算子补充PTA接口 #8144
陈海杰创建于 7月31日
FlatQuant算子补充PTA接口 #8144
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 陈海杰 的贡献)atomgit-bot
7月31日 评论:
7月31日 评论:
🤖 正在生成合并请求摘要,请稍候…


不准确?
atomgit-bot
7月31日 评论:
7月31日 评论:
🤖 AI 代码检视正在进行中,请稍候…


不准确?
7月31日 添加了label:cann-cla/yes
CANN-robot
7月31日 评论:
7月31日 评论:
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 |
|---|---|---|
| */*/README.md | ✅ 杜慧萍, 周文芳 (2/2) | ✅ 杜慧萍 (1/1) |
| */*/docs/acl*.md | ✅ 杜慧萍, 周文芳 (2/2) | ✅ 杜慧萍 (1/1) |
| docs | ✅ 杜慧萍, 周文芳 (2/2) | ✅ 杜慧萍 (1/1) |
| quant | ✅ 刘杰, 陈昊文 (2/2) | ✅ 陈昊文, 刘杰 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


CANN-robot
7月31日 评论:
7月31日 评论:
7月31日 将zengjuan,sxb154714,chenfeng61,crystalhu,yangyang016,fanqirui,gitee-duhuiping,su-yueming,zhajianqing123,chenqi317,LinPX,wang-xing001,liubo75,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,liujie12345678,pingchuantang,Chen_HaoWen,zhouwenfang,wuyao51511,liuyang_806,caiwenwen设为评审人
7月31日 将zengjuan,sxb154714,chenfeng61,crystalhu,yangyang016,fanqirui,gitee-duhuiping,su-yueming,zhajianqing123,chenqi317,LinPX,wang-xing001,liubo75,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,liujie12345678,pingchuantang,Chen_HaoWen,zhouwenfang,wuyao51511,liuyang_806,caiwenwen设为评审人
7月31日 将sxb154714,chenfeng61,gitee-duhuiping,su-yueming,zhajianqing123,LinPX,wang-xing001,wangzitao_leo,xubinglin,gitcode-chenjiao,liujie12345678,pingchuantang,Chen_HaoWen,zhouwenfang,wuyao51511,liuyang_806,caiwenwen设为审查人
7月31日 将sxb154714,chenfeng61,gitee-duhuiping,su-yueming,zhajianqing123,LinPX,wang-xing001,wangzitao_leo,xubinglin,gitcode-chenjiao,liujie12345678,pingchuantang,Chen_HaoWen,zhouwenfang,wuyao51511,liuyang_806,caiwenwen设为审查人
7月31日 添加了label:ci-pipeline-running
CANN-robot
7月31日 评论:
7月31日 评论:
流水线任务触发成功
任务链接 [c0c52bbc2bb34ed5a2cc4f359579ef29][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_experimental | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Pre | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_950_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_950_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_classify | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_ophost | ✅ SUCCESS | ||
| UT_Test_opapi | ✅ SUCCESS | ||
| UT_Test_kernel | ✅ SUCCESS | ||
| UT_Test_opgraph | ✅ SUCCESS | ||
| PreSmoke_A900 | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> | |
| UT_Test_harmony-infer-chs-nn | ✅ SUCCESS | ||
| UT_Test_harmony-infer-chs-nn-1 | ✅ SUCCESS | ||
| UT_Test_harmony-infer-cpro-nn | ✅ SUCCESS | ||
| UT_Test_report_lcov | ✅ SUCCESS | >>>>> |
[2026-07-31 16:58:23] CI执行结束


CANN-robot
7月31日 评论:
7月31日 评论:
流水线任务触发成功
任务链接 [d5318497de9c43f8b9ff2ec36b5d218c][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_checkpr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_precommit | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> |
[2026-07-31 16:37:58] CI执行结束


7月31日 添加了label:api-check-pass
7月31日 删除了label:ci-pipeline-running
7月31日 添加了label:ci-pipeline-passed
gitee-duhuiping
7月31日 评论:
7月31日 评论:
/lgtm
/approve


zhouwenfang
7月31日 评论:
7月31日 评论:
/lgtm


Chen_HaoWen
7月31日 评论:
7月31日 评论:
/approve


7月31日 添加了label:approved
liujie12345678
7月31日 评论:
7月31日 评论:
/lgtm
/approve


7月31日 添加了label:lgtm
7月31日 关闭了关联的issue
7月31日 合入了pull request
描述
FlatQuant算子补充PTA接口
关联的Issue
https://gitcode.com/cann/ops-nn/issues/4434
测试
验证1400条泛化用例,功能和精度OK
单算子调用、图模式调用在A2、950环境都已经验证过
文档更新
新增了torchapi_flat_quant.md
类型标签
AI/Agent生成声明