From 5d1689e7f490f2c841024741d78539b94a9b0ed1 Mon Sep 17 00:00:00 2001 From: scott Date: Sun, 5 Apr 2026 10:43:26 -0400 Subject: [PATCH] Install uv before pip deps to support uv-build backend resemble-perth uses uv as its build backend; without uv installed the metadata-generation step fails. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile.rocm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.rocm b/Dockerfile.rocm index cdb8034..46706c6 100644 --- a/Dockerfile.rocm +++ b/Dockerfile.rocm @@ -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 .