Skip to content

Commit 8322feb

Browse files
tlrmchlsmthsumitd2
authored andcommitted
[Build/CI] Upgrade to gcc 10 in the base build Docker image (vllm-project#8814)
Signed-off-by: Sumit Dubey <[email protected]>
1 parent 5858d40 commit 8322feb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
2727
&& curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} \
2828
&& python3 --version && python3 -m pip --version
2929

30+
# Upgrade to GCC 10 to avoid https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92519
31+
# as it was causing spam when compiling the CUTLASS kernels
32+
RUN apt-get install -y gcc-10 g++-10
33+
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 110 --slave /usr/bin/g++ g++ /usr/bin/g++-10
34+
RUN <<EOF
35+
gcc --version
36+
EOF
37+
3038
# Workaround for https://github.com/openai/triton/issues/2507 and
3139
# https://github.com/pytorch/pytorch/issues/107960 -- hopefully
3240
# this won't be needed for future versions of this docker image

0 commit comments

Comments
 (0)