Atlas 200I DK A2 中 Hccl set deterministic mode 错误

使用官方 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

用户您好,欢迎安装使用MindSpore,已经收到安装报错问题,会尽快分析解答~

2.7.0 对应的cann版本

CANN 8.2.RC1

CANN 8.1.RC1

CANN 8.0.0

你安装的8.2.RC2不匹配,尽量按照版本匹配来安装.

此外,安装cann包需要安装toolkit和算子包.driver和固件升级的时候也需要配套.

用户您好,MindSpore支撑人已经分析并给出了问题的原因,由于较长时间未看到您采纳回答,这里版主将进行采纳回答的结帖操作,如果还其他疑问请发新帖子提问,谢谢支持~

此话题已在最后回复的 60 分钟后被自动关闭。不再允许新回复。