<h2 dir="auto">❓ Pytorch 1.0.0 compile failure on Ubuntu 16.04 LTS with CUDA 10.1</h2>
<p dir="auto">I want to install <code class="notranslate">pytorch = 1.0.0</code> to implement a specific baseline on a compute machine with CUDA version of 10.1, However there seems to be no existing binary compatible with this configuration. So I try to compile the source.</p>
<h3 dir="auto">Command before Compilation</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Environment Variables
export CUDA_HOME=/usr/local/cuda
export PATH=&quot;/usr/local/cuda/bin:$PATH&quot;
export LD_LIBRARY_PATH=&quot;$LD_LIBRARY_PATH:/usr/local/cuda/lib64&quot;
export LIBRARY_PATH=&quot;$LIBRARY_PATH:/usr/local/cuda/lib64&quot;

source ~/.bashrc 

# create conda environment with Python=3.6.9
...

# Install basic dependencies
conda install numpy pyyaml mkl mkl-include setuptools cmake cffi typing
conda install -c mingfeima mkldnn

# Add LAPACK support for the GPU
conda install -c pytorch magma-cuda101

# clone the pytorch source code
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch

# checkout to version 1.0.0
git checkout tags/v1.0.0

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-&quot;$(dirname $(which conda))/../&quot;}
# install 
python setup.py install"><pre class="notranslate"><code class="notranslate"># Environment Variables
export CUDA_HOME=/usr/local/cuda
export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/cuda/lib64"

source ~/.bashrc 

# create conda environment with Python=3.6.9
...

# Install basic dependencies
conda install numpy pyyaml mkl mkl-include setuptools cmake cffi typing
conda install -c mingfeima mkldnn

# Add LAPACK support for the GPU
conda install -c pytorch magma-cuda101

# clone the pytorch source code
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch

# checkout to version 1.0.0
git checkout tags/v1.0.0

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
# install 
python setup.py install
</code></pre></div>
<h3 dir="auto">logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Building wheel torch-1.0.0a0+db5d313
running install
setup.py::run()
running build_deps
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_FBGEMM=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_MKLDNN=1
+ shift
+ [[ 2 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_QNNPACK=1
+ shift
+ [[ 1 -gt 0 ]]
+ case &quot;$1&quot; in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Linux == Darwin ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /home/chxt/pytorch
+ BASE_DIR=/home/chxt/pytorch
+ TORCH_LIB_DIR=/home/chxt/pytorch/torch/lib
+ INSTALL_DIR=/home/chxt/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/home/chxt/pytorch/third_party
+ C_FLAGS=
+ C_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS=
+ LD_POSTFIX=.so
++ uname
+ [[ Linux == \D\a\r\w\i\n ]]
+ [[ 0 -eq 1 ]]
+ LDFLAGS=' -Wl,-rpath,$ORIGIN'
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ [[ 0 -eq 1 ]]
+ CUDA_NVCC_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=40
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /home/chxt/pytorch/torch/lib/tmp_install
+ for arg in '&quot;$@&quot;'
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=(&quot;-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH&quot;)
+ [[ 1 -eq 1 ]]
+ cmake /home/chxt/pytorch -DPYTHON_EXECUTABLE=/home/chxt/anaconda3/envs/rcan/bin/python -DPYTHON_LIBRARY=/home/chxt/anaconda3/envs/rcan/lib/libpython3.6m.so.1.0 -DPYTHON_INCLUDE_DIR=/home/chxt/anaconda3/envs/rcan/include/python3.6m -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+db5d313 -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_FBGEMM=0 -DUSE_NUMPY= -DNUMPY_INCLUDE_DIR=/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages/numpy/core/include -DUSE_SYSTEM_NCCL=OFF -DNCCL_INCLUDE_DIR= -DNCCL_ROOT_DIR= -DNCCL_SYSTEM_LIB= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR= -DCUDNN_LIB_DIR= -DCUDNN_LIBRARY= -DUSE_MKLDNN=1 -DNCCL_EXTERNAL=1 -DCMAKE_INSTALL_PREFIX=/home/chxt/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS= -Wl,-rpath,$ORIGIN ' '-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-rpath,$ORIGIN ' -DTHD_SO_VERSION=1 '-DCMAKE_PREFIX_PATH=/home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages'
-- std::exception_ptr is supported.
-- NUMA is disabled
-- Turning off deprecation warning due to glog.
-- 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/chxt/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt;
-- The BLAS backend of choice:MKL
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: /home/chxt/anaconda3/lib/libmkl_intel_lp64.so
--   Library mkl_gnu_thread: /home/chxt/anaconda3/lib/libmkl_gnu_thread.so
--   Library mkl_core: /home/chxt/anaconda3/lib/libmkl_core.so
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
--   Library gomp: -fopenmp
--   Library pthread: /usr/lib/x86_64-linux-gnu/libpthread.so
--   Library m: /usr/lib/x86_64-linux-gnu/libm.so
--   Library dl: /usr/lib/x86_64-linux-gnu/libdl.so
-- Brace yourself, we are building NNPACK
-- Found PythonInterp: /home/chxt/anaconda3/envs/rcan/bin/python (found version &quot;3.6.9&quot;) 
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Using third party subdirectory Eigen.
Python 3.6.9 :: Anaconda, Inc.
-- Found PythonInterp: /home/chxt/anaconda3/envs/rcan/bin/python (found suitable version &quot;3.6.9&quot;, minimum required is &quot;2.7&quot;) 
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) 
-- Using third_party/pybind11.
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.1&quot;, minimum required is &quot;7.0&quot;) 
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 10.1
-- Could NOT find CUDNN (missing: CUDNN_INCLUDE_DIR CUDNN_LIBRARY) 
CMake Warning at cmake/public/cuda.cmake:101 (message):
  Caffe2: Cannot find cuDNN library.  Turning the option off
Call Stack (most recent call first):
  cmake/Dependencies.cmake:681 (include)
  CMakeLists.txt:201 (include)


