昇腾故障案例详情页

安装ToolBox成功,但使用ascend-dmi工具失败

2024/06/19

118

暂无评分

问题信息

问题来源产品大类产品子类关键字
官方安装部署MindX DLToolBox、性能测试、vNPU、Failed to initialize the device

问题现象描述

安装ToolBox成功后,使用ascend-dmi工具进行带宽测试,报错提示Failed to initialize the device,Check the environment configuration dependency。

原因分析

该NPU进行过虚拟化操作,ascend-dmi不支持对vNPU进行性能测试。

解决措施

  1. 执行以下命令,查询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        |
    +-------------------------------------------------------------------------------+

  2. 根据查询的vNPU信息,销毁vNPU。

    npu-smi set -t destroy-vnpu -i id -c chip_id -v vnpu_id

本页内容

该页面对您有帮助吗?
我要评分