Skip LMCache CUDA extensions (NO_CUDA_EXT=1)

PyTorch 2.9.0+cu130 was compiled with CUDA 12.8 but container has CUDA 13.0.
Skip CUDA extension build to avoid version mismatch.
This commit is contained in:
2026-04-03 08:05:44 +00:00
parent 360b0dea58
commit 4860bcee41

View File

@@ -98,7 +98,7 @@ RUN git clone https://github.com/LMCache/LMCache.git && \
# PyTorch version is dated in LMCache
sed -i '/torch/d' pyproject.toml && \
uv pip install setuptools_scm && \
MAX_JOBS=8 python -m build --wheel --no-isolation && \
NO_CUDA_EXT=1 MAX_JOBS=8 python -m build --wheel --no-isolation && \
cp dist/*.whl /wheels/