and another

This commit is contained in:
2026-04-15 07:28:47 +00:00
parent 2cfd5f5027
commit 0b81a87f71

View File

@@ -11,11 +11,8 @@ COPY vllm_patches/hf.py /usr/local/lib/python3.12/dist-packages/vllm/renderers/h
# Install LMCache for KV cache offloading / sharing across nodes
# Build from source to match CUDA 13 (pip wheel is CUDA 12)
RUN apt-get update && apt-get install -y --no-install-recommends git && \
RUN apt-get update && apt-get install -y git && \
git clone --depth 1 https://github.com/LMCache/LMCache.git /tmp/lmcache && \
cd /tmp/lmcache && \
pip install --no-cache-dir --no-build-isolation -e . && \
rm -rf /tmp/lmcache && \
apt-get remove -y git && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
pip install --no-cache-dir -e . && \
rm -rf /tmp/lmcache