-- Autodetected CUDA architecture(s): 7.5;7.5;7.5;7.5;7.5;7.5
-- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
-- CUDA detected: 10.1
Generated: /home/chxt/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
Generated: /home/chxt/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
-- 
-- ******** Summary ********
--   CMake version         : 3.14.0
--   CMake command         : /home/chxt/anaconda3/envs/rcan/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 5.4.0
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL
--   CMAKE_PREFIX_PATH     : /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /home/chxt/pytorch/torch/lib/tmp_install
--   CMAKE_MODULE_PATH     : /home/chxt/pytorch/cmake/Modules;/home/chxt/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
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- Compiling with MAGMA support
-- MAGMA INCLUDE DIRECTORIES: /home/chxt/anaconda3/envs/rcan/include
-- MAGMA LIBRARIES: /home/chxt/anaconda3/envs/rcan/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
-- Atomics: using C11 intrinsics
-- Found a library with BLAS API (mkl).
-- Found a library with LAPACK API. (mkl)
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.1&quot;, minimum required is &quot;5.5&quot;) 
-- CuDNN not found. Compiling without CuDNN support
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- Detecting Intel(R) MKL: trying mklml_intel
-- Intel(R) MKL: include /home/chxt/anaconda3/envs/rcan/include
-- Intel(R) MKL: lib /home/chxt/anaconda3/envs/rcan/lib/libmklml_intel.so
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
-- OpenMP lib: /home/chxt/anaconda3/lib/libiomp5.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- VTune profiling environment is unset
CMake Warning (dev) at cmake/public/mkldnn.cmake:1 (find_package):
  Policy CMP0074 is not set: find_package uses &lt;PackageName&gt;_ROOT variables.
  Run &quot;cmake --help-policy CMP0074&quot; for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MKLDNN_ROOT is set to:

    /home/chxt/pytorch/third_party/ideep/mkl-dnn

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:1309 (INCLUDE)
  CMakeLists.txt:201 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- GCC 5.4.0: Adding gcc and gcc_s libs to link line
-- Using python found in /home/chxt/anaconda3/envs/rcan/bin/python
-- Configuring build for SLEEF-v3.4.0
   Target system: Linux-4.4.0-31-generic
   Target processor: x86_64
   Host system: Linux-4.4.0-31-generic
   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 : /home/chxt/anaconda3/lib/libmpfr.so
