已关闭
[Bug-Report|缺陷反馈]: dispatch算子存在对nan取绝对值的bug #3556
李政君创建于  7月3日关闭于  7月6日
李政君成员
7月3日 创建

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

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

dispatch算子CalTokenSendExpertCnt函数对做减法之后的张量内存重解读,expert ids做减法之后出现负数如-1,内存重解读位fp32后为nan值,调abs接口时对nan做abs

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

a3及a5

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

必现

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

对合法值取绝对值

看代码即可

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

likedislike
李李政君成员
7月3日 添加了label:bug-report
李李政君成员
7月3日 关联了pull request:在a5上修复对nan取绝对值的bug
weihao18成员
7月3日 评论:

/assign @wanker

likedislike
CANN-robotCANN-robot成员
7月3日 将 wanker 设为负责人
李李政君成员
7月4日 issue状态由 进行中 改变为 已拒绝
李李政君成员
7月4日 关闭了 issue
李李政君成员
7月6日 issue状态由 已拒绝 改变为 已确认
李李政君成员
7月6日 重新打开了 issue
CANN-robotCANN-robot成员
7月6日 关闭了 issue
CANN-robotCANN-robot成员
7月6日 添加了label:Accepted
CANN-robotCANN-robot成员
7月6日 添加了label:resolved