Repository: pytorch
Issue: Error while trying to build pytorch from source in conda environment
Labels: module: build,triaged

Hi,

I am trying to build pytorch from source in a conda environment, following the instructions from https://github.com/pytorch/pytorch#from-source. The CPU installation works fine (until this step: `[2521/3544] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o
`) but as soon as the installation process moves to cuda, it fails (output below)

Any help would be much appreciated. Here is some information about my environment:
 
<details>

```
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

$ conda env export
conda env export -n fairseq
name: fairseq
channels:
  - pytorch
  - conda-forge
  - defaults
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=0_gnu
  - bzip2=1.0.8=h516909a_2
  - ca-certificates=2019.11.28=hecc5488_0
  - certifi=2019.11.28=py38_0
  - cffi=1.13.2=py38h8022711_0
  - cmake=3.16.3=h28c56e5_0
  - expat=2.2.9=he1b5a44_1
  - intel-openmp=2019.4=243
  - krb5=1.16.4=h2fd8d38_0
  - ld_impl_linux-64=2.33.1=h53a641e_8
  - libblas=3.8.0=14_openblas
  - libcblas=3.8.0=14_openblas
  - libcurl=7.65.3=hda55be3_0
  - libedit=3.1.20170329=hf8c457e_1001
  - libffi=3.2.1=he1b5a44_1006
  - libgcc-ng=9.2.0=h24d8f2e_2
  - libgfortran-ng=7.3.0=hdf63c60_4
  - libgomp=9.2.0=h24d8f2e_2
  - liblapack=3.8.0=14_openblas
  - libopenblas=0.3.7=h5ec1e0e_6
  - libssh2=1.8.2=h22169c7_2
  - libstdcxx-ng=9.2.0=hdf63c60_2
  - libuv=1.34.0=h516909a_0
  - magma-cuda101=2.5.1=1
  - mkl=2019.4=243
  - mkl-include=2019.5=281
  - ncurses=6.1=hf484d3e_1002
  - ninja=1.10.0=hc9558a2_0
  - numpy=1.17.5=py38h95a1406_0
  - openssl=1.1.1d=h516909a_0
  - pip=20.0.2=py38_0
  - pycparser=2.19=py38_1
  - python=3.8.1=h357f687_1
  - pyyaml=5.3=py38h516909a_0
  - readline=8.0=hf8c457e_0
  - rhash=1.3.6=h14c3975_1001
  - setuptools=45.1.0=py38_0
  - sqlite=3.30.1=hcee41ef_0
  - tk=8.6.10=hed695b0_0
  - wheel=0.34.1=py38_0
  - xz=5.2.4=h14c3975_1001
  - yaml=0.2.2=h516909a_1
  - zlib=1.2.11=h516909a_1006
prefix: /home/quent/.local/bin/anaconda3/envs/fairseq
```

```
# Steps that I did
$ conda install -n fairseq conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi
$ conda install -c pytorch magma-cuda101 -n fairseq
$ git clone --recursive https://github.com/pytorch/pytorch && cd pytorch
$ export CMAKE_PREFIX_PATH=$HOME/.local/bin/anaconda3/envs/fairseq
$ optirun python setup.py install
Building wheel torch-1.5.0a0+5e23110
-- Building version 1.5.0a0+5e23110
cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/quent/.local/bin/pytorch/torch -DCMAKE_PREFIX_PATH=/home/quent/.local/bin/anaconda3/envs/fairseq -DNUMPY_INCLUDE_DIR=/home/quent/.local/bin/anaconda3/envs/fairseq/lib/python3.8/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/home/quent/.local/bin/anaconda3/envs/fairseq/bin/python -DPYTHON_INCLUDE_DIR=/home/quent/.local/bin/anaconda3/envs/fairseq/include/python3.8 -DPYTHON_LIBRARY=/home/quent/.local/bin/anaconda3/envs/fairseq/lib/libpython3.8.so.1.0 -DTORCH_BUILD_VERSION=1.5.0a0+5e23110 -DUSE_NUMPY=True /home/quent/.local/bin/pytorch
-- The CXX compiler identification is GNU 9.2.0
-- The C compiler identification is GNU 9.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Not forcing any particular BLAS to be found
-- Performing Test COMPILER_WORKS
-- Performing Test COMPILER_WORKS - Success
-- Performing Test SUPPORT_GLIBCXX_USE_C99
-- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success
-- std::exception_ptr is supported.
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Failed
-- Turning off deprecation warning due to glog.
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Caffe2 protobuf include directory: $<BUILD_INTERFACE:/home/quent/.local/bin/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
-- Trying to find preferred BLAS backend of choice: MKL
-- MKL_THREADING = OMP
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Looking for cblas_sgemm
-- Looking for cblas_sgemm - found
-- MKL libraries: /home/quent/.local/bin/anaconda3/envs/fairseq/lib/libmkl_intel_lp64.so;/home/quent/.local/bin/anaconda3/envs/fairseq/lib/libmkl_gnu_thread.so;/home/quent/.local/bin/anaconda3/envs/fairseq/lib/libmkl_core.so;-fopenmp;/usr/lib/libpthread.so;/usr/lib/libm.so;/usr/lib/libdl.so
-- MKL include directory: /home/quent/.local/bin/anaconda3/envs/fairseq/include
-- MKL OpenMP type: GNU
-- MKL OpenMP library: -fopenmp
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Brace yourself, we are building NNPACK
-- Performing Test NNPACK_ARCH_IS_X86_32
-- Performing Test NNPACK_ARCH_IS_X86_32 - Failed
-- Found PythonInterp: /home/quent/.local/bin/anaconda3/envs/fairseq/bin/python (found version "3.8.1") 
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- Found Git: /usr/bin/git (found version "2.25.0") 
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test COMPILER_SUPPORTS_AVX512
-- Performing Test COMPILER_SUPPORTS_AVX512 - Success
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
CMake Warning at third_party/fbgemm/CMakeLists.txt:80 (message):
  OpenMP found! OpenMP_C_INCLUDE_DIRS =


-- Performing Test __CxxFlag__fmerge_all_constants
-- Performing Test __CxxFlag__fmerge_all_constants - Success
** AsmJit Summary **
   ASMJIT_DIR=/home/quent/.local/bin/pytorch/third_party/fbgemm/third_party/asmjit
   ASMJIT_TEST=FALSE
   ASMJIT_TARGET_TYPE=STATIC
   ASMJIT_DEPS=pthread;rt
   ASMJIT_LIBS=asmjit;pthread;rt
   ASMJIT_CFLAGS=-DASMJIT_STATIC
   ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-fno-math-errno;-fno-threadsafe-statics;-DASMJIT_STATIC
   ASMJIT_PRIVATE_CFLAGS_DBG=
   ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants
-- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) 
CMake Warning at cmake/Dependencies.cmake:602 (message):
  Not compiling with NUMA.  Suppress this warning with -DUSE_NUMA=OFF
Call Stack (most recent call first):
  CMakeLists.txt:397 (include)


-- Using third party subdirectory Eigen.
Python 3.8.1
-- Found PythonInterp: /home/quent/.local/bin/anaconda3/envs/fairseq/bin/python (found suitable version "3.8.1", minimum required is "2.7") 
-- Found PythonLibs: /home/quent/.local/bin/anaconda3/envs/fairseq/lib/libpython3.8.so.1.0 (found suitable version "3.8.1", minimum required is "2.7") 
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) 
-- Using third_party/pybind11.
-- pybind11 include dirs: /home/quent/.local/bin/pytorch/cmake/../third_party/pybind11/include
-- Found MPI_C: /usr/lib/openmpi/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/openmpi/libmpi_cxx.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
-- MPI support found
-- MPI compile flags: -pthread
-- MPI include path: /usr/include
-- MPI LINK flags path: -Wl,-rpath -Wl,/usr/lib/openmpi -Wl,--enable-new-dtags -pthread
-- MPI libraries: /usr/lib/openmpi/libmpi_cxx.so/usr/lib/openmpi/libmpi.so
CMake Warning at cmake/Dependencies.cmake:833 (message):
  OpenMPI found, but it is not built with CUDA support.
Call Stack (most recent call first):
  CMakeLists.txt:397 (include)


-- 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.2") 
-- Caffe2: CUDA detected: 10.2
-- Caffe2: CUDA nvcc is: /opt/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /opt/cuda
-- Caffe2: Header version is: 10.2
-- Found CUDNN: /usr/lib/libcudnn.so  
-- Found cuDNN: v7.6.5  (include: /usr/include, library: /usr/lib/libcudnn.so)
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX;7.5;7.5+PTX
-- Added CUDA NVCC flags for: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_70,code=compute_70;-gencode;arch=compute_75,code=compute_75
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX;7.5;7.5+PTX
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
CMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_BENCHMARK'.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- MPI include path: /usr/include
-- MPI libraries: /usr/lib/openmpi/libmpi_cxx.so/usr/lib/openmpi/libmpi.so
-- Found CUDA: /opt/cuda (found suitable version "10.2", minimum required is "7.0") 
-- CUDA detected: 10.2
-- Could NOT find NCCL (missing: NCCL_INCLUDE_DIR NCCL_LIBRARY) 
CMake Warning at third_party/gloo/cmake/Dependencies.cmake:96 (message):
  Not compiling with NCCL support.  Suppress this warning with
  -DUSE_NCCL=OFF.
Call Stack (most recent call first):
  third_party/gloo/CMakeLists.txt:56 (include)


CMake Warning at cmake/Dependencies.cmake:1106 (message):
  Metal is only used in ios builds.
Call Stack (most recent call first):
  CMakeLists.txt:397 (include)


Generated: /home/quent/.local/bin/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
Generated: /home/quent/.local/bin/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
-- 
-- ******** Summary ********
--   CMake version         : 3.16.3
--   CMake command         : /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 9.2.0
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_ML=1
--   CMAKE_PREFIX_PATH     : /home/quent/.local/bin/anaconda3/envs/fairseq;/opt/cuda
--   CMAKE_INSTALL_PREFIX  : /home/quent/.local/bin/pytorch/torch
--   CMAKE_MODULE_PATH     : /home/quent/.local/bin/pytorch/cmake/Modules;/home/quent/.local/bin/pytorch/cmake/public/../Modules_CUDA_fix
-- 
--   ONNX version          : 1.6.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.16.3
--   CMake command         : /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 9.2.0
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_ML=1
--   CMAKE_PREFIX_PATH     : /home/quent/.local/bin/anaconda3/envs/fairseq;/opt/cuda
--   CMAKE_INSTALL_PREFIX  : /home/quent/.local/bin/pytorch/torch
--   CMAKE_MODULE_PATH     : /home/quent/.local/bin/pytorch/cmake/Modules;/home/quent/.local/bin/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
-- Checking prototype magma_get_sgeqrf_nb for MAGMA_V2 - True
-- Compiling with MAGMA support
-- MAGMA INCLUDE DIRECTORIES: /home/quent/.local/bin/anaconda3/envs/fairseq/include
-- MAGMA LIBRARIES: /home/quent/.local/bin/anaconda3/envs/fairseq/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.
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test NO_GCC_EBX_FPIC_BUG
-- Performing Test NO_GCC_EBX_FPIC_BUG - Success
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- AVX compiler support found
-- AVX2 compiler support found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Success
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Found a library with BLAS API (mkl).
-- Found a library with LAPACK API (mkl).
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- MKLDNN_THREADING = OMP:COMP
CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/options.cmake:33 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'MKLDNN_ENABLE_CONCURRENT_EXEC'.
Call Stack (most recent call first):
  third_party/ideep/mkl-dnn/cmake/utils.cmake:24 (include)
  third_party/ideep/mkl-dnn/CMakeLists.txt:74 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- OpenMP lib: provided by compiler
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- VTune profiling environment is unset
-- Found MKL-DNN: TRUE
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test C_HAS_THREAD
-- Performing Test C_HAS_THREAD - Success
-- GCC 9.2.0: Adding gcc and gcc_s libs to link line
-- don't use NUMA
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
CMake Deprecation Warning at third_party/sleef/CMakeLists.txt:20 (cmake_policy):
  The OLD behavior for policy CMP0066 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found OpenSSL: /home/quent/.local/bin/anaconda3/envs/fairseq/lib/libcrypto.so (found version "1.1.1d")  
-- Check size of long double
-- Check size of long double - done
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success
-- Performing Test COMPILER_SUPPORTS_FLOAT128
-- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success
-- Performing Test COMPILER_SUPPORTS_SSE2
-- Performing Test COMPILER_SUPPORTS_SSE2 - Success
-- Performing Test COMPILER_SUPPORTS_SSE4
-- Performing Test COMPILER_SUPPORTS_SSE4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX
-- Performing Test COMPILER_SUPPORTS_AVX - Success
-- Performing Test COMPILER_SUPPORTS_FMA4
-- Performing Test COMPILER_SUPPORTS_FMA4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_AVX512F
-- Performing Test COMPILER_SUPPORTS_AVX512F - Success
-- Performing Test COMPILER_SUPPORTS_OPENMP
-- Performing Test COMPILER_SUPPORTS_OPENMP - Success
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success
-- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM
-- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM - Success
-- Configuring build for SLEEF-v3.4.0
   Target system: Linux-5.3.18-1-MANJARO
   Target processor: x86_64
   Host system: Linux-5.3.18-1-MANJARO
   Host processor: x86_64
   Detected C compiler: GNU @ /usr/bin/cc
-- 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
-- RT : /usr/lib/librt.so
-- FFTW3 : /usr/lib/libfftw3.so
-- OPENSSL : 1.1.1d
-- SDE : SDE_COMMAND-NOTFOUND
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
AT_INSTALL_INCLUDE_DIR include/ATen/core
core header install: /home/quent/.local/bin/pytorch/build/aten/src/ATen/core/TensorBody.h
core header install: /home/quent/.local/bin/pytorch/build/aten/src/ATen/core/TensorMethods.h
-- Include NCCL operators
-- Including IDEEP operators
-- Excluding image processing operators due to no opencv
-- Excluding video processing operators due to no opencv
-- Include Observer library
-- /usr/bin/c++ /home/quent/.local/bin/pytorch/caffe2/../torch/abi-check.cpp -o /home/quent/.local/bin/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- MPI_INCLUDE_PATH: /usr/include
-- MPI_LIBRARIES: /usr/lib/openmpi/libmpi_cxx.so;/usr/lib/openmpi/libmpi.so
-- MPIEXEC: /usr/bin/mpiexec
-- 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.8/site-packages as python relative installation path
CMake Warning at CMakeLists.txt:596 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.  Other settings may generate files that are not well
  tested.


-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.16.3
--   CMake command         : /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler id       : GNU
--   C++ compiler version  : 9.2.0
--   BLAS                  : MKL
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_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;IDEEP_USE_MKL;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
--   CMAKE_PREFIX_PATH     : /home/quent/.local/bin/anaconda3/envs/fairseq;/opt/cuda
--   CMAKE_INSTALL_PREFIX  : /home/quent/.local/bin/pytorch/torch
-- 
--   TORCH_VERSION         : 1.5.0
--   CAFFE2_VERSION        : 1.5.0
--   BUILD_CAFFE2_MOBILE   : ON
--   USE_STATIC_DISPATCH   : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : True
--     Python version      : 3.8.1
--     Python executable   : /home/quent/.local/bin/anaconda3/envs/fairseq/bin/python
--     Pythonlibs version  : 3.8.1
--     Python library      : /home/quent/.local/bin/anaconda3/envs/fairseq/lib/libpython3.8.so.1.0
--     Python includes     : /home/quent/.local/bin/anaconda3/envs/fairseq/include/python3.8
--     Python site-packages: lib/python3.8/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : True
--   BUILD_JNI             : OFF
--   INTERN_BUILD_MOBILE   : 
--   USE_ASAN              : OFF
--   USE_CUDA              : ON
--     CUDA static link    : OFF
--     USE_CUDNN           : ON
--     CUDA version        : 10.2
--     cuDNN version       : 7.6.5
--     CUDA root directory : /opt/cuda
--     CUDA library        : /opt/cuda/lib/stubs/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
--     nvrtc               : /opt/cuda/lib/libnvrtc.so
--     CUDA include path   : /opt/cuda/include
--     NVCC executable     : /opt/cuda/bin/nvcc
--     NVCC flags          : -DONNX_NAMESPACE=onnx_torch;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_70,code=compute_70;-gencode;arch=compute_75,code=compute_75;-Xcudafe;--diag_suppress=cc_clobber_ignored;-Xcudafe;--diag_suppress=integer_sign_change;-Xcudafe;--diag_suppress=useless_using_declaration;-Xcudafe;--diag_suppress=set_but_not_used;-std=c++14;-Xcompiler;-fPIC;--expt-relaxed-constexpr;--expt-extended-lambda;-Wno-deprecated-gpu-targets;--expt-extended-lambda;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_70,code=compute_70;-gencode;arch=compute_75,code=compute_75;-Xcompiler -fPIC;-DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__
--     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       : ON
--     USE_MPI             : ON
--     USE_GLOO            : ON
--   Public Dependencies  : Threads::Threads;caffe2::mkl;caffe2::mkldnn
--   Private Dependencies : qnnpack;pytorch_qnnpack;nnpack;cpuinfo;fbgemm;fp16;/usr/lib/openmpi/libmpi_cxx.so;/usr/lib/openmpi/libmpi.so;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl
-- Configuring done
CMake Warning at caffe2/CMakeLists.txt:627 (add_library):
  Cannot generate a safe runtime search path for target torch_cpu because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libgomp.so.1] in /usr/lib may be hidden by files in:
      /home/quent/.local/bin/anaconda3/envs/fairseq/lib

  Some of these libraries may not be found correctly.


CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1847 (add_library):
  Cannot generate a safe runtime search path for target
  caffe2_detectron_ops_gpu because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libgomp.so.1] in /usr/lib may be hidden by files in:
      /home/quent/.local/bin/anaconda3/envs/fairseq/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  modules/detectron/CMakeLists.txt:13 (CUDA_ADD_LIBRARY)


-- Generating done
-- Build files have been written to: /home/quent/.local/bin/pytorch/build
cmake --build . --target install --config Release -- -j 12
...
[2598/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_normalize_op_gpu.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_normalize_op_gpu.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_normalize_op_gpu.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_normalize_op_gpu.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_normalize_op_gpu.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_000060b0_00000000-4_sparse_normalize_op_gpu.cpp4.ii".
CMake Error at torch_cuda_generated_sparse_normalize_op_gpu.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_normalize_op_gpu.cu.o


[2599/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_stump_func_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_stump_func_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_stump_func_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_stump_func_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_stump_func_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_000060cb_00000000-4_stump_func_op.cpp4.ii".
CMake Error at torch_cuda_generated_stump_func_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_stump_func_op.cu.o


[2600/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_thresholded_relu_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_thresholded_relu_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_thresholded_relu_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_thresholded_relu_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_thresholded_relu_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_000060cd_00000000-4_thresholded_relu_op.cpp4.ii".
CMake Error at torch_cuda_generated_thresholded_relu_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_thresholded_relu_op.cu.o


[2601/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_to_dense_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_to_dense_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_to_dense_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_to_dense_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_sparse_to_dense_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_00006082_00000000-4_sparse_to_dense_op.cpp4.ii".
CMake Error at torch_cuda_generated_sparse_to_dense_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_sparse_to_dense_op.cu.o


[2602/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_space_batch_op_gpu.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_space_batch_op_gpu.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_space_batch_op_gpu.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_space_batch_op_gpu.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_space_batch_op_gpu.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_00006083_00000000-4_space_batch_op_gpu.cpp4.ii".
CMake Error at torch_cuda_generated_space_batch_op_gpu.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_space_batch_op_gpu.cu.o


[2603/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tile_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tile_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tile_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tile_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tile_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_00006104_00000000-4_tile_op.cpp4.ii".
CMake Error at torch_cuda_generated_tile_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tile_op.cu.o


[2604/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tanh_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tanh_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tanh_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tanh_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tanh_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_000060fd_00000000-4_tanh_op.cpp4.ii".
CMake Error at torch_cuda_generated_tanh_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tanh_op.cu.o


[2605/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_swish_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_swish_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_swish_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_swish_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_swish_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_0000610c_00000000-4_swish_op.cpp4.ii".
CMake Error at torch_cuda_generated_swish_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_swish_op.cu.o


[2606/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_softsign_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_softsign_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_softsign_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_softsign_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_softsign_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_0000611c_00000000-4_softsign_op.cpp4.ii".
CMake Error at torch_cuda_generated_softsign_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_softsign_op.cu.o


[2607/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tan_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tan_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tan_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tan_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_tan_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_00006115_00000000-4_tan_op.cpp4.ii".
CMake Error at torch_cuda_generated_tan_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_tan_op.cu.o


[2608/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_spatial_batch_norm_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_spatial_batch_norm_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_spatial_batch_norm_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_spatial_batch_norm_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_spatial_batch_norm_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &) [with Packet=half2]"

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_00006148_00000000-4_spatial_batch_norm_op.cpp4.ii".
CMake Error at torch_cuda_generated_spatial_batch_norm_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_spatial_batch_norm_op.cu.o


[2609/3544] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_summarize_op.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_summarize_op.cu.o 
cd /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -E make_directory /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/. && /home/quent/.local/bin/anaconda3/envs/fairseq/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_summarize_op.cu.o -D generated_cubin_file:STRING=/home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_summarize_op.cu.o.cubin.txt -P /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/torch_cuda_generated_summarize_op.cu.o.Release.cmake
/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/quent/.local/bin/pytorch/aten/src/ATen/core/ivalue_inl.h(353): warning: pointless comparison of unsigned integer with zero

/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here

1 error detected in the compilation of "/tmp/tmpxft_0000615d_00000000-4_summarize_op.cpp4.ii".
CMake Error at torch_cuda_generated_summarize_op.cu.o.Release.cmake:281 (message):
  Error generating file
  /home/quent/.local/bin/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/operators/./torch_cuda_generated_summarize_op.cu.o


ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "setup.py", line 737, in <module>
    build_deps()
  File "setup.py", line 311, in build_deps
    build_caffe2(version=version,
  File "/home/quent/.local/bin/pytorch/tools/build_pytorch_libs.py", line 62, in build_caffe2
    cmake.build(my_env)
  File "/home/quent/.local/bin/pytorch/tools/setup_helpers/cmake.py", line 339, in build
    self.run(build_args, my_env)
  File "/home/quent/.local/bin/pytorch/tools/setup_helpers/cmake.py", line 141, in run
    check_call(command, cwd=self.build_dir, env=env)
  File "/home/quent/.local/bin/anaconda3/envs/fairseq/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '12']' returned non-zero exit status 1.
```

</details>

The error:

```
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(166): error: expression must have a constant value
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(90): note: expression cannot be interpreted
/home/quent/.local/bin/pytorch/c10/util/TypeIndex.h(110): note: called from:
          detected during:
            instantiation of "c10::string_view c10::util::get_fully_qualified_type_name<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/c10/util/typeid.h(415): here
            instantiation of "c10::string_view caffe2::TypeMeta::TypeName<T>() [with T=caffe2::Tensor]" 
/home/quent/.local/bin/pytorch/caffe2/core/blob.h(88): here
```