Skip to content

Commit 0a28874

Browse files
authored
Merge pull request #4458 from myhloli/dev
Fix duplicate instruction in Cambricon.md
2 parents 0af0080 + 538280f commit 0a28874

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/zh/usage/acceleration_cards/Cambricon.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ docker run --name mineru_docker \
6262

6363
>[!TIP]
6464
> 请根据实际情况选择使用`vllm``lmdeploy`版本的镜像,如需使用`vllm`,请执行以下操作:
65+
>
6566
> - 替换上述命令中的`mineru:mlu-lmdeploy-latest``mineru:mlu-vllm-latest`
67+
>
6668
> - 进入容器后,通过以下命令切换venv环境:
6769
> ```bash
6870
> source /torch/venv3/pytorch_infer/bin/activate
6971
> ```
70-
> 切换成功后,您可以在命令行前看到`(pytorch_infer)`的标识,这表示您已成功进入`vllm`的虚拟环境。
72+
>
73+
> - 切换成功后,您可以在命令行前看到`(pytorch_infer)`的标识,这表示您已成功进入`vllm`的虚拟环境。
7174
7275
执行该命令后,您将进入到Docker容器的交互式终端,您可以直接在容器内运行MinerU相关命令来使用MinerU的功能。
7376
您也可以直接通过替换`/bin/bash`为服务启动命令来启动MinerU服务,详细说明请参考[通过命令启动服务](https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#apiwebuihttp-clientserver)。
@@ -166,4 +169,4 @@ docker run --name mineru_docker \
166169
167170
>[!TIP]
168171
>Cambricon加速卡指定可用加速卡的方式与NVIDIA GPU类似,请参考[使用指定GPU设备](https://opendatalab.github.io/MinerU/zh/usage/advanced_cli_parameters/#cuda_visible_devices)章节说明,
169-
>将环境变量`CUDA_VISIBLE_DEVICES`替换为`MLU_VISIBLE_DEVICES`即可。
172+
>将环境变量`CUDA_VISIBLE_DEVICES`替换为`MLU_VISIBLE_DEVICES`即可。

0 commit comments

Comments
 (0)