安装ToolBox成功,但使用ascend-dmi工具失败
2024/06/19
118
问题信息
问题来源 | 产品大类 | 产品子类 | 关键字 |
---|---|---|---|
官方 | 安装部署 | MindX DL | ToolBox、性能测试、vNPU、Failed to initialize the device |
问题现象描述
安装ToolBox成功后,使用ascend-dmi工具进行带宽测试,报错提示Failed to initialize the device,Check the environment configuration dependency。
原因分析
该NPU进行过虚拟化操作,ascend-dmi不支持对vNPU进行性能测试。
解决措施
- 执行以下命令,查询NPU的虚拟化信息。
npu-smi info -t info-vnpu -i id -c chip_id
回显示例如下:+-------------------------------------------------------------------------------+ | NPU resource static info as follow: | | Format:Free/Total NA: Currently, query is not supported. | | AICORE Memory AICPU VPC VENC VDEC JPEGD JPEGE PNGD | | GB | |===============================================================================| | 10/20 30/64 4/7 5/9 0/0 1/2 12/24 2/4 NA/NA | +-------------------------------------------------------------------------------+ | Total number of vnpu: 1 | +-------------------------------------------------------------------------------+ | Vnpu ID | Vgroup ID | Container ID | Status | Template Name | +-------------------------------------------------------------------------------+ | 100 | 0 | 000000000000 | 0 | vir10_3c_32g | +-------------------------------------------------------------------------------+
- 根据查询的vNPU信息,销毁vNPU。
npu-smi set -t destroy-vnpu -i id -c chip_id -v vnpu_id
本页内容