diff --git a/docker/Dockerfile.gb200 b/docker/Dockerfile.gb200 index 164326e23..7a7747ef0 100644 --- a/docker/Dockerfile.gb200 +++ b/docker/Dockerfile.gb200 @@ -39,6 +39,15 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean +RUN apt update && apt install wget -y && apt install software-properties-common -y \ + && add-apt-repository ppa:deadsnakes/ppa -y \ + && apt install python3.12-full python3.12-dev python3.10-venv -y \ + && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 \ + && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 \ + && update-alternatives --set python3 /usr/bin/python3.12 \ + && wget https://bootstrap.pypa.io/get-pip.py \ + && python3 get-pip.py + # Install SGLang missing package for blackwell build type RUN python3 -m pip install openai httpx @@ -64,7 +73,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel html5li esac \ && if [ "$CUDA_VERSION" = "12.9.1" ]; then \ python3 -m pip install --no-cache-dir nvidia-nccl-cu12==2.27.6 --force-reinstall --no-deps ; \ - python3 -m pip install --no-cache-dir https://github.com/sgl-project/whl/releases/download/v${SGL_KERNEL_VERSION}/sgl_kernel-${SGL_KERNEL_VERSION}+cu129-cp310-abi3-manylinux2014_$(uname -m).whl --force-reinstall --no-deps ; \ + python3 -m pip install --no-cache-dir https://github.com/sgl-project/whl/releases/download/v${SGL_KERNEL_VERSION}/sgl_kernel-${SGL_KERNEL_VERSION}-cp310-abi3-manylinux2014_$(uname -m).whl --force-reinstall --no-deps ; \ fi \ && python3 -m pip install --no-cache-dir -e "python[${BUILD_TYPE}]" --extra-index-url https://download.pytorch.org/whl/cu${CUINDEX} \ && python3 -m flashinfer --download-cubin