From 8816a06369d6f5ac32e52a1c8608b51792be39f2b0c537667bf89f697314d280 Mon Sep 17 00:00:00 2001 From: tlg Date: Sun, 5 Apr 2026 14:07:14 +0200 Subject: [PATCH] fix: add --break-system-packages for pip in container PyTorch base image uses PEP 668 externally-managed Python. Co-Authored-By: Claude Opus 4.6 (1M context) --- kischdle/llmux/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kischdle/llmux/Dockerfile b/kischdle/llmux/Dockerfile index 9bff56b..5fb5942 100644 --- a/kischdle/llmux/Dockerfile +++ b/kischdle/llmux/Dockerfile @@ -8,10 +8,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install Python dependencies COPY requirements.txt /tmp/requirements.txt -RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt +RUN pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt && rm /tmp/requirements.txt # llama-cpp-python needs CUDA build -RUN CMAKE_ARGS="-DGGML_CUDA=on" pip install --no-cache-dir --force-reinstall llama-cpp-python>=0.3.0 +RUN CMAKE_ARGS="-DGGML_CUDA=on" pip install --no-cache-dir --break-system-packages --force-reinstall llama-cpp-python>=0.3.0 # Copy application code COPY llmux/ /app/llmux/