From ddbe5ff2f18f6a717a7afa2810f4c81765f8358e Mon Sep 17 00:00:00 2001 From: Thomas Wang Date: Fri, 12 Jun 2026 13:13:27 +0800 Subject: [PATCH] [AMD] Pin maturin<1.14 to fix ROCm image build failure (#27999) --- docker/rocm.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rocm.Dockerfile b/docker/rocm.Dockerfile index 26954dc39..fba3f8699 100644 --- a/docker/rocm.Dockerfile +++ b/docker/rocm.Dockerfile @@ -303,7 +303,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ ENV CARGO_BUILD_JOBS=4 # Build and install sgl-model-gateway -RUN python3 -m pip install --no-cache-dir maturin \ +RUN python3 -m pip install --no-cache-dir "maturin<1.14" \ && sed -i -E 's|^(smg-[a-zA-Z-]+)\s*=\s*"~1\.0\.0"|\1 = "=1.0.0"|' \ /sgl-workspace/sglang/sgl-model-gateway/Cargo.toml \ && grep -E '^smg-' /sgl-workspace/sglang/sgl-model-gateway/Cargo.toml \