使用官方 A200I-DK-A2_desktop-image_1.2.3_ubuntu22.04-aarch64.img.xz镜像,通过 Ascend-hdk-310b-npu-driver-soc_25.2.0_linux-aarch64.run 进行更新后使用 Ascend-cann-toolkit_8.2.RC2_linux-aarch64.run —upgrade进行升级。在本机自带的conda环境中pip安装了mindspore,产生以下报错
(base) root@davinci-mini:~# python -c “import mindspore;mindspore.set_device(‘Ascend’);mindspore.run_check()”
/usr/local/miniconda3/lib/python3.9/site-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class ‘numpy.float64’> type is zero.
setattr(self, word, getattr(machar, word).flat[0])
/usr/local/miniconda3/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)
/usr/local/miniconda3/lib/python3.9/site-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class ‘numpy.float32’> type is zero.
setattr(self, word, getattr(machar, word).flat[0])
/usr/local/miniconda3/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.7.0
[WARNING] DEVICE(157981,dfffc1500020,python):2025-09-27-12:19:32.047.781 [mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_memory_adapter.cc:126] Initialize] Free memory size is less than half of total memory size.Device 0 Device MOC total size:3684941824 Device MOC free size:1271603200 may be other processes occupying this card, check as: ps -ef|grep python
MindSpore running check failed.
Hccl set deterministic mode failed! mode is 0 and error flag is 0
- C++ Call Stack: (For framework developers)
mindspore/ccsrc/plugin/res_manager/ascend/ascend_res_manager.cc:722 SetDeterministic