Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
d238f52d
Commit
d238f52d
authored
Jul 14, 2025
by
myhloli
Browse files
docs: enhance tips and notes in docker_deployment.md for better user guidance
parent
3ff5bb3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
docs/zh/quick_start/docker_deployment.md
docs/zh/quick_start/docker_deployment.md
+5
-2
No files found.
docs/zh/quick_start/docker_deployment.md
View file @
d238f52d
...
@@ -18,6 +18,7 @@ docker build -t mineru-sglang:latest -f Dockerfile .
...
@@ -18,6 +18,7 @@ docker build -t mineru-sglang:latest -f Dockerfile .
Mineru的docker使用了
`lmsysorg/sglang`
作为基础镜像,因此在docker中默认集成了
`sglang`
推理加速框架和必需的依赖环境。因此在满足条件的设备上,您可以直接使用
`sglang`
加速VLM模型推理。
Mineru的docker使用了
`lmsysorg/sglang`
作为基础镜像,因此在docker中默认集成了
`sglang`
推理加速框架和必需的依赖环境。因此在满足条件的设备上,您可以直接使用
`sglang`
加速VLM模型推理。
> [!NOTE]
> [!NOTE]
> 使用`sglang`加速VLM模型推理需要满足的条件是:
> 使用`sglang`加速VLM模型推理需要满足的条件是:
>
> - 设备包含Turing及以后架构的显卡,且可用显存大于等于8G。
> - 设备包含Turing及以后架构的显卡,且可用显存大于等于8G。
> - 物理机的显卡驱动应支持CUDA 12.6或更高版本,`Blackwell`平台应支持CUDA 12.8及更高版本,可通过`nvidia-smi`命令检查驱动版本。
> - 物理机的显卡驱动应支持CUDA 12.6或更高版本,`Blackwell`平台应支持CUDA 12.8及更高版本,可通过`nvidia-smi`命令检查驱动版本。
> - docker中能够访问物理机的显卡设备。
> - docker中能够访问物理机的显卡设备。
...
@@ -58,9 +59,11 @@ wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/compose.yaml
...
@@ -58,9 +59,11 @@ wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/compose.yaml
```
bash
```
bash
docker compose
-f
compose.yaml
--profile
mineru-api up
-d
docker compose
-f
compose.yaml
--profile
mineru-api up
-d
```
```
在浏览器中访问
`http://<server_ip>:8000/docs`
查看API文档。
>[!TIP]
>在浏览器中访问 `http://<server_ip>:8000/docs` 查看API文档。
-
启动 Gradio WebUI 服务:
-
启动 Gradio WebUI 服务:
```
bash
```
bash
docker compose
-f
compose.yaml
--profile
mineru-gradio up
-d
docker compose
-f
compose.yaml
--profile
mineru-gradio up
-d
```
```
在浏览器中访问
`http://<server_ip>:7860`
使用 Gradio WebUI 或访问
`http://<server_ip>:7860/?view=api`
使用 Gradio API。
>[!TIP]
\ No newline at end of file
>在浏览器中访问 `http://<server_ip>:7860` 使用 Gradio WebUI 或访问 `http://<server_ip>:7860/?view=api` 使用 Gradio API。
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment