This commit is contained in:
parent
38e7c86f17
commit
3783b1b6bc
|
|
@ -131,7 +131,7 @@ 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 && \
|
||||
rm -f /tmp/wheels/torch-2.7.1a0+*.whl && \ # 💥 删除旧的 dev 构建 wheel
|
||||
rm -f /tmp/wheels/torch-2.7.1a0+*.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/* && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue