From e47c87638ae4b61f1d64dd802c94ad22bfa17ea0 Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 4 Jul 2025 07:57:10 +0800 Subject: [PATCH] . --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7068394..4b66900 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,8 +130,8 @@ COPY --from=builder-extras /wheels /tmp/wheels #RUN python3 -m pip install --no-cache-dir /tmp/wheels/* && rm -rf /tmp/wheels # ✅ 优先装你自编的 torch,避免被 PyPI 上的覆盖 RUN ls -lh /tmp/wheels && \ - python3 -m pip install --no-cache-dir /tmp/wheels/torch*.whl && \ - python3 -m pip install /tmp/wheels/vllm-*.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/wheels/* && \ python3 -c "from torch.distributed import Backend; print('✅ Runtime torch distributed OK, GLOO =', Backend.GLOO)" && \ rm -rf /tmp/wheels