已合并
add group_type=2 meta tests and negative cases for npu_grouped_matmul #34653
XianglongZeng创建于 4月28日
add group_type=2 meta tests and negative cases for npu_grouped_matmul #34653
已合并
XianglongZeng创建于 4月28日
XianglongZeng成员
4月28日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

【修改方案】

1. meta 层(fake tensor)测试

用例ID 场景 split_item group_type 验证要点
meta_g2_1 K轴分组 fp16 单单单 2 2 输出为 3D shape=(num_groups, M, N)
meta_g2_2 K轴分组 fp16 单单单 3 2 输出为 3D shape=(num_groups, M, N)

2.异常场景看护用例

测试文件 用例名称 测试内容
test/test_fake_tensor.py test_npu_grouped_matmul_meta_invalid_group_type group_type=1/3/100 应抛出 group_type only supports 错误

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

image.png
image.png
image.png

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 XianglongZeng 的贡献)
XXianglongZeng成员
4月28日 创建了 pull request,commit 638ed926
ascend-robot
ascend-robot成员
4月28日 评论:

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
test zichun_ye, yuhaiyan (2/2) zichun_ye (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
ascend-robotascend-robot成员
4月28日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
4月28日 评论:

当前仓库存在以下 保护分支

Protected Branch Version Release
master
v2.7.1
v2.9.0
v2.10.0
v2.11.0
v2.8.0

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
XXianglongZeng成员
4月28日 修改了pull request 的描述
XXianglongZeng成员
4月28日 修改了pull request 的描述
XXianglongZeng成员
4月29日 修改了pull request 的描述
XianglongZeng成员
4月29日 评论:

compile

likedislike
ascend-robotascend-robot成员
4月29日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
4月29日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
4月29日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
4月29日 评论:
流水线 PR-pipeline_pytorch#18516 已完成
阶段 任务名 状态 详情
编译构建 Build_X86 >>>
Build_ARM >>>
Build_LibTorch_x86 >>>
Build_LibTorch_ARM >>>
Build_X86_torchair 🛑 >>>
Build_ARM_torchair 🛑 >>>
patch_test 🛑 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
check_error >>>
CodeCheck_lintrunner >>>
开源片段检查 SCA >>>
开发者测试 UT_X86_Part_01 🛑 >>>
UT_X86_Part_02 🛑 >>>
UT_ARM_A3_Part_01 🛑 >>>
UT_ARM_A3_Part_02 🛑 >>>
UT_DIST_X86_Part_01 🛑 >>>
UT_DIST_X86_Part_02 🛑 >>>
UT_DIST_X86_Part_03 🛑 >>>
UT_DIST_X86_Part_04 🛑 >>>
UT_inductor_Part_01 🛑 >>>
UT_inductor_Part_02 🛑 >>>
UT_inductor_Part_03 🛑 >>>
UT_inductor_Part_04 🛑 >>>
UT_ARM_A2_Part_01 >>>
UT_ARM_A2_Part_02 >>>
UT_ARM_A2_Part_03 >>>
流水线 PR-pipeline_pytorch >>>
likedislike
haiyan8
haiyan8
4月30日 评论:

/lgtm

likedislike
zichun_ye
zichun_ye成员
4月30日 评论:

/approve

likedislike
ascend-robotascend-robot成员
4月30日 添加了label:approvedlgtm
ascend-robot
ascend-robot成员
4月30日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: zichun_ye.
Reviewers who wrote a comment of /lgtm are: zichun_ye, yuhaiyan.

likedislike
ascend-robotascend-robot成员
4月30日 合入了pull request