feat: support pip install sglang (#10465)

This commit is contained in:
Yineng Zhang
2025-09-15 03:09:17 -07:00
committed by GitHub
parent 059c13de5c
commit 5afd036533
8 changed files with 269 additions and 133 deletions

View File

@@ -181,6 +181,7 @@ RUN git clone ${SGL_REPO} \
&& mv pyproject_rocm.toml pyproject.toml \
&& AMDGPU_TARGET=$GPU_ARCH_LIST python setup_rocm.py install \
&& cd .. \
&& rm -rf python/pyproject.toml && mv python/pyproject_other.toml python/pyproject.toml \
&& if [ "$BUILD_TYPE" = "srt" ]; then \
python -m pip --no-cache-dir install -e "python[srt_hip]" ${NO_DEPS_FLAG}; \
else \