From 6ea2139b829b09c39cbe6bac2c5dbf3b5d819c4f Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 25 Jul 2025 12:32:56 +0800 Subject: [PATCH] . --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b45647..4aca2a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,7 +110,7 @@ RUN pip wheel \ # ── ✅ 打包 gradio UI 所需依赖 ──────────────────────────────────────────────── RUN pip wheel gradio requests -w /wheels - + ############################################################################### # Stage 2 ─ runtime:极简运行镜像,仅离线安装 wheel ############################################################################### @@ -140,6 +140,7 @@ COPY --from=builder-extras /tmp/sgl_kernel_wheel /tmp/sgl_kernel_wheel # ✅ 优先装你自编的 torch,避免被 PyPI 上的覆盖 RUN ls -lh /tmp/wheels && \ rm -f /tmp/wheels/torch-2.7.1a0+*.whl && \ + rm -f /tmp/wheels/huggingface_hub-0.33.4*.whl && \ python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/torch*.whl && \ python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/vllm-*.whl && \ python3 -m pip install --no-cache-dir --no-deps /tmp/sgl_kernel_wheel/*.whl && \