2K Star 7.2K Fork 3.5K

GVPMindSpore / mindspore

 / 详情

boost简易模式加载,导致/models/official/cv/resnet模型在GPU上训练报错

DONE
Bug-Report
创建于  
2021-11-11 22:55
name about labels
Bug Report Use this template for reporting a bug kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU): GPU

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/device gpu

  • Software Environment:
    -- MindSpore version (source or binary):1.5.0 conda
    -- Python version (e.g., Python 3.7.5):Python 3.7.5
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):ubuntu18.04
    -- GCC/Compiler version (if compiled from source): GCC 7.5.0

Related testcase

Steps to reproduce the issue

  1. 启动训练命令为:
    bash run_standalone_train_gpu.sh /path/to/cifar-10-batches-bin /path/to/resnet/config/resnet50_cifar10_config.yaml
    mindspore/models/official/cv/resnet/config/
    训练可以正常进行。
  2. 如果使用简易模式启动boost,将"resnet50_cifar10_config.yaml” 中
    “boost_mode”的值由 "O0”改为"O1”或"O2”,单GPU启动训练,程序报错:
    “RuntimeError: mindspore/ccsrc/runtime/device/gpu/kernel_info_setter.cc:83 SupportedTypeList] Unsupported op [Centralization] on GPU

In file /home/dasblue/anaconda3/envs/msgpu/lib/python3.7/site-packages/mindspore/boost/less_batch_normalization.py(81)
x = self.multiplier * x
^”
3.然而使用高阶模式使用boost执行LessBN,训练是OK的。

Describe the current behavior

Describe the expected behavior

Related log / screenshot

Special notes for this issue

评论 (5)

Ming_blue 创建了Bug-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.
为了让问题更快得到响应,请您为该issue打上 组件(comp)或兴趣组(sig) 标签,打上标签的问题可以直接推送给责任人进行处理。更多的标签可以查看
https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md
以组件问题为例,如果你发现问题是data组件造成的,你可以这样评论:
//comp/data
当然你也可以向data SIG组求助,可以这样写:
//comp/data
//sig/data
如果是一个简单的问题,你可以留给刚进入社区的小伙伴来回答,这时候你可以这样写:
//good-first-issue
恭喜你,你已经学会了使用命令来打标签,接下来就在下面的评论里打上标签吧!

i-robot 添加了
 
kind/bug
标签

hello, @Ming_blue @Ming_blue , we suggest you add some labels like:
你好, @Ming_blue @Ming_blue , 建议您为这个issue打上标签:
//comp/device

fangwenyi 任务状态从 TODO 修改为ACCEPTED
fangwenyi 负责人设置为吴逸群
fangwenyi 优先级设置为主要
fangwenyi 移除了
 
kind/bug
标签
fangwenyi 添加了
 
mindspore-assistant
标签
fangwenyi 添加了
 
kind/bug
标签
fangwenyi 里程碑设置为B-SIG-ModelZoo

你好,问题已经转给mindspore开发人员,请耐心等待,谢谢

oacjiewen 负责人吴逸群 修改为linqingke
oacjiewen 添加协作者吴逸群

@Ming_blue 当前boost模式仅支持在Ascend上运行,GPU下缺少该模式所需的部分算子。

linqingke 任务状态从 ACCEPTED 修改为DONE

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
6575151 linqingke 1584444037
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助