From 9d0c509acd46c6a9bdaa1a07cbd3d882d9a66a46 Mon Sep 17 00:00:00 2001 From: Artsiom Siamashka Date: Thu, 2 Apr 2026 14:37:05 +0200 Subject: [PATCH] Removed --system flag --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b0a1dc..a83995d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ WORKDIR /app # Install app Python dependencies first for better layer caching. COPY pyproject.toml README.md /app/ -RUN uv sync --system --no-dev --no-install-project +RUN uv sync --no-dev --no-install-project # Ensure HunyuanVideo source exists in the image. ARG HUNYUAN_REPO=https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5.git @@ -43,15 +43,15 @@ RUN if [ ! -f /app/HunyuanVideo-1.5/requirements.txt ]; then \ fi # Install HunyuanVideo dependencies from upstream README guidance. -RUN uv pip install --system -r /app/HunyuanVideo-1.5/requirements.txt \ - && uv pip install --system --upgrade tencentcloud-sdk-python \ - && uv pip install --system sgl-kernel==0.3.18 +RUN uv pip install -r /app/HunyuanVideo-1.5/requirements.txt \ + && uv pip install --upgrade tencentcloud-sdk-python \ + && uv pip install sgl-kernel==0.3.18 # Optional attention backends from Hunyuan docs. # Build with: --build-arg INSTALL_OPTIONAL_ATTENTION=1 ARG INSTALL_OPTIONAL_ATTENTION=0 RUN if [ "$INSTALL_OPTIONAL_ATTENTION" = "1" ]; then \ - uv pip install --system flash-attn --no-build-isolation && \ + uv pip install flash-attn --no-build-isolation && \ git clone --depth 1 https://github.com/Tencent-Hunyuan/flex-block-attn.git /tmp/flex-block-attn && \ cd /tmp/flex-block-attn && git submodule update --init --recursive && python setup.py install && \ git clone --depth 1 https://github.com/cooper1637/SageAttention.git /tmp/SageAttention && \