-- MPFR header file in /home/chxt/anaconda3/include
-- GMP : /home/chxt/anaconda3/lib/libgmp.so
-- RT : /usr/lib/x86_64-linux-gnu/librt.so
-- FFTW3 : LIBFFTW3-NOTFOUND
-- OPENSSL : 1.1.1d
-- SDE : SDE_COMMAND-NOTFOUND
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
-- Using python found in /home/chxt/anaconda3/envs/rcan/bin/python
-- /usr/bin/c++ /home/chxt/pytorch/torch/abi-check.cpp -o /home/chxt/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.1&quot;, minimum required is &quot;7.5&quot;) 
-- Building the gloo backend with TCP support only
-- Found CUDA: /usr/local/cuda (found version &quot;10.1&quot;) 
-- Building C10D with CUDA support
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Not able to find MPI, will compile c10d without MPI support
-- 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
-- Using lib/python3.7/site-packages as python relative installation path
-- Automatically generating missing __init__.py files.
-- A previous caffe2 cmake run already created the __init__.py files.
CMake Warning at CMakeLists.txt:389 (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.14.0
--   CMake command         : /home/chxt/anaconda3/envs/rcan/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 5.4.0
--   BLAS                  : MKL
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -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-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-unused-but-set-variable -Wno-maybe-uninitialized
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_NAMESPACE=onnx_torch;MAGMA_V2;USE_C11_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
--   CMAKE_PREFIX_PATH     : /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /home/chxt/pytorch/torch/lib/tmp_install
-- 
--   TORCH_VERSION         : 1.0.0
--   CAFFE2_VERSION        : 1.0.0
--   BUILD_ATEN_MOBILE     : OFF
--   BUILD_ATEN_ONLY       : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 3.6.9
--     Python executable   : /home/chxt/anaconda3/envs/rcan/bin/python
--     Pythonlibs version  : 3.6.9
--     Python library      : /home/chxt/anaconda3/envs/rcan/lib/libpython3.6m.so.1.0
--     Python includes     : /home/chxt/anaconda3/envs/rcan/include/python3.6m
--     Python site-packages: lib/python3.6/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : ON
--   USE_ASAN              : OFF
--   USE_CUDA              : 1
--     CUDA static link    : 0
--     USE_CUDNN           : OFF
--     CUDA version        : 10.1
--     CUDA root directory : /usr/local/cuda
--     CUDA library        : /usr/local/cuda/lib64/stubs/libcuda.so
--     cudart library      : /usr/local/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so
--     cublas library      : /usr/lib/x86_64-linux-gnu/libcublas.so
--     cufft library       : /usr/local/cuda/lib64/libcufft.so
--     curand library      : /usr/local/cuda/lib64/libcurand.so
--     nvrtc               : /usr/local/cuda/lib64/libnvrtc.so
--     CUDA include path   : /usr/local/cuda/include
--     NVCC executable     : /usr/local/cuda/bin/nvcc
--     CUDA host compiler  : /usr/bin/cc
--     USE_TENSORRT        : OFF
--   USE_ROCM              : 0
--   USE_EIGEN_FOR_BLAS    : 
--   USE_FBGEMM            : 0
--   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_MOBILE_OPENGL     : OFF
--   USE_NCCL              : ON
--     USE_SYSTEM_NCCL     : OFF
--   USE_NNPACK            : 1
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : OFF
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : 1
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : ON
--     USE_MPI             : OFF
--     USE_GLOO            : ON
--     USE_GLOO_IBVERBS    : OFF
--   Public Dependencies  : Threads::Threads;caffe2::mkl;caffe2::mkldnn
--   Private Dependencies : qnnpack;nnpack;cpuinfo;fp16;gloo;aten_op_header_gen;onnxifi_loader;rt;gcc_s;gcc;dl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chxt/pytorch/build
+ make install -j40
[  1%] Built target mkrename_gnuabi
[  1%] Built target mkdisp
[  1%] Built target ATEN_CPU_FILES_GEN_TARGET
[  1%] Built target clog
[  1%] Built target nccl_external
[  1%] Built target torch_shm_manager
[  1%] Built target c10_utils_cpu
[  1%] Built target gtest
[  1%] Built target arraymap
[  1%] Built target onnxifi_loader
[  2%] Built target libprotobuf-lite
[  2%] Built target onnxifi_dummy
[  2%] Built target pthreadpool
[  2%] Built target mkalias
[  2%] Built target c10_utils_gpu
[  2%] Built target c10_utils_hip
[  2%] Built target ATEN_CUDA_FILES_GEN_TARGET
[  4%] Built target gloo
[  4%] Built target common
[  4%] Built target mkrename
[  5%] Built target benchmark
[  5%] Built target mkmasked_gnuabi
[  7%] Built target c10
[  7%] Built target dispsse.c_generated
[  7%] Built target __aten_op_header_gen
[  7%] Built target dispavx.c_generated
[  7%] Built target gtest_main
[  8%] Built target cpuinfo_internals
[  8%] Built target onnxifi_wrapper
[  8%] Built target renameSSE2.h_generated
[  9%] Built target cpuinfo
[  9%] Built target nnpack_reference_layers
[  9%] Built target renameAVX2128.h_generated
[  9%] Built target renameSSE4.h_generated
[  9%] Built target renameAVX2.h_generated
[  9%] Built target headers
[  9%] Built target renamePURECFMA_SCALAR.h_generated
[  9%] Built target renameAVX.h_generated
[  9%] Built target renamePUREC_SCALAR.h_generated
[  9%] Built target renamedsp256.h_generated
[  9%] Built target renameFMA4.h_generated
[  9%] Built target renamedsp128.h_generated
[  9%] Built target benchmark_main
[ 13%] Built target libprotobuf
[ 13%] Built target c10_cuda
[ 13%] Built target c10_intrusive_ptr_test
[ 13%] Built target c10_Metaprogramming_test
[ 13%] Built target c10_typeid_test
[ 13%] Built target c10_OpSchema_test
[ 13%] Built target c10_TypeTraits_test
[ 13%] Built target c10_logging_test
[ 13%] Built target c10_InlineStreamGuard_test
[ 13%] Built target c10_TypeList_test
[ 13%] Built target c10_flags_test
[ 13%] Built target c10_InlineDeviceGuard_test
[ 13%] Built target c10_TensorTypeId_test
[ 13%] Built target c10_DeviceGuard_test
[ 13%] Built target c10_Array_test
[ 13%] Built target c10_registry_test
[ 14%] Built target c10_StreamGuard_test
[ 14%] Built target c10_utils_hip_test
[ 14%] Built target sleefavx2128
[ 14%] Built target c10_Half_test
[ 14%] Built target c10_utils_gpu_test
[ 15%] Built target c10_utils_cpu_test
[ 15%] Built target sleefsse2
[ 16%] Built target nnpack
[ 17%] Built target sleefdetavx2128
[ 17%] Built target sleefdetsse4
[ 18%] Built target sleefpurecfma_scalar
[ 18%] Built target sleefdetpurecfma_scalar
[ 18%] Built target sleefdetsse2
[ 18%] Built target sleefpurec_scalar
[ 18%] Built target sleefsse4
[ 18%] Built target sleefdetpurec_scalar
[ 18%] Built target sleefdetavx2
[ 18%] Built target sleefavx
[ 18%] Built target sleefavx2
[ 20%] Built target qnnpack
[ 20%] Built target gloo_cuda
[ 20%] Built target dispavx_obj
[ 20%] Built target dispsse_obj
[ 20%] Built target sleefdetfma4
[ 20%] Built target sleefdetavx
[ 20%] Built target sleeffma4
[ 26%] Built target mkldnn
[ 26%] Built target c10_cuda_CUDATest
[ 27%] Built target sleef
[ 31%] Built target libprotoc
[ 31%] Built target protoc
[ 31%] Built target gen_onnx_proto
[ 31%] Built target Caffe2_PROTO
[ 32%] Built target onnx_proto
[ 32%] Built target caffe2_protos
[ 33%] Built target Caffe2_perfkernels_avx
[ 33%] Built target Caffe2_perfkernels_avx2
[ 35%] Built target onnx
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/do_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dropout_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_logical_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_linear_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sum_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_schema.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_utils.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/exp_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elu_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_clipped_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_cpu_output_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops.cc.o
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_gradient_op.cc.o
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/enforce_finite_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/fully_connected_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/pool_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/relu_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/local_response_normalization_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/squeeze_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/concat_split_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/dropout_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/momentum_sgd_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/elementwise_sum_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/sigmoid_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/relu_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/pool_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/fully_connected_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/local_response_normalization_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/squeeze_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/concat_split_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/dropout_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/momentum_sgd_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/elementwise_sum_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/sigmoid_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:3:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/third_party/ideep/include/ideep_pin_singletons.hpp:4,
                 from /home/chxt/pytorch/caffe2/ideep/utils/ideep_register.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/third_party/ideep/include/ideep_pin_singletons.hpp:4,
                 from /home/chxt/pytorch/caffe2/ideep/utils/ideep_register.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:3:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
[ 36%] Built target python_copy_files
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_squeeze_dims_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc: In member function ‘virtual bool caffe2::IDEEPConvOp::RunOnDeviceWithOrderNCHW()’:
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:55:30: error: no matching function for call to ‘ideep::tensor::init(ideep::param::descriptor&amp;)’
           expected_descriptor);
                              ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note: candidate: template&lt;class alloc&gt; void ideep::tensor::init(const ideep::param::descriptor&amp;)
   void init(const descriptor&amp; adesc) {
        ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note:   template argument deduction/substitution failed:
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:55:30: error: wrong number of template arguments (2, should be at least 0)
           expected_descriptor);
                              ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:56:14: error: ‘ideep::reorder’ has not been declared
       ideep::reorder::compute(filter_in, filter_);
              ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:76:17: error: call of overloaded ‘compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, std::vector&lt;int&gt;&amp;, ideep::param::dims, ideep::param::dims, int&amp;)’ is ambiguous
           group_);
                 ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:41:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:551:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const scale_t&amp;, const scale_t&amp;, const scale_t&amp;, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind, ideep::lowp_kind) [with alloc = ideep::utils::allocator; bool with_bias = true; ideep::tdims_t = std::vector&lt;int&gt;; ideep::scale_t = std::vector&lt;float&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights, const tensor&amp; bias,
               ^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:579:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; bool with_bias = true; ideep::tdims_t = std::vector&lt;int&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights, const tensor&amp; bias,
               ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:87:17: error: call of overloaded ‘compute(const ideep::tensor&amp;, const ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, std::vector&lt;int&gt;&amp;, ideep::param::dims, ideep::param::dims, int&amp;)’ is ambiguous
           group_);
                 ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:41:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:565:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const scale_t&amp;, const scale_t&amp;, const scale_t&amp;, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind, ideep::lowp_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector&lt;int&gt;; ideep::scale_t = std::vector&lt;float&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights,
               ^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:592:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector&lt;int&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights,
               ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc: In member function ‘virtual bool caffe2::IDEEPConvFusionOp::RunOnDeviceWithOrderNCHW()’:
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:88:32: error: no matching function for call to ‘ideep::tensor::init(ideep::param::descriptor&amp;)’
             expected_descriptor);
                                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note: candidate: template&lt;class alloc&gt; void ideep::tensor::init(const ideep::param::descriptor&amp;)
   void init(const descriptor&amp; adesc) {
        ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note:   template argument deduction/substitution failed:
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:88:32: error: wrong number of template arguments (2, should be at least 0)
             expected_descriptor);
                                ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:89:16: error: ‘ideep::reorder’ has not been declared
         ideep::reorder::compute(filter, filter_);
                ^
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc: In member function ‘virtual bool caffe2::CopyCPUToIDEEPOp::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:22:31: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
     Y-&gt;GetMutable&lt;itensor&gt;()-&gt;reorder_from(
                               ^
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc: In member function ‘virtual bool caffe2::CopyIDEEPToCPUOp::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:61:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
         X.reorder_to(Y-&gt;template mutable_data&lt;float&gt;());
           ^
In file included from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
In file included from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::fb::{anonymous}::CreateMutexOp; SkipOutputCopy = caffe2::SkipIndices&lt;0&gt;]’:
/home/chxt/pytorch/caffe2/operators/atomic_ops.cc:153:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
caffe2/CMakeFiles/caffe2.dir/build.make:3565: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
caffe2/CMakeFiles/caffe2.dir/build.make:3461: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3500: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3409: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3539: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3487: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3552: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3448: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3396: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3526: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3513: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3435: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3422: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3370: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3383: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3812: recipe for target 'caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o] Error 1
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::L1DistanceGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/operators/distance_op.cc:764:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
caffe2/CMakeFiles/caffe2.dir/build.make:4410: recipe for target 'caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o] Error 1
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AdamOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::MulFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LeakyReluGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConvTransposeGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;float&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::TanhGradientFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::AddFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AccuracyOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ScaleOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::L1DistanceOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::UnaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;float&gt;, caffe2::CPUContext, caffe2::UnaryFunctorWithDefaultCtor&lt;caffe2::TanhFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::MulFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LeakyReluOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::WeightedSumOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LearningRateOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::IterOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SoftmaxGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AveragedLossGradient&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CTCBeamSearchDecoderOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CTCGreedyDecoderOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::PReluOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::PadImageOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::StopGradientOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AffineChannelOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BBoxTransformOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BoxWithNMSLimitOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;0, 1, 2&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CollectAndDistributeFpnRpnProposalsOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GenerateProposalsOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::RoIAlignRotatedOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::RoIAlignOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SaveOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LoadOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GivenTensorFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::MSRAFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GaussianFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConstantFillOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::XavierFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ReshapeOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;1&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::TransposeOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ResizeLikeOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::FlattenOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConvTransposeOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AveragedLoss&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;0&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ChannelShuffleOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SoftmaxOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
caffe2/CMakeFiles/caffe2.dir/build.make:3474: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o] Error 1
CMakeFiles/Makefile2:3508: recipe for target 'caffe2/CMakeFiles/caffe2.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/caffe2.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
setup.py::build_deps::run()
Failed to run 'bash ../tools/build_pytorch_libs.sh --use-cuda --use-nnpack --use-mkldnn --use-qnnpack caffe2'"><pre class="notranslate"><code class="notranslate">Building wheel torch-1.0.0a0+db5d313
running install
setup.py::run()
running build_deps
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_FBGEMM=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case "$1" in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case "$1" in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case "$1" in
+ USE_MKLDNN=1
+ shift
+ [[ 2 -gt 0 ]]
+ case "$1" in
+ USE_QNNPACK=1
+ shift
+ [[ 1 -gt 0 ]]
+ case "$1" in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Linux == Darwin ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /home/chxt/pytorch
+ BASE_DIR=/home/chxt/pytorch
+ TORCH_LIB_DIR=/home/chxt/pytorch/torch/lib
+ INSTALL_DIR=/home/chxt/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/home/chxt/pytorch/third_party
+ C_FLAGS=
+ C_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS=
+ LD_POSTFIX=.so
++ uname
+ [[ Linux == \D\a\r\w\i\n ]]
+ [[ 0 -eq 1 ]]
+ LDFLAGS=' -Wl,-rpath,$ORIGIN'
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ [[ 0 -eq 1 ]]
+ CUDA_NVCC_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=40
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /home/chxt/pytorch/torch/lib/tmp_install
+ for arg in '"$@"'
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")
+ [[ 1 -eq 1 ]]
+ cmake /home/chxt/pytorch -DPYTHON_EXECUTABLE=/home/chxt/anaconda3/envs/rcan/bin/python -DPYTHON_LIBRARY=/home/chxt/anaconda3/envs/rcan/lib/libpython3.6m.so.1.0 -DPYTHON_INCLUDE_DIR=/home/chxt/anaconda3/envs/rcan/include/python3.6m -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+db5d313 -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_FBGEMM=0 -DUSE_NUMPY= -DNUMPY_INCLUDE_DIR=/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages/numpy/core/include -DUSE_SYSTEM_NCCL=OFF -DNCCL_INCLUDE_DIR= -DNCCL_ROOT_DIR= -DNCCL_SYSTEM_LIB= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR= -DCUDNN_LIB_DIR= -DCUDNN_LIBRARY= -DUSE_MKLDNN=1 -DNCCL_EXTERNAL=1 -DCMAKE_INSTALL_PREFIX=/home/chxt/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS= -Wl,-rpath,$ORIGIN ' '-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-rpath,$ORIGIN ' -DTHD_SO_VERSION=1 '-DCMAKE_PREFIX_PATH=/home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages'
-- std::exception_ptr is supported.
-- NUMA is disabled
-- Turning off deprecation warning due to glog.
-- 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/chxt/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt;
-- The BLAS backend of choice:MKL
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: /home/chxt/anaconda3/lib/libmkl_intel_lp64.so
--   Library mkl_gnu_thread: /home/chxt/anaconda3/lib/libmkl_gnu_thread.so
--   Library mkl_core: /home/chxt/anaconda3/lib/libmkl_core.so
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
--   Library gomp: -fopenmp
--   Library pthread: /usr/lib/x86_64-linux-gnu/libpthread.so
--   Library m: /usr/lib/x86_64-linux-gnu/libm.so
--   Library dl: /usr/lib/x86_64-linux-gnu/libdl.so
-- Brace yourself, we are building NNPACK
-- Found PythonInterp: /home/chxt/anaconda3/envs/rcan/bin/python (found version "3.6.9") 
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Using third party subdirectory Eigen.
Python 3.6.9 :: Anaconda, Inc.
-- Found PythonInterp: /home/chxt/anaconda3/envs/rcan/bin/python (found suitable version "3.6.9", minimum required is "2.7") 
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) 
-- Using third_party/pybind11.
-- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "7.0") 
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 10.1
-- Could NOT find CUDNN (missing: CUDNN_INCLUDE_DIR CUDNN_LIBRARY) 
CMake Warning at cmake/public/cuda.cmake:101 (message):
  Caffe2: Cannot find cuDNN library.  Turning the option off
Call Stack (most recent call first):
  cmake/Dependencies.cmake:681 (include)
  CMakeLists.txt:201 (include)


-- Autodetected CUDA architecture(s): 7.5;7.5;7.5;7.5;7.5;7.5
-- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
-- CUDA detected: 10.1
Generated: /home/chxt/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
Generated: /home/chxt/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
-- 
-- ******** Summary ********
--   CMake version         : 3.14.0
--   CMake command         : /home/chxt/anaconda3/envs/rcan/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 5.4.0
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wnon-virtual-dtor
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL
--   CMAKE_PREFIX_PATH     : /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /home/chxt/pytorch/torch/lib/tmp_install
--   CMAKE_MODULE_PATH     : /home/chxt/pytorch/cmake/Modules;/home/chxt/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
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- Compiling with MAGMA support
-- MAGMA INCLUDE DIRECTORIES: /home/chxt/anaconda3/envs/rcan/include
-- MAGMA LIBRARIES: /home/chxt/anaconda3/envs/rcan/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
-- Atomics: using C11 intrinsics
-- Found a library with BLAS API (mkl).
-- Found a library with LAPACK API. (mkl)
-- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "5.5") 
-- CuDNN not found. Compiling without CuDNN support
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- Detecting Intel(R) MKL: trying mklml_intel
-- Intel(R) MKL: include /home/chxt/anaconda3/envs/rcan/include
-- Intel(R) MKL: lib /home/chxt/anaconda3/envs/rcan/lib/libmklml_intel.so
-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
-- OpenMP lib: /home/chxt/anaconda3/lib/libiomp5.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- VTune profiling environment is unset
CMake Warning (dev) at cmake/public/mkldnn.cmake:1 (find_package):
  Policy CMP0074 is not set: find_package uses &lt;PackageName&gt;_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MKLDNN_ROOT is set to:

    /home/chxt/pytorch/third_party/ideep/mkl-dnn

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:1309 (INCLUDE)
  CMakeLists.txt:201 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- GCC 5.4.0: Adding gcc and gcc_s libs to link line
-- Using python found in /home/chxt/anaconda3/envs/rcan/bin/python
-- Configuring build for SLEEF-v3.4.0
   Target system: Linux-4.4.0-31-generic
   Target processor: x86_64
   Host system: Linux-4.4.0-31-generic
   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 : /home/chxt/anaconda3/lib/libmpfr.so
-- MPFR header file in /home/chxt/anaconda3/include
-- GMP : /home/chxt/anaconda3/lib/libgmp.so
-- RT : /usr/lib/x86_64-linux-gnu/librt.so
-- FFTW3 : LIBFFTW3-NOTFOUND
-- OPENSSL : 1.1.1d
-- SDE : SDE_COMMAND-NOTFOUND
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
-- Using python found in /home/chxt/anaconda3/envs/rcan/bin/python
-- /usr/bin/c++ /home/chxt/pytorch/torch/abi-check.cpp -o /home/chxt/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "7.5") 
-- Building the gloo backend with TCP support only
-- Found CUDA: /usr/local/cuda (found version "10.1") 
-- Building C10D with CUDA support
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Not able to find MPI, will compile c10d without MPI support
-- 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
-- Using lib/python3.7/site-packages as python relative installation path
-- Automatically generating missing __init__.py files.
-- A previous caffe2 cmake run already created the __init__.py files.
CMake Warning at CMakeLists.txt:389 (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.14.0
--   CMake command         : /home/chxt/anaconda3/envs/rcan/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 5.4.0
--   BLAS                  : MKL
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -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-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-unused-but-set-variable -Wno-maybe-uninitialized
--   Build type            : Release
--   Compile definitions   : TH_BLAS_MKL;ONNX_NAMESPACE=onnx_torch;MAGMA_V2;USE_C11_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
--   CMAKE_PREFIX_PATH     : /home/chxt/anaconda3;/home/chxt/anaconda3/envs/rcan/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /home/chxt/pytorch/torch/lib/tmp_install
-- 
--   TORCH_VERSION         : 1.0.0
--   CAFFE2_VERSION        : 1.0.0
--   BUILD_ATEN_MOBILE     : OFF
--   BUILD_ATEN_ONLY       : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 3.6.9
--     Python executable   : /home/chxt/anaconda3/envs/rcan/bin/python
--     Pythonlibs version  : 3.6.9
--     Python library      : /home/chxt/anaconda3/envs/rcan/lib/libpython3.6m.so.1.0
--     Python includes     : /home/chxt/anaconda3/envs/rcan/include/python3.6m
--     Python site-packages: lib/python3.6/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : ON
--   USE_ASAN              : OFF
--   USE_CUDA              : 1
--     CUDA static link    : 0
--     USE_CUDNN           : OFF
--     CUDA version        : 10.1
--     CUDA root directory : /usr/local/cuda
--     CUDA library        : /usr/local/cuda/lib64/stubs/libcuda.so
--     cudart library      : /usr/local/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so
--     cublas library      : /usr/lib/x86_64-linux-gnu/libcublas.so
--     cufft library       : /usr/local/cuda/lib64/libcufft.so
--     curand library      : /usr/local/cuda/lib64/libcurand.so
--     nvrtc               : /usr/local/cuda/lib64/libnvrtc.so
--     CUDA include path   : /usr/local/cuda/include
--     NVCC executable     : /usr/local/cuda/bin/nvcc
--     CUDA host compiler  : /usr/bin/cc
--     USE_TENSORRT        : OFF
--   USE_ROCM              : 0
--   USE_EIGEN_FOR_BLAS    : 
--   USE_FBGEMM            : 0
--   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_MOBILE_OPENGL     : OFF
--   USE_NCCL              : ON
--     USE_SYSTEM_NCCL     : OFF
--   USE_NNPACK            : 1
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : OFF
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : 1
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : ON
--     USE_MPI             : OFF
--     USE_GLOO            : ON
--     USE_GLOO_IBVERBS    : OFF
--   Public Dependencies  : Threads::Threads;caffe2::mkl;caffe2::mkldnn
--   Private Dependencies : qnnpack;nnpack;cpuinfo;fp16;gloo;aten_op_header_gen;onnxifi_loader;rt;gcc_s;gcc;dl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chxt/pytorch/build
+ make install -j40
[  1%] Built target mkrename_gnuabi
[  1%] Built target mkdisp
[  1%] Built target ATEN_CPU_FILES_GEN_TARGET
[  1%] Built target clog
[  1%] Built target nccl_external
[  1%] Built target torch_shm_manager
[  1%] Built target c10_utils_cpu
[  1%] Built target gtest
[  1%] Built target arraymap
[  1%] Built target onnxifi_loader
[  2%] Built target libprotobuf-lite
[  2%] Built target onnxifi_dummy
[  2%] Built target pthreadpool
[  2%] Built target mkalias
[  2%] Built target c10_utils_gpu
[  2%] Built target c10_utils_hip
[  2%] Built target ATEN_CUDA_FILES_GEN_TARGET
[  4%] Built target gloo
[  4%] Built target common
[  4%] Built target mkrename
[  5%] Built target benchmark
[  5%] Built target mkmasked_gnuabi
[  7%] Built target c10
[  7%] Built target dispsse.c_generated
[  7%] Built target __aten_op_header_gen
[  7%] Built target dispavx.c_generated
[  7%] Built target gtest_main
[  8%] Built target cpuinfo_internals
[  8%] Built target onnxifi_wrapper
[  8%] Built target renameSSE2.h_generated
[  9%] Built target cpuinfo
[  9%] Built target nnpack_reference_layers
[  9%] Built target renameAVX2128.h_generated
[  9%] Built target renameSSE4.h_generated
[  9%] Built target renameAVX2.h_generated
[  9%] Built target headers
[  9%] Built target renamePURECFMA_SCALAR.h_generated
[  9%] Built target renameAVX.h_generated
[  9%] Built target renamePUREC_SCALAR.h_generated
[  9%] Built target renamedsp256.h_generated
[  9%] Built target renameFMA4.h_generated
[  9%] Built target renamedsp128.h_generated
[  9%] Built target benchmark_main
[ 13%] Built target libprotobuf
[ 13%] Built target c10_cuda
[ 13%] Built target c10_intrusive_ptr_test
[ 13%] Built target c10_Metaprogramming_test
[ 13%] Built target c10_typeid_test
[ 13%] Built target c10_OpSchema_test
[ 13%] Built target c10_TypeTraits_test
[ 13%] Built target c10_logging_test
[ 13%] Built target c10_InlineStreamGuard_test
[ 13%] Built target c10_TypeList_test
[ 13%] Built target c10_flags_test
[ 13%] Built target c10_InlineDeviceGuard_test
[ 13%] Built target c10_TensorTypeId_test
[ 13%] Built target c10_DeviceGuard_test
[ 13%] Built target c10_Array_test
[ 13%] Built target c10_registry_test
[ 14%] Built target c10_StreamGuard_test
[ 14%] Built target c10_utils_hip_test
[ 14%] Built target sleefavx2128
[ 14%] Built target c10_Half_test
[ 14%] Built target c10_utils_gpu_test
[ 15%] Built target c10_utils_cpu_test
[ 15%] Built target sleefsse2
[ 16%] Built target nnpack
[ 17%] Built target sleefdetavx2128
[ 17%] Built target sleefdetsse4
[ 18%] Built target sleefpurecfma_scalar
[ 18%] Built target sleefdetpurecfma_scalar
[ 18%] Built target sleefdetsse2
[ 18%] Built target sleefpurec_scalar
[ 18%] Built target sleefsse4
[ 18%] Built target sleefdetpurec_scalar
[ 18%] Built target sleefdetavx2
[ 18%] Built target sleefavx
[ 18%] Built target sleefavx2
[ 20%] Built target qnnpack
[ 20%] Built target gloo_cuda
[ 20%] Built target dispavx_obj
[ 20%] Built target dispsse_obj
[ 20%] Built target sleefdetfma4
[ 20%] Built target sleefdetavx
[ 20%] Built target sleeffma4
[ 26%] Built target mkldnn
[ 26%] Built target c10_cuda_CUDATest
[ 27%] Built target sleef
[ 31%] Built target libprotoc
[ 31%] Built target protoc
[ 31%] Built target gen_onnx_proto
[ 31%] Built target Caffe2_PROTO
[ 32%] Built target onnx_proto
[ 32%] Built target caffe2_protos
[ 33%] Built target Caffe2_perfkernels_avx
[ 33%] Built target Caffe2_perfkernels_avx2
[ 35%] Built target onnx
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/do_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dropout_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_logical_ops.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_linear_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sum_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_gradient_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_schema.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_utils.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/exp_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elu_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_clipped_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_cpu_output_op.cc.o
[ 35%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops.cc.o
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_gradient_op.cc.o
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/enforce_finite_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/fully_connected_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/pool_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/relu_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/local_response_normalization_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/squeeze_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/concat_split_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/dropout_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/momentum_sgd_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/elementwise_sum_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/sigmoid_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/relu_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/pool_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/fully_connected_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/local_response_normalization_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/squeeze_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/concat_split_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/dropout_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/momentum_sgd_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/elementwise_sum_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/sigmoid_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:3:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/third_party/ideep/include/ideep_pin_singletons.hpp:4,
                 from /home/chxt/pytorch/caffe2/ideep/utils/ideep_register.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/third_party/ideep/include/ideep_pin_singletons.hpp:4,
                 from /home/chxt/pytorch/caffe2/ideep/utils/ideep_register.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:3:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
[ 36%] Built target python_copy_files
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_squeeze_dims_op.cc.o
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:39:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:151:16: error: ‘mkldnn_rnn_packed’ was not declared in this scope
   rnn_packed = mkldnn_rnn_packed,
                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:6,
                 from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::convert_to_public_format(mkldnn_memory_format_t)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:347:12: error: ‘mkldnn_nChw4c’ was not declared in this scope
       case mkldnn_nChw4c:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:396:12: error: ‘mkldnn_Goihw16g_s8s8’ was not declared in this scope
       case mkldnn_Goihw16g_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:398:12: error: ‘mkldnn_gOIhw2i8o4i’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:399:12: error: ‘mkldnn_gOIhw2i8o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw2i8o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:400:12: error: ‘mkldnn_gOIhw4o4i’ was not declared in this scope
       case mkldnn_gOIhw4o4i:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:401:12: error: ‘mkldnn_gOIhw4o4i_s8s8’ was not declared in this scope
       case mkldnn_gOIhw4o4i_s8s8:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:402:12: error: ‘mkldnn_gOIhw4i4o’ was not declared in this scope
       case mkldnn_gOIhw4i4o:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:421:12: error: ‘mkldnn_rnn_packed’ was not declared in this scope
       case mkldnn_rnn_packed:
            ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp: In static member function ‘static ideep::format ideep::param::descriptor::public_format(ideep::format)’:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:464:9: error: duplicate case value
         case format::rnn_packed:
         ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:460:9: error: previously used here
         case format::ldigo:
         ^
In file included from /home/chxt/pytorch/caffe2/operators/atomic_ops.cc:7:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc: In member function ‘virtual bool caffe2::IDEEPConvOp::RunOnDeviceWithOrderNCHW()’:
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:55:30: error: no matching function for call to ‘ideep::tensor::init(ideep::param::descriptor&amp;)’
           expected_descriptor);
                              ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note: candidate: template&lt;class alloc&gt; void ideep::tensor::init(const ideep::param::descriptor&amp;)
   void init(const descriptor&amp; adesc) {
        ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note:   template argument deduction/substitution failed:
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:55:30: error: wrong number of template arguments (2, should be at least 0)
           expected_descriptor);
                              ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:56:14: error: ‘ideep::reorder’ has not been declared
       ideep::reorder::compute(filter_in, filter_);
              ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:76:17: error: call of overloaded ‘compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, std::vector&lt;int&gt;&amp;, ideep::param::dims, ideep::param::dims, int&amp;)’ is ambiguous
           group_);
                 ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:41:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:551:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const scale_t&amp;, const scale_t&amp;, const scale_t&amp;, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind, ideep::lowp_kind) [with alloc = ideep::utils::allocator; bool with_bias = true; ideep::tdims_t = std::vector&lt;int&gt;; ideep::scale_t = std::vector&lt;float&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights, const tensor&amp; bias,
               ^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:579:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; bool with_bias = true; ideep::tdims_t = std::vector&lt;int&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights, const tensor&amp; bias,
               ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:87:17: error: call of overloaded ‘compute(const ideep::tensor&amp;, const ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, ideep::tensor&amp;, std::vector&lt;int&gt;&amp;, std::vector&lt;int&gt;&amp;, ideep::param::dims, ideep::param::dims, int&amp;)’ is ambiguous
           group_);
                 ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:41:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:565:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const scale_t&amp;, const scale_t&amp;, const scale_t&amp;, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind, ideep::lowp_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector&lt;int&gt;; ideep::scale_t = std::vector&lt;float&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights,
               ^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:592:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&amp;, const ideep::tensor&amp;, const tdims_t&amp;, ideep::tensor&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, const tdims_t&amp;, int, const attr_t&amp;, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector&lt;int&gt;; ideep::attr_t = ideep::descriptor_group::attr_t; ideep::algorithm = mkldnn::algorithm; ideep::prop_kind = mkldnn::prop_kind; ideep::padding_kind = mkldnn::padding_kind]
   static void compute(const tensor&amp; src, const tensor&amp; weights,
               ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc: In member function ‘virtual bool caffe2::IDEEPConvFusionOp::RunOnDeviceWithOrderNCHW()’:
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:88:32: error: no matching function for call to ‘ideep::tensor::init(ideep::param::descriptor&amp;)’
             expected_descriptor);
                                ^
