File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
27
27
&& curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} \
28
28
&& python3 --version && python3 -m pip --version
29
29
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
+
30
38
# Workaround for https://github.com/openai/triton/issues/2507 and
31
39
# https://github.com/pytorch/pytorch/issues/107960 -- hopefully
32
40
# this won't be needed for future versions of this docker image
You can’t perform that action at this time.
0 commit comments