已合并
FlatQuant算子补充PTA接口 #8144
陈海杰创建于 7月31日
FlatQuant算子补充PTA接口 #8144
已合并
陈海杰创建于 7月31日
陈海杰成员
7月31日

描述

FlatQuant算子补充PTA接口

关联的Issue

https://gitcode.com/cann/ops-nn/issues/4434

测试

验证1400条泛化用例,功能和精度OK
单算子调用、图模式调用在A2、950环境都已经验证过

文档更新

新增了torchapi_flat_quant.md

类型标签

AI/Agent生成声明

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 陈海杰 的贡献)
陈陈海杰成员
7月31日 创建了 pull request,commit 5b6e9e65
atomgit-bot
atomgit-bot
7月31日 评论:

🤖 正在生成合并请求摘要,请稍候…

likedislike
不准确?
atomgit-bot
atomgit-bot
7月31日 评论:

🤖 AI 代码检视正在进行中,请稍候…

likedislike
不准确?
CANN-robotCANN-robot成员
7月31日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
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 /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robot成员
7月31日 评论:

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
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设为评审人
CANN-robotCANN-robot成员
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日 修改了pull request 的描述
陈海杰成员
7月31日 评论:

compile

likedislike
陈陈海杰成员
7月31日 预合并成功(commit_id: 09fd6ddc2dfe85de3274f28e9bdcd8b3fa03ceb6)
CANN-robotCANN-robot成员
7月31日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
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执行结束

likedislike
CANN-robot
CANN-robot成员
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执行结束

likedislike
陈陈海杰成员
7月31日 修改了pull request 的描述
CANN-robotCANN-robot成员
7月31日 添加了label:api-check-pass
CANN-robotCANN-robot成员
7月31日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7月31日 添加了label:ci-pipeline-passed
gitee-duhuiping成员
7月31日 评论:

/lgtm
/approve

likedislike
zhouwenfang
zhouwenfang成员
7月31日 评论:

/lgtm

likedislike
Chen_HaoWen成员
7月31日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
7月31日 添加了label:approved
liujie12345678成员
7月31日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7月31日 添加了label:lgtm
CANN-robotCANN-robot成员
7月31日 关闭了关联的issue
CANN-robotCANN-robot成员
7月31日 合入了pull request