Fix duplicate instruction in Cambricon.md

Removed duplicate instruction about entering the vllm virtual environment.
This commit is contained in:
Xiaomeng Zhao
2026-01-30 23:32:43 +08:00
committed by GitHub
parent 25058ea982
commit 538280f589

View File

@@ -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`即可。
>将环境变量`CUDA_VISIBLE_DEVICES`替换为`MLU_VISIBLE_DEVICES`即可。