Replies: 1 comment 11 replies
-
|
你已经用对了中国专用的 Dockerfile,它已经预配置了加速源。如果第一步还是很慢,很可能是 基础镜像拉取慢(从 DaoCloud 拉取 vllm 镜像)。 可以尝试以下方法: 1. 确认没有开代理/VPN 2. 手动预拉取基础镜像 docker pull docker.m.daocloud.io/vllm/vllm-openai:v0.10.1.1先单独拉取,观察是否有网络问题。 3. 如果 pip 安装步骤卡住很久 python3 -m pip install "pip<24.1" -U目前 MinerU 暂时没有提供预构建的 Docker 镜像,所以只能本地构建。这个 china/Dockerfile 已在国内网络测试通过,配置本身应该是正确的。 如果能具体说明是哪一步慢(拉取基础镜像、安装 pip 包、还是下载模型),可以更有针对性地排查。 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
下载 Dockerfile
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/Dockerfile
构建镜像
docker build -t mineru:latest -f Dockerfile . 这个第一步下载太慢了
启动容器
docker run --gpus all --shm-size 32g
-p 30000:30000 -p 7860:7860 -p 8000:8000
--ipc=host -it mineru:latest /bin/bash
Beta Was this translation helpful? Give feedback.
All reactions