From 37390d386efaeb8d1976ac24cda691f16e2580c4 Mon Sep 17 00:00:00 2001 From: chenjw28 <792430652@qq.com> Date: Tue, 23 Jun 2026 18:26:24 +0800 Subject: [PATCH] pin mineru[core]==3.4.0 in Dockerfile stage 9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与已验证的补丁B(适配3.4.0 predict_rec.py的ascontiguousarray写法)配套, 避免未来mineru升级破坏RDNA补丁。可复现构建。 Co-Authored-By: Claude --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 83b3b3f..7f7dcd6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -332,7 +332,7 @@ RUN set -ex && \ # =========================================================================== RUN set -ex && \ export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \ - ${VENV}/bin/pip install 'mineru[core]' click gradio httpx cbor2 && \ + ${VENV}/bin/pip install 'mineru[core]==3.4.0' click gradio httpx cbor2 && \ ${VENV}/bin/python -c "import torch; from vllm.engine.arg_utils import AsyncEngineArgs; import mineru; import click; import gradio; import httpx; import cbor2; print('MinerU + Gradio + vllm deep + httpx + cbor2 imports OK')" && \ ${VENV}/bin/mineru-gradio --help >/dev/null