From 538280f589e8a9eba0d4f78412c86f208646e6a8 Mon Sep 17 00:00:00 2001 From: Xiaomeng Zhao Date: Fri, 30 Jan 2026 23:32:43 +0800 Subject: [PATCH] Fix duplicate instruction in Cambricon.md Removed duplicate instruction about entering the vllm virtual environment. --- docs/zh/usage/acceleration_cards/Cambricon.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/zh/usage/acceleration_cards/Cambricon.md b/docs/zh/usage/acceleration_cards/Cambricon.md index ff87e893..e13af1d4 100644 --- a/docs/zh/usage/acceleration_cards/Cambricon.md +++ b/docs/zh/usage/acceleration_cards/Cambricon.md @@ -62,12 +62,15 @@ docker run --name mineru_docker \ >[!TIP] > 请根据实际情况选择使用`vllm`或`lmdeploy`版本的镜像,如需使用`vllm`,请执行以下操作: +> > - 替换上述命令中的`mineru:mlu-lmdeploy-latest`为`mineru:mlu-vllm-latest` +> > - 进入容器后,通过以下命令切换venv环境: > ```bash > source /torch/venv3/pytorch_infer/bin/activate > ``` -> 切换成功后,您可以在命令行前看到`(pytorch_infer)`的标识,这表示您已成功进入`vllm`的虚拟环境。 +> +> - 切换成功后,您可以在命令行前看到`(pytorch_infer)`的标识,这表示您已成功进入`vllm`的虚拟环境。 执行该命令后,您将进入到Docker容器的交互式终端,您可以直接在容器内运行MinerU相关命令来使用MinerU的功能。 您也可以直接通过替换`/bin/bash`为服务启动命令来启动MinerU服务,详细说明请参考[通过命令启动服务](https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#apiwebuihttp-clientserver)。 @@ -166,4 +169,4 @@ docker run --name mineru_docker \ >[!TIP] >Cambricon加速卡指定可用加速卡的方式与NVIDIA GPU类似,请参考[使用指定GPU设备](https://opendatalab.github.io/MinerU/zh/usage/advanced_cli_parameters/#cuda_visible_devices)章节说明, ->将环境变量`CUDA_VISIBLE_DEVICES`替换为`MLU_VISIBLE_DEVICES`即可。 \ No newline at end of file +>将环境变量`CUDA_VISIBLE_DEVICES`替换为`MLU_VISIBLE_DEVICES`即可。