From fbfb0cbf9695ae2fc1015e8f7393c517bf9d89a5 Mon Sep 17 00:00:00 2001 From: nepdada Date: Tue, 12 Aug 2025 16:54:17 +0800 Subject: [PATCH] update docker_install docs --- install/mindspore_ascend_install_docker.md | 2 +- install/mindspore_ascend_install_docker_en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/mindspore_ascend_install_docker.md b/install/mindspore_ascend_install_docker.md index 4ab32cce75..34733f66d6 100644 --- a/install/mindspore_ascend_install_docker.md +++ b/install/mindspore_ascend_install_docker.md @@ -166,7 +166,7 @@ print(ops.add(x, y)) ## 注意事项 -- 在非root用户模式下创建容器时,必须确保目标NPU设备未被其他非root容器占用。启动后可以执行 `npu-smi info` 命令验证设备状态,若目标NPU设备已被其他非root容器占用,则会出现以下报错,可以在创建容器时加上 `-u root`。 +- 在非root用户模式下创建容器时,必须确保目标NPU设备未被其他非root容器占用。启动后可以执行 `npu-smi info` 命令验证设备状态,若目标NPU设备已被其他非root容器占用,则会出现以下报错,可以在创建容器时加上 `-u root --privileged`。 ```text DrvMngGetConsoleLogLevel failed. (g_conLogLevel=3) diff --git a/install/mindspore_ascend_install_docker_en.md b/install/mindspore_ascend_install_docker_en.md index 987a43fcb7..1487892029 100644 --- a/install/mindspore_ascend_install_docker_en.md +++ b/install/mindspore_ascend_install_docker_en.md @@ -165,7 +165,7 @@ When you need to update the MindSpore version: ## Notes -- When deploying containers in non-root user mode, it is essential to verify that the target NPU device is not occupied by other unprivileged containers. After startup, execute the `npu-smi` info command to check device status. If the target NPU device is already allocated to another non-root container, the following error will occur, You can add `-u root` when creating the container. +- When deploying containers in non-root user mode, it is essential to verify that the target NPU device is not occupied by other unprivileged containers. After startup, execute the `npu-smi` info command to check device status. If the target NPU device is already allocated to another non-root container, the following error will occur, You can add `-u root --privileged` when creating the container. ```text DrvMngGetConsoleLogLevel failed. (g_conLogLevel=3) -- Gitee