fix(docker): migrate ROCm Dockerfiles from setuptools-rust to maturin (#19210)

Signed-off-by: Simo Lin <linsimo.mark@gmail.com>
This commit is contained in:
Simo Lin
2026-02-23 19:00:05 -08:00
committed by GitHub
parent ea7ef63e6d
commit edba96b98a
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -214,10 +214,10 @@ 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 setuptools-rust \
RUN python3 -m pip install --no-cache-dir maturin \
&& cd /sgl-workspace/sglang/sgl-model-gateway/bindings/python \
&& /bin/bash -lc 'ulimit -n 8192 && cargo build --release' \
&& python3 -m pip install --no-cache-dir . \
&& ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
&& python3 -m pip install --force-reinstall dist/*.whl \
&& rm -rf /root/.cache
# -----------------------
+3 -3
View File
@@ -243,10 +243,10 @@ 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 setuptools-rust \
RUN python3 -m pip install --no-cache-dir maturin \
&& cd /sgl-workspace/sglang/sgl-model-gateway/bindings/python \
&& /bin/bash -lc 'ulimit -n 8192 && cargo build --release' \
&& python3 -m pip install --no-cache-dir . \
&& ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
&& python3 -m pip install --force-reinstall dist/*.whl \
&& rm -rf /root/.cache
# -----------------------