已关闭
[Bug-Report|缺陷反馈]: 更改bmm算子ut #2598
jgx创建于  5月9日关闭于  5月9日
jgx
jgx成员
5月9日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

该PR为删除batch_matmul算子一条ut,由于目前batchmatmu,负载均衡策略采用了动态获取芯片数据的方案,在没有初始化时,在跑UT时会被赋0,在计算时会在不同系统架构中出现不同的值,导致UT结果在不同架构中结果不同。

Environment / 环境信息 (Mandatory / 必填)

Ascend950PR

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

在x86系统中UT可以通过,在arrch64中UT无法通过

Describe the expected behavior / 预期结果 (Mandatory / 必填)

UT在所有架构中保持一致

[2026-05-09 09:27:43] ===== 65 === 21 4 1 13851 16 16 1024 16 16 512 13851 1 1 1 1 0 0 33686528 0 16 1 0 21 0
[2026-05-09 09:27:43] [ OK ] BatchMatMulV3950/BatchMatMulV3TilingRuntime.general_cases/12 (0 ms)
[2026-05-09 09:27:43] BatchMatMulV3TilingRuntime TearDown
[2026-05-09 09:27:43] [----------] 13 tests from BatchMatMulV3950/BatchMatMulV3TilingRuntime (6 ms total)
[2026-05-09 09:27:43]
[2026-05-09 09:27:43] [----------] Global test environment tear-down
[2026-05-09 09:27:43] Global Environment TearDown
[2026-05-09 09:27:43] [==========] 81 tests from 5 test suites ran. (27 ms total)
[2026-05-09 09:27:43] [ PASSED ] 80 tests.
[2026-05-09 09:27:43] [ FAILED ] 1 test, listed below:
[2026-05-09 09:27:43] [ FAILED ] BatchMatMulV3TilingRuntime.910d_transpose_non_contiguous_cases2

Special notes for this issue/备注 (Optional / 选填)

likedislike
jgxjgx成员
5月9日 添加了label:bug-report
jgx
jgx成员
5月9日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
5月9日 将 jgx12 设为负责人
jgxjgx成员
5月9日 修改标题为 “[Bug-Report|缺陷反馈]: 更改bmm算子ut”,原标题为“[Bug-Report|缺陷反馈]: 删除bmm算子ut”
CANN-robotCANN-robot成员
5月9日 关闭了 issue
CANN-robotCANN-robot成员
5月12日 添加了label:resolved