update urllib3 and gpgv Dockerfile (#17439)
This commit is contained in:
@@ -424,6 +424,8 @@ RUN if [ "${CUDA_VERSION%%.*}" = "13" ] && [ -d /usr/local/lib/python3.12/dist-p
|
|||||||
ln -s /usr/local/cuda/bin/ptxas /usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/bin/ptxas; \
|
ln -s /usr/local/cuda/bin/ptxas /usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/bin/ptxas; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
RUN python3 -m pip install --upgrade "urllib3>=2.6.3"
|
||||||
|
|
||||||
# Set workspace directory
|
# Set workspace directory
|
||||||
WORKDIR /sgl-workspace/sglang
|
WORKDIR /sgl-workspace/sglang
|
||||||
|
|
||||||
@@ -505,6 +507,8 @@ RUN --mount=type=cache,target=/var/cache/apt,id=runtime-apt \
|
|||||||
# NCCL packages needed for pynccl_allocator JIT compilation (-lnccl)
|
# NCCL packages needed for pynccl_allocator JIT compilation (-lnccl)
|
||||||
libnccl2 \
|
libnccl2 \
|
||||||
libnccl-dev \
|
libnccl-dev \
|
||||||
|
# GPG key verification
|
||||||
|
gnupg2 \
|
||||||
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 \
|
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 \
|
||||||
&& update-alternatives --set python3 /usr/bin/python3.12 \
|
&& update-alternatives --set python3 /usr/bin/python3.12 \
|
||||||
&& ln -sf /usr/bin/python3.12 /usr/bin/python \
|
&& ln -sf /usr/bin/python3.12 /usr/bin/python \
|
||||||
|
|||||||
Reference in New Issue
Block a user