1.8K Star 6.7K Fork 3K

GVPMindSpore / mindspore

 / 详情

Topk算子报错

DONE
Bug-Report
Opened this issue  
2022-01-28 17:28
name about labels
Bug Report Use this template for reporting a bug kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU):

/device ascend

  • Software Environment:
    -- MindSpore version (source or binary):1.5.1

Related testcase

多媒体智能引擎(基于VIT的业务网络)

Describe the current behavior

cast(int32->fp16)+argmax(float16 input)精度异常,使用Topk算子规避, 但该算子报错
输入图片说明

Comments (4)

zhangyuchap createdBug-Report

Please assign maintainer to check this issue.
请为此issue分配处理人。
@fangwenyi @chengxiaoli

Please add labels (comp or sig), also you can visit https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md to find more.
为了让代码尽快被审核,请您为Pull Request打上 组件(comp)或兴趣组(sig) 标签,打上标签的PR可以直接推送给责任人进行审核。
更多的标签可以查看https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md
以组件相关代码提交为例,如果你提交的是data组件代码,你可以这样评论:
//comp/data
当然你也可以邀请data SIG组来审核代码,可以这样写:
//sig/data
另外你还可以给这个PR标记类型,例如是bugfix或者是特性需求:
//kind/bug or //kind/feature
恭喜你,你已经学会了使用命令来打标签,接下来就在下面的评论里打上标签吧!

anzhengqi changed description
yuchaojie set assignee to yuchaojie
yuchaojie changed issue state from TODO to WIP
yuchaojie set priority to P3
  1. 根因分析
    TopkSplit pass中未针对int类型输入进行校验

  2. 修改方法
    TopkSplit pass中添加输入数据类型校验

  3. 提交PR
    master: !29583:add dtype check in TopkSplit
    r1.6: !29649: fix some ir_fusion bugs

yuchaojie changed issue state from WIP to VALIDATION
fangwenyi changed issue state from VALIDATION to DONE

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(4)
6575381 anzhengqi 1585657544
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

Search

113223 674803ea 1850385 170725 2838fb2a 1850385