Closed
[Bug-Report|缺陷反馈]: 修复swiglu_group_quant等算子不支持0 token的问题 #7412
liangyu62Add on 26 days agoClosed at 23 days ago
26 days ago Added label: bug-report
26 days ago Assign steppecat as responsible person
25 days ago Associated pull request
23 days ago Close issue
23 days ago Added label: resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
swiglu_group_quant(quant_mode=5)算子、swiglu_group_dual_quant_backwards和swiglu_group_quant_with_dual_axis算子不支持token=0的拦截,需要和小算子保持一致,不能拦截token=0
Environment Information / 环境信息 (Mandatory / 必填)
950
cann9.2.0
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
构造dim0为0的tensor传入
Describe the expected behavior / 预期结果 (Mandatory / 必填)
不拦截0 token
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
input x dim[0] should be greater than 0, got 0.
Special notes for this issue/备注 (Optional / 选填)