Skip to content

Commit 98af987

Browse files
committed
Dockerfile.rocm.ubi: set cmake<4 constraint
vllm ROCm build currently fails with `cmake==4` (although flash-attention works)
1 parent 54c637d commit 98af987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.rocm.ubi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
129129
cd flash-attention && \
130130
git checkout ${FA_BRANCH} && \
131131
git submodule update --init && \
132-
uv pip install cmake ninja packaging && \
132+
uv pip install "cmake<4" ninja packaging && \
133133
env \
134134
GPU_ARCHS="${FA_GFX_ARCHS}" \
135135
python3 setup.py bdist_wheel --dist-dir=/install
@@ -154,7 +154,7 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
154154
--mount=type=cache,target=/root/.cache/pip \
155155
--mount=type=cache,target=/root/.cache/uv \
156156
uv pip install -v -U \
157-
ninja setuptools-scm>=8 "cmake>=3.26" packaging && \
157+
ninja setuptools-scm>=8 "cmake>=3.26,<4" packaging && \
158158
env CFLAGS="-march=haswell" \
159159
CXXFLAGS="$CFLAGS $CXXFLAGS" \
160160
CMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)