error:UpdateOutputDeviceInfo gpu环境问题
收藏回复举报
error:UpdateOutputDeviceInfo gpu环境问题
t('forum.solved') 已解决
发表于2024-03-12 14:10:41
0 查看

环境

Miniconda conda3

Python3.8(ubuntu20.04)

Cuda  11.6

GPURTX 3080 Ti(12GB) * 1升降配置

CPU12 vCPU Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz

mindspore 2.2.11

问题

在mindspore-cpu版本无报错,在gpu版本更新梯度时出现

{
    "name": "RuntimeError",
    "message": "Output device address's size 1 is not equal output_size_list's size 2\n\n----------------------------------------------------\n- C++ Call Stack: (For framework developers)\n----------------------------------------------------\nmindspore/ccsrc/runtime/pynative/run_op_helper.cc:644 UpdateOutputDeviceInfo\n",

解决

在网上没有该类报错的信息,报错日志也不详细,无法推断具体问题。有没有方法可以帮助定位具体问题以及该类报错出现的可能原因。

我要发帖子