已关闭
[Bug-Report|缺陷反馈]: qbmmia当输入的groupSize为0时,inputSizeK推导不正确 #719
Crrryyyy创建于  2月2日关闭于  2月3日
Crrryyyy
Crrryyyy成员
2月2日 创建

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

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

修改groupSize推导逻辑,当输入的groupSize为0时,会自动进行推导,当量化类型是e8m0时,x1 Scale的shape应该为[m, k/2, 2] 或者[k/2, m, 2],inputSizeK的值应该再乘以2,否则会推导错误

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

Ascend950
cann9.0.0

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

当输入的groupSize为0时,进行自动推导时,推导结果为[1,1,64]

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

groupSize能够正确推导为[1,1,32]

image.png

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

likedislike
CrrryyyyCrrryyyy成员
2月2日 关联了pull request:修改qbmmia算子groupSize推导逻辑
Crrryyyy
Crrryyyy成员
2月2日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
2月2日 将 Crrryyyy 设为负责人
CrrryyyyCrrryyyy成员
2月3日 修改了issue 的描述
CrrryyyyCrrryyyy成员
2月3日 修改了issue 的描述
CANN-robotCANN-robot成员
2月3日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved