/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:87:427: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = signed char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:297:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = signed char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:297:64: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = unsigned char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:298:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = unsigned char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:298:66: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:299:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:299:63: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = long int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:300:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = long int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:300:64: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = long unsigned int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:301:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = long unsigned int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:301:66: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = gloo::float16]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:302:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = gloo::float16]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:302:60: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = float]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:303:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = float]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:303:58: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer<T>::~CudaDevicePointer() [with T = double]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:304:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: warning: throw will always call terminate() [-Wterminate]
226 | CUDA_CHECK(cudaFree(device_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:226:420: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer<T>::~CudaHostPointer() [with T = double]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:304:59: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: warning: throw will always call terminate() [-Wterminate]
272 | CUDA_CHECK(cudaFreeHost(host_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:272:422: note: in C++11 destructors default to noexcept
[65/2830] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[66/2830] Linking CXX static library lib/libgtest.a
[67/2830] Linking CXX static library lib/libgmock.a
[68/2830] Linking CXX static library lib/libgmock_main.a
[69/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o
[70/2830] Linking CXX static library lib/libgtest_main.a
[71/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o
[72/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o
[73/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o
[74/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o
[75/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o
[76/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o
[77/2830] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o
[78/2830] Linking C static library lib/libfoxi_loader.a
[79/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o
[80/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o
[81/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o
[82/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o
[83/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o
[84/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o
[85/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o
[86/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o
[87/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o
[88/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o
[89/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o
[90/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o
[91/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o
[92/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o
[93/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o
[94/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o
[95/2830] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o
[96/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o
[97/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o
[98/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o
[99/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o
[100/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o
[101/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o
[102/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o
[103/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o
FAILED: third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o
/usr/bin/c++ -DMAGMA_V2 -DMKLDNN_DLL -DMKLDNN_DLL_EXPORTS -DMKLDNN_ENABLE_CONCURRENT_EXEC -DMKLDNN_THR=MKLDNN_THR_OMP -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_MKL_CBLAS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I../cmake/../third_party/benchmark/include -Icaffe2/contrib/aten -I../third_party/onnx -Ithird_party/onnx -I../third_party/foxi -Ithird_party/foxi -I../third_party/ideep/mkl-dnn/include -Ithird_party/ideep/mkl-dnn/include -I../third_party/ideep/mkl-dnn/src -I../third_party/ideep/mkl-dnn/src/common -I../third_party/ideep/mkl-dnn/src/cpu -I../third_party/ideep/mkl-dnn/src/cpu/xbyak -I../third_party/ideep/mkl-dnn/src/../include -isystem third_party/gloo -isystem ../cmake/../third_party/gloo -isystem ../cmake/../third_party/googletest/googlemock/include -isystem ../cmake/../third_party/googletest/googletest/include -isystem ../third_party/protobuf/src -isystem /home/DesktopPC/miniconda3/include -isystem ../third_party/gemmlowp -isystem ../third_party/neon2sse -isystem ../third_party -isystem ../cmake/../third_party/eigen -isystem /home/DesktopPC/miniconda3/include/python3.7m -isystem /home/DesktopPC/miniconda3/lib/python3.7/site-packages/numpy/core/include -isystem ../cmake/../third_party/cub -fvisibility-inlines-hidden -fopenmp -std=c++11 -fvisibility-inlines-hidden -Wall -Wno-unknown-pragmas -Werror -fvisibility=internal -msse4 -fPIC -Wformat -Wformat-security -fstack-protector-strong -fopenmp -Wmissing-field-initializers -Wno-strict-overflow -O3 -D_FORTIFY_SOURCE=2 -fPIC -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -Wno-maybe-uninitialized -Wno-strict-overflow -Wno-error=strict-overflow -Wno-tautological-compare -std=gnu++11 -MD -MT third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o -MF third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o.d -o third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o -c ../third_party/ideep/mkl-dnn/src/common/utils.cpp
In file included from /usr/include/string.h:494,
from ../third_party/ideep/mkl-dnn/src/common/utils.cpp:17:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int mkldnn::impl::mkldnn_getenv(char*, const char*, int)’ at ../third_party/ideep/mkl-dnn/src/common/utils.cpp:50:24:
/usr/include/bits/string_fortified.h:106:34: error: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../third_party/ideep/mkl-dnn/src/common/utils.cpp: In function ‘int mkldnn::impl::mkldnn_getenv(char*, const char*, int)’:
../third_party/ideep/mkl-dnn/src/common/utils.cpp:46:34: note: length computed here
46 | value_length = strlen(buffer);
| ~~~~~~^~~~~~~~
In file included from /usr/include/string.h:494,
from ../third_party/ideep/mkl-dnn/src/common/utils.cpp:17:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int mkldnn::impl::mkldnn_getenv(char*, const char*, int)’ at ../third_party/ideep/mkl-dnn/src/common/utils.cpp:50:24,
inlined from ‘bool mkldnn::impl::mkldnn_jit_dump()’ at ../third_party/ideep/mkl-dnn/src/common/utils.cpp:69:26:
/usr/include/bits/string_fortified.h:106:34: error: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../third_party/ideep/mkl-dnn/src/common/utils.cpp: In function ‘bool mkldnn::impl::mkldnn_jit_dump()’:
../third_party/ideep/mkl-dnn/src/common/utils.cpp:46:34: note: length computed here
46 | value_length = strlen(buffer);
| ~~~~~~^~~~~~~~
cc1plus: all warnings being treated as errors
[104/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o
[105/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o
[106/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o
[107/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o
[108/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o
[109/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o
[110/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o
[111/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o
[112/2830] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.h:97:439: warning: throw will always call terminate() [-Wterminate]
97 | CUDA_CHECK(cudaSetDevice(previous_));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.h:97:439: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = signed char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:350:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
103 | CUDA_CHECK(cudaEventDestroy(ncclEvents[i]));
| ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = unsigned char]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:351:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:352:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = long int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:353:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = long unsigned int]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:354:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = gloo::float16]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:355:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = float]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:356:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution<T>::~NCCLExecution() [with T = double]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:357:16: required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:446: note: in C++11 destructors default to noexcept
[113/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o
[114/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o
[115/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o
[116/2830] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o
[117/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o
[118/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o
ninja: build stopped: subcommand failed.
Building wheel torch-1.3.0a0+dfdb86a
-- Building version 1.3.0a0+dfdb86a
cmake --build . --target install --config Release -- -j 16
Traceback (most recent call last):
File "setup.py", line 756, in <module>
build_deps()
File "setup.py", line 321, in build_deps
cmake=cmake)
File "/home/DesktopPC/pytorch/tools/build_pytorch_libs.py", line 63, in build_caffe2
cmake.build(my_env)
File "/home/DesktopPC/pytorch/tools/setup_helpers/cmake.py", line 330, in build
self.run(build_args, my_env)
File "/home/DesktopPC/pytorch/tools/setup_helpers/cmake.py", line 143, in run
check_call(command, cwd=self.build_dir, env=env)
File "/home/DesktopPC/miniconda3/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '16']' returned non-zero exit status 1.```