@ptrblck this is the log
Building wheel torch-1.7.0a0+d6f1346
-- Building version 1.7.0a0+d6f1346
cmake --build . --target install --config Release -- -j 6
[2/4962] Performing build step for 'nccl_external'
FAILED: nccl_external-prefix/src/nccl_external-stamp/nccl_external-build nccl/lib/libnccl_static.a
cd /home/nazmul/pytorch/third_party/nccl/nccl && env CCACHE_DISABLE=1 SCCACHE_DISABLE=1 make CXX=/usr/bin/c++ CUDA_HOME=/usr NVCC=/usr/bin/nvcc NVCC_GENCODE=-gencode=arch=compute_35,code=sm_35 BUILDDIR=/home/nazmul/pytorch/build/nccl VERBOSE=0 -j && /home/nazmul/miniconda3/bin/cmake -E touch /home/nazmul/pytorch/build/nccl_external-prefix/src/nccl_external-stamp/nccl_external-build
make -C src build BUILDDIR=/home/nazmul/pytorch/build/nccl
make[1]: Entering directory '/home/nazmul/pytorch/third_party/nccl/nccl/src'
make[2]: Entering directory '/home/nazmul/pytorch/third_party/nccl/nccl/src/collectives/device'
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
In file included from /usr/include/cuda_runtime.h:83,
from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/functions.dep] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/sendrecv.dep] Error 1
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/broadcast.dep] Error 1
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/reduce.dep] Error 1
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/all_gather.dep] Error 1
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/reduce_scatter.dep] Error 1
make[2]: *** [Makefile:53: /home/nazmul/pytorch/build/nccl/obj/collectives/device/all_reduce.dep] Error 1
make[2]: Leaving directory '/home/nazmul/pytorch/third_party/nccl/nccl/src/collectives/device'
make[1]: *** [Makefile:50: /home/nazmul/pytorch/build/nccl/obj/collectives/device/colldevice.a] Error 2
make[1]: Leaving directory '/home/nazmul/pytorch/third_party/nccl/nccl/src'
make: *** [Makefile:25: src.build] Error 2
[7/4962] Building CXX object third_par.../src/google/protobuf/message_lite.cc.o
In file included from /usr/include/string.h:495,
from ../third_party/protobuf/src/google/protobuf/stubs/port.h:39,
from ../third_party/protobuf/src/google/protobuf/stubs/common.h:46,
from ../third_party/protobuf/src/google/protobuf/message_lite.h:45,
from ../third_party/protobuf/src/google/protobuf/message_lite.cc:36:
In function ‘void* memcpy(void*, const void*, size_t)’,
inlined from ‘google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)’ at ../third_party/protobuf/src/google/protobuf/io/coded_stream.h:699:16,
inlined from ‘bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const’ at ../third_party/protobuf/src/google/protobuf/implicit_weak_message.h:87:28:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "setup.py", line 737, in <module>
build_deps()
File "setup.py", line 321, in build_deps
cmake=cmake)
File "/home/nazmul/pytorch/tools/build_pytorch_libs.py", line 62, in build_caffe2
cmake.build(my_env)
File "/home/nazmul/pytorch/tools/setup_helpers/cmake.py", line 345, in build
self.run(build_args, my_env)
File "/home/nazmul/pytorch/tools/setup_helpers/cmake.py", line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File "/home/nazmul/miniconda3/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '6']' returned non-zero exit status 1.