In file included from /home/chxt/pytorch/third_party/ideep/include/ideep.hpp:40:0,
                 from /home/chxt/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_pool_base_op.h:3,
                 from /home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:1:
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note: candidate: template&lt;class alloc&gt; void ideep::tensor::init(const ideep::param::descriptor&amp;)
   void init(const descriptor&amp; adesc) {
        ^
/home/chxt/pytorch/third_party/ideep/include/ideep/tensor.hpp:1091:8: note:   template argument deduction/substitution failed:
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:88:32: error: wrong number of template arguments (2, should be at least 0)
             expected_descriptor);
                                ^
/home/chxt/pytorch/caffe2/ideep/operators/conv_fusion_op.cc:89:16: error: ‘ideep::reorder’ has not been declared
         ideep::reorder::compute(filter, filter_);
                ^
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc: In member function ‘virtual bool caffe2::CopyCPUToIDEEPOp::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:22:31: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
     Y-&gt;GetMutable&lt;itensor&gt;()-&gt;reorder_from(
                               ^
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc: In member function ‘virtual bool caffe2::CopyIDEEPToCPUOp::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/utility_ops.cc:61:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
         X.reorder_to(Y-&gt;template mutable_data&lt;float&gt;());
           ^
In file included from /home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:1:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
In file included from /home/chxt/pytorch/caffe2/operators/distance_op.cc:4:0:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In member function ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
           dtensor-&gt;reorder_from(dst_dims, itensor::data_type::f32,
                    ^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::fb::{anonymous}::CreateMutexOp; SkipOutputCopy = caffe2::SkipIndices&lt;0&gt;]’:
/home/chxt/pytorch/caffe2/operators/atomic_ops.cc:153:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
caffe2/CMakeFiles/caffe2.dir/build.make:3565: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/utils/ideep_register.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
caffe2/CMakeFiles/caffe2.dir/build.make:3461: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/momentum_sgd_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3500: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/relu_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3409: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/dropout_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3539: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/squeeze_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3487: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/pool_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3552: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/utility_ops.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3448: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/local_response_normalization_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3396: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3526: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/spatial_batch_norm_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3513: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/sigmoid_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3435: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/fully_connected_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3422: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/elementwise_sum_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3370: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/concat_split_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3383: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/conv_fusion_op.cc.o] Error 1
caffe2/CMakeFiles/caffe2.dir/build.make:3812: recipe for target 'caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o] Error 1
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::L1DistanceGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/operators/distance_op.cc:764:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
caffe2/CMakeFiles/caffe2.dir/build.make:4410: recipe for target 'caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o] Error 1
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AdamOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
           input.reorder_to(dtensor-&gt;template mutable_data&lt;float&gt;());
           ^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::MulFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LeakyReluGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConvTransposeGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;float&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::TanhGradientFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::AddFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AccuracyOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ScaleOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::L1DistanceOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::UnaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;float&gt;, caffe2::CPUContext, caffe2::UnaryFunctorWithDefaultCtor&lt;caffe2::TanhFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp&lt;caffe2::TensorTypes&lt;int, long int, float, double&gt;, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor&lt;caffe2::MulFunctor&lt;caffe2::CPUContext&gt; &gt;, caffe2::SameTypeAsInput&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LeakyReluOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::WeightedSumOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LearningRateOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::IterOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SoftmaxGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyGradientOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AveragedLossGradient&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CTCBeamSearchDecoderOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CTCGreedyDecoderOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::PReluOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::PadImageOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::StopGradientOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AffineChannelOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BBoxTransformOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::BoxWithNMSLimitOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;0, 1, 2&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::CollectAndDistributeFpnRpnProposalsOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GenerateProposalsOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::RoIAlignRotatedOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::RoIAlignOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SaveOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LoadOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GivenTensorFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::MSRAFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::GaussianFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConstantFillOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::XavierFillOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ReshapeOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;1&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::TransposeOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ResizeLikeOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::FlattenOp&lt;caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ConvTransposeOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::AveragedLoss&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;0&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::ChannelShuffleOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp&lt;CPUOp, SkipOutputCopy&gt;::RunOnDevice() [with CPUOp = caffe2::SoftmaxOp&lt;float, caffe2::CPUContext&gt;; SkipOutputCopy = caffe2::SkipIndices&lt;&gt;]’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.cc:192:1:   required from here
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:98:11: error: ‘const class ideep::tensor’ has no member named ‘reorder_to’
caffe2/CMakeFiles/caffe2.dir/build.make:3474: recipe for target 'caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/ideep/operators/operator_fallback_ideep.cc.o] Error 1
CMakeFiles/Makefile2:3508: recipe for target 'caffe2/CMakeFiles/caffe2.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/caffe2.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
setup.py::build_deps::run()
Failed to run 'bash ../tools/build_pytorch_libs.sh --use-cuda --use-nnpack --use-mkldnn --use-qnnpack caffe2'
</code></pre></div>
<h3 dir="auto">System</h3>
<ul dir="auto">
<li>Ubuntu 16.04 LTS</li>
<li>CUDA 10.1 w/o cudnn</li>
<li>Nvidia Driver Version: 430.40</li>
<li>gcc version 5.4.0 20160609</li>
</ul>
<p dir="auto">There is no way I could change CUDA since I am not a root user and cannot perform <code class="notranslate">sudo</code>. Could anybody help me with it? Or could I get a binary with pytorch=1.0.0 supporting CUDA 10.1 somewhere?</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>

