已关闭
[Bug-Report|缺陷反馈]: 开启精度工具后,发现expandFunction pass出现精度问题 #600
dice创建于 3月5日关闭于 3月26日
3月5日 将 DCGDDD 设为负责人
3月5日 issue类型由 任务 改变为 缺陷
3月5日 添加了label:Interpreter
3月6日 修改了issue 的描述
gaoxingwang
3月6日 评论:
3月6日 评论:
已安排处理


3月9日 关联了看板:PyPTO
3月9日 将 Immutable01 设为负责人
杨旭
3月9日 评论:
3月9日 评论:
请 @Immutable01 协助处理一下~


3月9日 移除了负责人 DCGDDD
高前程
3月16日 评论:
3月16日 评论:
精度工具定位过程:
1.比对精度工具输出与上板输出结果,两者一致,明确无误报情况。
2.比对精度工具pass4前与golden结果,两者一致,说明用户算子编写正确,pass4前,框架处理正确,明确问题源头在pass4 ExpandFunction
3.比对pass4与pass3精度工具Dump结果,发现在INDEX_ADD之后,数据首次出现差异,明确具体出错op
后续由pass定位


3月16日 将 KaiqiJin 设为负责人
3月16日 移除了负责人 Immutable01
3月16日 添加了label:Passes
Catherie
3月24日 评论:
3月24日 评论:
index_add算子按照当前的切分逻辑,当srcInput的axis轴维度大于selfInput的维度,会产生不合理的切分,进而导致精度问题。
修改后验证无问题:
https://gitcode.com/cann/pypto/pull/1898


3月25日 关联了pull request:fix(Pass): Sync the bug fix to the 0.2.0 branch
3月25日 关联了里程碑:0.2.0
3月25日 关联了pull request:fix(Pass): Sync the bug fix to the 0.2.0 branch
dice
3月26日 评论:
3月26日 评论:
本地验证通过


3月26日 issue状态由 待办的 改变为 已完成
3月26日 关闭了 issue
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
算子代码如下:
精度工具打印如下,后续的pass存在同样的精度问题,同时上板结果存在精度问题。
Environment / 环境信息 (Mandatory / 必填)
npu: 910b
cann: 8.5.0
pypto: 33c49f1c
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
略
Describe the expected behavior / 预期结果 (Mandatory / 必填)
pass精度校验通过,上板精度正确
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
略
Special notes for this issue/备注 (Optional / 选填)