Closed
[Bug-Report|缺陷反馈]: 修复quant_compressor,cachemode=1,coff=2场景下batch一致性下,切片state_cache刷新错误bug #6112
蔡政洋Add on  Oct 13Closed at  Oct 14
蔡政洋
蔡政洋Collaborators
Oct 13 Create

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

quant_compressor的TTK测试文件attention/quant_compressor/tests/assets/impl/inputs.py,未同步compressor相关修改,导致在cachemode=1,coff=2场景下一致性切片state_cache输入刷新错误,导致该场景下case测试batch一致性失败

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

昇腾硬件型号:Ascend950
CANN 版本:9.2.0
Python 版本:3.10

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

构造两条可比较batch一致性的cachemode=1,coff=2的quant_compressor用例,进行测试,两用例batch一致性切片比较fail

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

batch一致性结果pass

构造两条可比较batch一致性的cachemode=1,coff=2的quant_compressor用例,进行测试,两用例batch一致性切片比较fail

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

likedislike
周云飞
周云飞Collaborators
Oct 13 Comments:
likedislike
CANN-robotCANN-robotCollaborators
Oct 13 Assign caizhengyang as responsible person
CANN-robotCANN-robotCollaborators
Oct 14 Close issue
CANN-robotCANN-robotCollaborators
Oct 14 Added label: resolved