Install uv before pip deps to support uv-build backend
Some checks failed
Build ROCm Image / build (push) Failing after 4m25s

resemble-perth uses uv as its build backend; without uv installed
the metadata-generation step fails.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 10:43:26 -04:00
parent 84e87dceb2
commit 5d1689e7f4

View File

@@ -17,6 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
# Install uv so packages that use uv-build as their build backend can be built.
RUN pip3 install uv
# Step 1: Install ROCm-compatible PyTorch stack first.
# This must happen before anything else to prevent pip from pulling CPU wheels.
COPY requirements-rocm-init.txt .