Help needed; Compilation errors: subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '16']' returned non-zero exit status 1

Subarasheese: <p>Hello, I would like to request assistance in order to compile PyTorch on Linux.</p>
<p>My video card is quite old (GTX 760), so I need to compile from the source because my GPU’s CUDA version is no longer supported.</p>
<p>But I keep getting errors despite many attempts and clean rebuildings and I have no clue. I did manage to compile PyTorch a few months ago and it worked fine, my I’m not being able to do so now.</p>
<p>Full log link: <a href="https://pastebin.com/BGMKp0r9" rel="nofollow noopener">https://pastebin.com/BGMKp0r9</a></p>

ptrblck: <p>Could you post the log here wrapping it in three backticks ```, as I cannot access the link.</p>

Subarasheese: <p>Hello there, since the log exceed the number of characters allowed in a post, I’ll split it:</p>
<pre><code class="lang-auto">-- std::exception_ptr is supported.
-- NUMA is disabled
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/home/DesktopPC/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt;
-- Trying to find preferred BLAS backend of choice: MKL
-- MKL_THREADING = OMP
-- MKL libraries: /home/DesktopPC/miniconda3/lib/libmkl_intel_lp64.so;/home/DesktopPC/miniconda3/lib/libmkl_gnu_thread.so;/home/DesktopPC/miniconda3/lib/libmkl_core.so;-fopenmp;/usr/lib/libpthread.so;/usr/lib/libm.so;/usr/lib/libdl.so
-- MKL include directory: /home/DesktopPC/miniconda3/include
-- MKL OpenMP type: GNU
-- MKL OpenMP library: -fopenmp
-- Brace yourself, we are building NNPACK
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
-- Found OpenMP: TRUE   
-- Using third party subdirectory Eigen.
Python 3.7.3
-- Found PythonInterp: /home/DesktopPC/miniconda3/bin/python (found suitable version "3.7.3", minimum required is "2.7") 
-- Found PythonInterp: /home/DesktopPC/miniconda3/bin/python (found version "3.7.3") 
-- System pybind11 found
-- pybind11 include dirs: /usr/include;/home/DesktopPC/miniconda3/include/python3.7m
-- Adding OpenMP CXX_FLAGS: -fopenmp
-- Will link against OpenMP libraries: /usr/lib/libgomp.so;/usr/lib/libpthread.so
-- Found CUDA: /opt/cuda (found version "10.1") 
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: /opt/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /opt/cuda
-- Caffe2: Header version is: 10.1
-- Found cuDNN: v7.6.2  (include: /usr/include/, library: /usr/lib/libcudnn.so.7)
-- Autodetected CUDA architecture(s):  3.0
-- Added CUDA NVCC flags for: -gencode;arch=compute_30,code=sm_30
-- Autodetected CUDA architecture(s):  3.0
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
-- Found CUDA: /opt/cuda (found suitable version "10.1", minimum required is "7.0") 
-- CUDA detected: 10.1
-- Determining NCCL version from the header file: /usr/include/nccl.h
-- NCCL_MAJOR_VERSION: 2
-- Found NCCL (include: /usr/include, library: /lib/libnccl.so)
-- 
-- ******** Summary ********
--   CMake version         : 3.14.0
--   CMake command         : /home/DesktopPC/miniconda3/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 9.1.0
--   CXX flags             :  -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_ML=1
--   CMAKE_PREFIX_PATH     : /home/DesktopPC/miniconda3
--   CMAKE_INSTALL_PREFIX  : /home/DesktopPC/pytorch/torch
--   CMAKE_MODULE_PATH     : /home/DesktopPC/pytorch/cmake/Modules;/usr/share/cmake/pybind11;/home/DesktopPC/pytorch/cmake/public/../Modules_CUDA_fix
-- 
--   ONNX version          : 1.5.0
--   ONNX NAMESPACE        : onnx_torch
--   ONNX_BUILD_TESTS      : OFF
--   ONNX_BUILD_BENCHMARKS : OFF
--   ONNX_USE_LITE_PROTO   : OFF
--   ONNXIFI_DUMMY_BACKEND : OFF
--   ONNXIFI_ENABLE_EXT    : OFF
-- 
--   Protobuf compiler     : 
--   Protobuf includes     : 
--   Protobuf libraries    : 
--   BUILD_ONNX_PYTHON     : OFF
-- 
-- ******** Summary ********
--   CMake version         : 3.14.0
--   CMake command         : /home/DesktopPC/miniconda3/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 9.1.0
--   CXX flags             :  -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_ML=1
--   CMAKE_PREFIX_PATH     : /home/DesktopPC/miniconda3
--   CMAKE_INSTALL_PREFIX  : /home/DesktopPC/pytorch/torch
--   CMAKE_MODULE_PATH     : /home/DesktopPC/pytorch/cmake/Modules;/usr/share/cmake/pybind11;/home/DesktopPC/pytorch/cmake/public/../Modules_CUDA_fix
-- 
--   ONNX version          : 1.4.1
--   ONNX NAMESPACE        : onnx_torch
--   ONNX_BUILD_TESTS      : OFF
--   ONNX_BUILD_BENCHMARKS : OFF
--   ONNX_USE_LITE_PROTO   : OFF
--   ONNXIFI_DUMMY_BACKEND : OFF
-- 
--   Protobuf compiler     : 
--   Protobuf includes     : 
--   Protobuf libraries    : 
--   BUILD_ONNX_PYTHON     : OFF
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- Compiling with MAGMA support
-- MAGMA INCLUDE DIRECTORIES: /home/DesktopPC/miniconda3/include
-- MAGMA LIBRARIES: /home/DesktopPC/miniconda3/lib/libmagma.a
-- MAGMA V2 check: 1
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- AVX compiler support found
-- AVX2 compiler support found
-- Found a library with BLAS API (mkl).
-- Found a library with LAPACK API (mkl).
-- MIOpen not found. Compiling without MIOpen support
-- MKLDNN_THREADING = OMP:COMP
-- This is a product build
-- OpenMP lib: provided by compiler
-- VTune profiling environment is unset
-- Found MKL-DNN: TRUE
-- GCC 9.1.0: Adding gcc and gcc_s libs to link line
-- don't use NUMA
-- Configuring build for SLEEF-v3.2
-- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef
-- Building shared libs : OFF
-- MPFR : /usr/lib/libmpfr.so
-- MPFR header file in /usr/include
-- GMP : /usr/lib/libgmp.so
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
-- Include NCCL operators
-- Including IDEEP operators
-- Excluding image processing operators due to no opencv
-- Excluding video processing operators due to no opencv
-- MPI operators skipped due to no MPI support
-- Include Observer library
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/AffineGridGenerator.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/BatchNorm.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/Conv.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/GridSampler.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/LossCTC.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cudnn/RNN.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/miopen/BatchNorm_miopen.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/miopen/Conv_miopen.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/miopen/RNN_miopen.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/sparse/cuda/SparseCUDATensor.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/CUDABlas.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/CUDAContext.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/CUDAGenerator.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/PinnedMemoryAllocator.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/detail/CUDAHooks.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/CUDAUnaryOps.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/LegacyDefinitions.cpp
--   /home/DesktopPC/pytorch/build/aten/src/ATen/CUDAType.cpp
--   /home/DesktopPC/pytorch/build/aten/src/ATen/CUDAType.h
--   /home/DesktopPC/pytorch/build/aten/src/ATen/LegacyTHFunctionsCUDA.cpp
--   /home/DesktopPC/pytorch/build/aten/src/ATen/LegacyTHFunctionsCUDA.h
--   /home/DesktopPC/pytorch/build/aten/src/ATen/SparseCUDAType.cpp
--   /home/DesktopPC/pytorch/build/aten/src/ATen/SparseCUDAType.h
--   /home/DesktopPC/pytorch/aten/src/THC/THCCachingHostAllocator.cpp
--   /home/DesktopPC/pytorch/aten/src/THC/THCGeneral.cpp
--   /home/DesktopPC/pytorch/aten/src/THC/THCStorageCopy.cpp
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensor.cpp
--   /home/DesktopPC/pytorch/aten/src/THC/THCReduceApplyUtils.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCBlas.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCSleep.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCStorage.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCStorageCopy.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensor.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorCopy.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMath.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMathBlas.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMathMagma.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMathPairwise.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMathReduce.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMathScan.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorIndex.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorRandom.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorScatterGather.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorTopK.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorSort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCSortUtils.cu
--   /home/DesktopPC/pytorch/aten/src/THC/THCTensorMode.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedByte.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedChar.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedShort.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedInt.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedLong.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedHalf.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedFloat.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorSortDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedDouble.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareTBool.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathCompareBool.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathReduceBool.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMaskedBool.cu
--   /home/DesktopPC/pytorch/aten/src/THC/generated/THCTensorMathPointwiseBool.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/AbsCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/Abs.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/BCECriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/DistKLDivCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/ELU.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/FeatureLPPooling.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/GatedLinearUnit.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/HardTanh.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/IndexLinear.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/L1Cost.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/LeakyReLU.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/LogSigmoid.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/LookupTableBag.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/LookupTable.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/MarginCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/MSECriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/MultiLabelMarginCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/MultiMarginCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/RReLU.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/Sigmoid.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SmoothL1Criterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SoftMarginCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SoftPlus.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SoftShrink.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialConvolutionLocal.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialConvolutionMM.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialCrossMapLRN.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialDepthwiseConvolution.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/SpatialSubSampling.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/Sqrt.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/Square.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/Tanh.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/TemporalConvolution.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/TemporalMaxPooling.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/TemporalRowConvolution.cu
--   /home/DesktopPC/pytorch/aten/src/THCUNN/VolumetricConvolution.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/cuda/detail/IndexUtils.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Activation.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AdaptiveAveragePooling.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AdaptiveAveragePooling3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AdaptiveMaxPooling2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AdaptiveMaxPooling3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AveragePool2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/AveragePool3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/BatchLinearAlgebra.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/BinaryOpsKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/CUDAScalar.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Col2Im.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Copy.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/CrossKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/DilatedMaxPool2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/DilatedMaxPool3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/DistanceKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Distributions.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Dropout.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Embedding.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/EmbeddingBackwardKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/EmbeddingBag.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/FillKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/FractionalMaxPool2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/FractionalMaxPool3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/GridSampler.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Im2Col.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/IndexKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Indexing.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Lerp.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/LinearAlgebra.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Loss.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/LossCTC.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/NaiveConvolutionTranspose2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/NaiveConvolutionTranspose3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/NaiveDilatedConvolution.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Normalization.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/PointwiseOpsKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/RNN.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/RangeFactories.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Reduce.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/ReduceOpsKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/ReflectionPad.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Repeat.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/ReplicationPadding.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Resize.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/SoftMax.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/SortingKthValue.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/SparseMM.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/SpectralOps.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/SummaryOps.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/TensorCompare.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/TensorFactories.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/TensorTransformations.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UnaryOpsKernel.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/Unique.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleBicubic2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleBilinear2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleLinear1d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleNearest1d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleNearest2d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleNearest3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/UpSampleTrilinear3d.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/cuda/WeightNorm.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/sparse/cuda/SparseCUDATensor.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/sparse/cuda/SparseCUDATensorMath.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/native/quantized/cuda/fake_quantize_per_tensor_affine.cu
--   /home/DesktopPC/pytorch/aten/src/ATen/cudnn/Descriptors.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cudnn/Handle.cpp
--   /home/DesktopPC/pytorch/aten/src/ATen/cudnn/Types.cpp
--   /home/DesktopPC/pytorch/caffe2/core/common_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/core/blob_serialization_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/core/common_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/core/event_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/core/context_gpu.cu
--   utils/math/broadcast.cu
--   utils/math/elementwise.cu
--   utils/math/reduce.cu
--   utils/math/transpose.cu
--   utils/math_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/contrib/aten/aten_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/contrib/gloo/allreduce_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/contrib/gloo/broadcast_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/contrib/gloo/common_world_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/contrib/nccl/cuda_nccl_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/contrib/nccl/cuda_nccl_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/db/create_db_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/distributed/file_store_handler_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu
--   /home/DesktopPC/pytorch/caffe2/operators/conv_op_cache_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/conv_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/conv_transpose_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/depthwise_3x3_conv_op_cudnn.cu
--   /home/DesktopPC/pytorch/caffe2/operators/dropout_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/elu_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/local_response_normalization_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/order_switch_ops_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/pool_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/sigmoid_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/softmax_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/spatial_batch_norm_op_cudnn.cu
--   /home/DesktopPC/pytorch/caffe2/operators/tanh_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/transpose_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/communicator_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/concat_split_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/conv_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/conv_op_shared_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/conv_transpose_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/counter_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/do_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_add_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_sub_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/exp_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/expand_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/expand_squeeze_dims_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/free_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/fully_connected_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/if_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/im2col_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/load_save_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/locally_connected_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/log_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/matmul_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/negate_gradient_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/negative_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/order_switch_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/prepend_dim_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/reshape_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/scale_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/shape_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/sqr_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/sqrt_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/stop_gradient_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/tensor_protos_db_input_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/while_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/zero_gradient_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/abs_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/accumulate_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/accuracy_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/acos_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/affine_channel_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/arg_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/asin_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/assert_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/atan_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/batch_gather_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/batch_matmul_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/batch_moments_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/boolean_mask_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/boolean_unmask_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/bucketize_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cast_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cbrt_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/ceil_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/channel_backprop_stats_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/channel_shuffle_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/channel_stats_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/clip_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/copy_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cos_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cosh_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cosine_embedding_criterion_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cross_entropy_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/cube_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/data_couple_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/deform_conv_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/distance_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/dropout_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_div_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_linear_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_mul_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/elementwise_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/elu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/enforce_finite_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/ensure_cpu_output_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/erf_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/filler_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/find_op.cu
</code></pre>

Subarasheese: <pre><code class="lang-auto">--   /home/DesktopPC/pytorch/caffe2/operators/gather_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/gelu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/generate_proposals_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/generate_proposals_op_util_nms_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/given_tensor_fill_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/glu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/group_norm_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/gru_unit_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/half_float_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/hard_sigmoid_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/instance_norm_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/integral_image_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/layer_norm_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/leaky_relu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/lengths_pad_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/lengths_tile_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/local_response_normalization_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/logit_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/loss_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/lp_pool_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/lstm_unit_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/margin_ranking_criterion_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/max_pool_with_index.cu
--   /home/DesktopPC/pytorch/caffe2/operators/mean_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/mem_query_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/minmax_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/moments_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/multi_class_accuracy_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/normalize_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/one_hot_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/pack_segments.cu
--   /home/DesktopPC/pytorch/caffe2/operators/pad_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/perplexity_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/piecewise_linear_transform_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/pool_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/pow_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/prelu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reciprocal_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reduce_front_back_max_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reduce_front_back_sum_mean_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reduce_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reduction_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/relu_n_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/relu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/replace_nan_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/resize_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/reverse_packed_segs_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/rmac_regions_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/roi_align_gradient_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/roi_align_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/roi_align_rotated_gradient_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/roi_align_rotated_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/roi_pool_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/rsqrt_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/scale_blobs_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/segment_reduction_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/selu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sequence_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sigmoid_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sin_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sinh_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/slice_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/softmax_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/softplus_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/softsign_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/space_batch_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sparse_normalize_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/operators/sparse_to_dense_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/spatial_batch_norm_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/stump_func_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/summarize_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/swish_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/tan_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/tanh_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/thresholded_relu_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/tile_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/top_k.cu
--   /home/DesktopPC/pytorch/caffe2/operators/transpose_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/unique_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/upsample_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/utility_ops.cu
--   /home/DesktopPC/pytorch/caffe2/operators/weighted_sample_op.cu
--   /home/DesktopPC/pytorch/caffe2/operators/rnn/recurrent_op_cudnn.cc
--   /home/DesktopPC/pytorch/caffe2/operators/rnn/recurrent_network_blob_fetcher_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/rnn/recurrent_network_executor_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/operators/rnn/recurrent_network_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/queue/queue_ops_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/sgd/iter_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/sgd/learning_rate_op_gpu.cc
--   /home/DesktopPC/pytorch/caffe2/sgd/adadelta_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/adagrad_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/adam_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/fp16_momentum_sgd_op.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/fp32_momentum_sgd_op.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/lars_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/momentum_sgd_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/rmsprop_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/sgd/yellowfin_op_gpu.cu
--   /home/DesktopPC/pytorch/caffe2/../torch/csrc/jit/fuser/cuda/fused_kernel.cpp
--   /home/DesktopPC/pytorch/caffe2/../torch/csrc/autograd/profiler_cuda.cpp
--   /home/DesktopPC/pytorch/caffe2/../torch/csrc/autograd/functions/comm.cpp
--   /home/DesktopPC/pytorch/caffe2/../torch/csrc/cuda/comm.cpp
-- /usr/bin/c++ /home/DesktopPC/pytorch/caffe2/../torch/abi-check.cpp -o /home/DesktopPC/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- pytorch is compiling with OpenMP. 
OpenMP CXX_FLAGS: -fopenmp. 
OpenMP libraries: /usr/lib/libgomp.so;/usr/lib/libpthread.so.
-- Caffe2 is compiling with OpenMP. 
OpenMP CXX_FLAGS: -fopenmp. 
OpenMP libraries: /usr/lib/libgomp.so;/usr/lib/libpthread.so.
-- Using ATen parallel backend: OMP
-- Using lib/python3.7/site-packages as python relative installation path
-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.14.0
--   CMake command         : /home/DesktopPC/miniconda3/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler id       : GNU
--   C++ compiler version  : 9.1.0
--   BLAS                  : MKL
--   CXX flags             :  -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;MAGMA_V2;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
--   CMAKE_PREFIX_PATH     : /home/DesktopPC/miniconda3
--   CMAKE_INSTALL_PREFIX  : /home/DesktopPC/pytorch/torch
-- 
--   TORCH_VERSION         : 1.3.0
--   CAFFE2_VERSION        : 1.3.0
--   BUILD_CAFFE2_MOBILE   : ON
--   BUILD_ATEN_ONLY       : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : True
--     Python version      : 3.7.3
--     Python executable   : /home/DesktopPC/miniconda3/bin/python
--     Pythonlibs version  : 3.7.3
--     Python library      : /home/DesktopPC/miniconda3/lib/libpython3.7m.so.1.0
--     Python includes     : /home/DesktopPC/miniconda3/include/python3.7m
--     Python site-packages: lib/python3.7/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : True
--   INTERN_BUILD_MOBILE   : 
--   USE_ASAN              : OFF
--   USE_CUDA              : True
--     CUDA static link    : OFF
--     USE_CUDNN           : ON
--     CUDA version        : 10.1
--     cuDNN version       : 7.6.2
--     CUDA root directory : /opt/cuda
--     CUDA library        : /usr/lib/libcuda.so
--     cudart library      : /opt/cuda/lib64/libcudart.so
--     cublas library      : /opt/cuda/lib64/libcublas.so
--     cufft library       : /opt/cuda/lib64/libcufft.so
--     curand library      : /opt/cuda/lib64/libcurand.so
--     cuDNN library       : /usr/lib/libcudnn.so.7
--     nvrtc               : /opt/cuda/lib/libnvrtc.so
--     CUDA include path   : /opt/cuda/include
--     NVCC executable     : /opt/cuda/bin/nvcc
--     CUDA host compiler  : /usr/bin/cc
--     USE_TENSORRT        : OFF
--   USE_ROCM              : OFF
--   USE_EIGEN_FOR_BLAS    : 
--   USE_FBGEMM            : ON
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_LEVELDB           : OFF
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : OFF
--   USE_METAL             : OFF
--   USE_MKL               : ON
--   USE_MKLDNN            : ON
--   USE_MKLDNN_CBLAS      : OFF
--   USE_NCCL              : ON
--     USE_SYSTEM_NCCL     : OFF
--   USE_NNPACK            : ON
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : OFF
--   USE_OPENMP            : ON
--   USE_TBB               : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : ON
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : True
--     USE_MPI             : OFF
--     USE_GLOO            : ON
--     USE_GLOO_IBVERBS    : OFF
--   BUILD_NAMEDTENSOR   : OFF
--   Public Dependencies  : Threads::Threads;caffe2::mkl;caffe2::mkldnn
--   Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;fp16;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/DesktopPC/pytorch/build
[1/2830] Linking CXX static library lib/libfbgemm.a
[2/2830] Linking CXX executable bin/protoc
[3/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o
[4/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o
[5/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o
[6/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o
[7/2830] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[8/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o
[9/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o
[10/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o
[11/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o
[12/2830] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[13/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o
[14/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o
[15/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o
[16/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o
[17/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o
[18/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o
[19/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o
[20/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o
[21/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o
[22/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o
[23/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o
[24/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o
[25/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o
[26/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o
[27/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o
[28/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o
[29/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o
[30/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o
[31/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o
[32/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o
[33/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o
[34/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o
[35/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o
[36/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o
[37/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o
[38/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o
[39/2830] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[40/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o
[41/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o
[42/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o
[43/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o
[44/2830] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o
[45/2830] Linking CXX static library lib/libgloo.a
[46/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o
[47/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o
[48/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o
[49/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o
[50/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o
[51/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o
[52/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o
[53/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o
[54/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o
[55/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o
[56/2830] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o
[57/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o
[58/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o
[59/2830] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda_private.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/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = float]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:91:16:   required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:86:431: warning: throw will always call terminate() [-Wterminate]
   86 |     CUDA_CHECK(cudaFree(ptr_));
      |                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:86:431: note: in C++11 destructors default to noexcept
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = gloo::float16]’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:92:16:   required from here
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:86:431: warning: throw will always call terminate() [-Wterminate]
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda_private.cu:86:431: note: in C++11 destructors default to noexcept
[60/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o
[61/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o
[62/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o
[63/2830] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o
[64/2830] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda.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/cuda.cu: In destructor ‘gloo::CudaStream::~CudaStream()’:
/home/DesktopPC/pytorch/third_party/gloo/gloo/cuda.cu:83:429: warning: throw will always call terminate() [-Wterminate]
</code></pre>

Subarasheese: <pre><code class="lang-auto">/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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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&lt;T&gt;::~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 &lt;module&gt;
    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.```</code></pre>

ptrblck: <p>Thanks for the log.<br>
It looks like the build error is related to mkl-dnn, which is also discussed in <a href="https://github.com/pytorch/pytorch/issues/22346" rel="nofollow noopener">this issue</a>. It seems updating mkl-dnn solves this error.</p>