<p dir="auto">following steps to build caffe2 on windows per the caffe2 install page<br>
build_windows.bat runs for a good while then fails with</p>
<p dir="auto">Microsoft (R) C/C++ Optimizing Compiler Version 19.20.27508.1 for x64<br>
Copyright (C) Microsoft Corporation.  All rights reserved.</p>
<p dir="auto"><strong>ninja: build stopped: subcommand failed.<br>
Traceback (most recent call last):<br>
File "tools\build_libtorch.py", line 22, in <br>
build_python=False, rerun_cmake=True, build_dir='.')<br>
File "c:\Users\garry\Downloads\pytorch\tools\build_pytorch_libs.py", line 286, in build_caffe2<br>
check_call(build_cmd, cwd=build_dir, env=my_env)<br>
File "C:\Users\garry\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 347, in check_call<br>
raise CalledProcessError(retcode, cmd)<br>
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '7']' returned non-zero exit status 1.<br>
"Caffe2 building failed"</strong></p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>
<p dir="auto">followed instructions on <a href="https://caffe2.ai/docs/getting-started.html?platform=windows&amp;configuration=compile" rel="nofollow">https://caffe2.ai/docs/getting-started.html?platform=windows&amp;configuration=compile</a></p>
</li>
<li></li>
<li></li>
</ol>

<h2 dir="auto">Expected behavior</h2>

<p dir="auto">expected build script to complete build</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Please copy and paste the output from our<br>
<a href="https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py" rel="nofollow">environment collection script</a><br>
(or fill out the checklist below manually).</p>
<p dir="auto">You can get the script and run it with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py"><pre class="notranslate"><code class="notranslate">wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
</code></pre></div>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0):</li>
<li>OS (e.g., Linux): windows 10 home</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): clone from github</li>
<li>Build command you used (if compiling from source): pytorch/scripts/build_windows.bat</li>
<li>Python version:3.7</li>
<li>CUDA/cuDNN version: NA</li>
<li>GPU models and configuration: AMD Radeon 8700M</li>
<li>Any other relevant information:</li>
</ul>
<h2 dir="auto">Additional context</h2>