使用香橙派镜像(CANN 7.0)升级到8.0.RC2.alpha003,安装mindspore 2.3.1验证失败
收藏回复举报
使用香橙派镜像(CANN 7.0)升级到8.0.RC2.alpha003,安装mindspore 2.3.1验证失败
t('forum.solved') 已解决
发表于2025-02-08 08:19:35
0 查看

报错如下:

(mindnlp) HwHiAiUser@orangepiaipro:~$ env | grep LOCAL
(mindnlp) HwHiAiUser@orangepiaipro:~$ pip list |grep mindspore
mindspore       2.3.1
mindspore-lite  2.2.11
(mindnlp) HwHiAiUser@orangepiaipro:~$ export MS_VERSION=2.3.1
(mindnlp) HwHiAiUser@orangepiaipro:~$ ^C
(mindnlp) HwHiAiUser@orangepiaipro:~$ export GLOG_v=2
(mindnlp) HwHiAiUser@orangepiaipro:~$ python -c "import mindspore;mindspore.set_context(device_target='Ascend');mindspore.run_check()"
/home/HwHiAiUser/.conda/envs/mindnlp/lib/python3.9/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/home/HwHiAiUser/.conda/envs/mindnlp/lib/python3.9/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  return self._float_to_str(self.smallest_subnormal)
/home/HwHiAiUser/.conda/envs/mindnlp/lib/python3.9/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/home/HwHiAiUser/.conda/envs/mindnlp/lib/python3.9/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  return self._float_to_str(self.smallest_subnormal)
MindSpore version:  2.3.1
MindSpore running check failed.
Ascend kernel runtime initialization failed. The details refer to 'Ascend Error Message'.

----------------------------------------------------
- Framework Error Message:
----------------------------------------------------
Malloc device memory failed, free memory size is less than half of total memory size.Device 0 Device HBM total size:16367894528 Device HBM free size:706609152 may be other processes occupying this card, check as: ps -ef|grep python

----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.cc:358 Init
mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_memory_adapter.cc:66 Initialize

(mindnlp) HwHiAiUser@orangepiaipro:~$ ^C

具体安装过程参见 https://zhuanlan.zhihu.com/p/21167147008 第四部分:四、使用香橙派官网镜像

本帖最后由 匿名用户 于 2025/02/08 10:30:31 编辑

我要发帖子