npu-smi info npu get board type failed. ret is -9005不同的容器不同的结果,有的有问题,有的没问题。
点赞0收藏0回复0
分享
举报
npu-smi info npu get board type failed. ret is -9005不同的容器不同的结果,有的有问题,有的没问题。
已解决
发表于2025-06-02 10:37:29
0 查看
1.有问题的
1.1运行dacker
docker run -it --rm -e ASCEND_VISIBLE_DEVICES=0,1 --pids-limit 409600 swr.cn-south-1.myhuaweicloud.com/ascendhub/cann:8.1.rc1-310p-openeuler22.03-py3.10 /bin/bash
1.2运行npu-smi
Welcome to 5.15.0-126-generic
System information as of time: Mon Jun 2 02:18:15 UTC 2025
System load: 1.35
Memory used: 5.6%
Swap used: 0%
Usage On: 35%
Users online: 0
[root@030d7c6cfe72 /]# npu-smi info
npu get board type failed. ret is -9005
2.没有问题的
2.1运行dacker
docker run -it --rm -e ASCEND_VISIBLE_DEVICES=0,1 --pids-limit 409600 swr.cn-south-1.myhuaweicloud.com/ascendhub/mindie:1.0.0-300I-Duo-py311-openeuler24.03-lts /bin/bash
2.2运行npu-smi
Welcome to 5.15.0-126-generic
System information as of time: Mon Jun 2 10:26:12 CST 2025
System load: 1.34
Memory used: 6.2%
Swap used: 0%
Usage On: 35%
Users online: 0
[root@28a5fcbbac63 /]# npu-smi info
+--------------------------------------------------------------------------------------------------------+
| npu-smi v1.0 Version: 24.1.rc4.b999 |
+-------------------------------+-----------------+------------------------------------------------------+
| NPU Name | Health | Power(W) Temp(C) Hugepages-Usage(page) |
| Chip Device | Bus-Id | AICore(%) Memory-Usage(MB) |
+===============================+=================+======================================================+
| 119 310P1 | OK | NA 46 0 / 0 |
| 0 0 | 0000:77:00.0 | 0 1771 / 89608 |
+-------------------------------+-----------------+------------------------------------------------------+
| 119 310P1 | OK | NA 41 0 / 0 |
| 1 1 | 0000:77:00.0 | 0 1284 / 89085 |
+===============================+=================+======================================================+
+-------------------------------+-----------------+------------------------------------------------------+
| NPU Chip | Process id | Process name | Process memory(MB) |
+===============================+=================+======================================================+
| No running processes found in NPU 119 |
+===============================+=================+======================================================+
1.有问题的
1.1运行dacker
1.2运行npu-smi
2.没有问题的
2.1运行dacker
2.2运行npu-smi