File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
docs/zh/usage/acceleration_cards Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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` 即可。
You can’t perform that action at this time.
0 commit comments