Commit f51c1acc authored by myhloli's avatar myhloli
Browse files

docs: update README files with Docker run command for GPU support

parent 1dc7d603
......@@ -513,6 +513,12 @@ If you need to use **sglang to accelerate VLM model inference**, you can choose
```bash
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/global/Dockerfile
docker build -t mineru-sglang:latest -f Dockerfile .
docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
--ipc=host \
mineru-sglang:latest \
mineru-sglang-server --host 0.0.0.0 --port 30000
```
> [!TIP]
......
......@@ -503,6 +503,12 @@ uv pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple
```bash
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/Dockerfile
docker build -t mineru-sglang:latest -f Dockerfile .
docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
--ipc=host \
mineru-sglang:latest \
mineru-sglang-server --host 0.0.0.0 --port 30000
```
> [!TIP]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment