Closed
[Bug-Report|缺陷反馈]:QuantMaxV2算子多个UT用例失败 #8873
lingdong0725Add on  5 days agoClosed at  5 days ago
lingdong0725
lingdong0725Collaborators
5 days ago Create

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

QuantMaxV2InferShapeTest.quant_max_v2_infershape_dynamic_group
QuantMaxV2InferShapeTest.quant_max_v2_infershape_group_count_invalid
QuantMaxV2InferShapeTest.quant_max_v2_infershape_group_rank_invalid
QuantMaxV2InferShapeTest.quant_max_v2_infershape_dynamic_group
QuantMaxV2InferShapeTest.quant_max_v2_infershape_group_count_invalid
QuantMaxV2InferShapeTest.quant_max_v2_infershape_group_rank_invalid
用例失败

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

Ascend950DT

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

执行该用例

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

用例成功

NA

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

likedislike
lingdong0725lingdong0725Collaborators
5 days ago Added label: bug-report
lingdong0725lingdong0725Collaborators
5 days ago Associated pull request
yuning_chen
yuning_chenCollaborators
5 days ago Comments:

问题成立。UT 失败通常是算子实现与用例预期不同步(新增/变更后的用例没跟着改),建议先分两类:
①实现问题:用例断言的是正确语义,实现有偏;
②用例问题:实现语义已按资料变更,用例期望未更新,需要同步修用例。

修复建议:①先跑单条失败用例拿到 expect/actual,确认属于哪一类;②若是实现问题,按资料语义修实现并保留用例作为回归;③若是用例滞后,改成按当前资料语义断言,不要放宽成「不报错即通过」;④把失败清单贴到 issue 里(用例名 + 期望/实际),便于评审。

本条要点: Describe the current behavior / 问题描述 (Mandatory / 必填)

likedislike
yuning_chenyuning_chenCollaborators
5 days ago Assign jiaoyiming as responsible person
yuning_chen
yuning_chenCollaborators
5 days ago Comments:

您好,问题已收到,当前 @jiaoyiming 正在处理中。

likedislike
CANN-robotCANN-robotCollaborators
5 days ago Close issue
CANN-robotCANN-robotCollaborators
5 days ago changed custom state from 待办的 to 已完成
CANN-robotCANN-robotCollaborators
5 days ago Added label: resolved