Issue 1:
❓ Pytorch 1.0.0 compile failure on Ubuntu 16.04 LTS with CUDA 10.1

I want to install pytorch = 1.0.0 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.

Command before Compilation

# 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

logs

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: $<BUILD_INTERFACE:/home/chxt/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
-- 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 <PackageName>_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<CPUOp, SkipOutputCopy>::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
dtensor->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&)’
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<class alloc> void ideep::tensor::init(const ideep::param::descriptor&)
void init(const descriptor& 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&, const ideep::tensor&, const ideep::tensor&, std::vector<int>&, ideep::tensor&, std::vector<int>&, std::vector<int>&, ideep::param::dims, ideep::param::dims, int&)’ 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&, const ideep::tensor&, const ideep::tensor&, const tdims_t&, ideep::tensor&, const tdims_t&, const tdims_t&, const tdims_t&, const tdims_t&, int, const scale_t&, const scale_t&, const scale_t&, const attr_t&, 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<int>; ideep::scale_t = std::vector<float>; 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& src, const tensor& weights, const tensor& bias,
^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:579:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&, const ideep::tensor&, const ideep::tensor&, const tdims_t&, ideep::tensor&, const tdims_t&, const tdims_t&, const tdims_t&, const tdims_t&, int, const attr_t&, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; bool with_bias = true; ideep::tdims_t = std::vector<int>; 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& src, const tensor& weights, const tensor& bias,
^
/home/chxt/pytorch/caffe2/ideep/operators/conv_op.cc:87:17: error: call of overloaded ‘compute(const ideep::tensor&, const ideep::tensor&, std::vector<int>&, ideep::tensor&, std::vector<int>&, std::vector<int>&, ideep::param::dims, ideep::param::dims, int&)’ 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&, const ideep::tensor&, const tdims_t&, ideep::tensor&, const tdims_t&, const tdims_t&, const tdims_t&, const tdims_t&, int, const scale_t&, const scale_t&, const scale_t&, const attr_t&, ideep::algorithm, ideep::prop_kind, ideep::padding_kind, ideep::lowp_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector<int>; ideep::scale_t = std::vector<float>; 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& src, const tensor& weights,
^
/home/chxt/pytorch/third_party/ideep/include/ideep/computations.hpp:592:15: note: candidate: static void ideep::convolution_forward::compute(const ideep::tensor&, const ideep::tensor&, const tdims_t&, ideep::tensor&, const tdims_t&, const tdims_t&, const tdims_t&, const tdims_t&, int, const attr_t&, ideep::algorithm, ideep::prop_kind, ideep::padding_kind) [with alloc = ideep::utils::allocator; ideep::tdims_t = std::vector<int>; 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& src, const tensor& 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&)’
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<class alloc> void ideep::tensor::init(const ideep::param::descriptor&)
void init(const descriptor& 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->GetMutable<itensor>()->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->template mutable_data<float>());
^
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<CPUOp, SkipOutputCopy>::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
dtensor->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<CPUOp, SkipOutputCopy>::RunOnDevice()’:
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h:146:20: error: ‘class ideep::tensor’ has no member named ‘reorder_from’
dtensor->reorder_from(dst_dims, itensor::data_type::f32,
^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::fb::{anonymous}::CreateMutexOp; SkipOutputCopy = caffe2::SkipIndices<0>]’:
/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->template mutable_data<float>());
^
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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::L1DistanceGradientOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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->template mutable_data<float>());
^
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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::AdamOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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->template mutable_data<float>());
^
/home/chxt/pytorch/caffe2/ideep/operators/operator_fallback_ideep.h: In instantiation of ‘bool caffe2::IDEEPFallbackOp<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp<caffe2::TensorTypes<int, long int, float, double>, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor<caffe2::MulFunctor<caffe2::CPUContext> >, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LeakyReluGradientOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ConvTransposeGradientOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp<caffe2::TensorTypes<float>, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor<caffe2::TanhGradientFunctor<caffe2::CPUContext> >, caffe2::SameTypeAsInput>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsGradientOp<caffe2::TensorTypes<int, long int, float, double>, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor<caffe2::AddFunctor<caffe2::CPUContext> >, caffe2::SameTypeAsInput, caffe2::SameTypeAsInput>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::AccuracyOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ScaleOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::L1DistanceOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::UnaryElementwiseWithArgsOp<caffe2::TensorTypes<float>, caffe2::CPUContext, caffe2::UnaryFunctorWithDefaultCtor<caffe2::TanhFunctor<caffe2::CPUContext> >, caffe2::SameTypeAsInput>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BinaryElementwiseWithArgsOp<caffe2::TensorTypes<int, long int, float, double>, caffe2::CPUContext, caffe2::BinaryFunctorWithDefaultCtor<caffe2::MulFunctor<caffe2::CPUContext> >, caffe2::SameTypeAsInput>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LeakyReluOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::WeightedSumOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LearningRateOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::IterOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::SoftmaxGradientOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyGradientOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::AveragedLossGradient<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::CTCBeamSearchDecoderOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::CTCGreedyDecoderOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::PReluOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::PadImageOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::StopGradientOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::AffineChannelOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BBoxTransformOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::BoxWithNMSLimitOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<0, 1, 2>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::CollectAndDistributeFpnRpnProposalsOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::GenerateProposalsOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::RoIAlignRotatedOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::RoIAlignOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::SaveOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LoadOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::GivenTensorFillOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::MSRAFillOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::GaussianFillOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ConstantFillOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::XavierFillOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ReshapeOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<1>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::TransposeOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ResizeLikeOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::FlattenOp<caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ConvTransposeOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::AveragedLoss<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<0>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::LabelCrossEntropyOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::ChannelShuffleOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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<CPUOp, SkipOutputCopy>::RunOnDevice() [with CPUOp = caffe2::SoftmaxOp<float, caffe2::CPUContext>; SkipOutputCopy = caffe2::SkipIndices<>]’:
/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'

System

Ubuntu 16.04 LTS

CUDA 10.1 w/o cudnn

Nvidia Driver Version: 430.40

gcc version 5.4.0 20160609

There is no way I could change CUDA since I am not a root user and cannot perform sudo. Could anybody help me with it? Or could I get a binary with pytorch=1.0.0 supporting CUDA 10.1 somewhere?

Issue 2:
🐛 Bug

following steps to build caffe2 on windows per the caffe2 install page

build_windows.bat runs for a good while then fails with

Microsoft (R) C/C++ Optimizing Compiler Version 19.20.27508.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

ninja: build stopped: subcommand failed.

Traceback (most recent call last):

File "tools\build_libtorch.py", line 22, in

build_python=False, rerun_cmake=True, build_dir='.')

File "c:\Users\garry\Downloads\pytorch\tools\build_pytorch_libs.py", line 286, in build_caffe2

check_call(build_cmd, cwd=build_dir, env=my_env)

File "C:\Users\garry\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 347, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '7']' returned non-zero exit status 1.

"Caffe2 building failed"

To Reproduce

Steps to reproduce the behavior:

followed instructions on https://caffe2.ai/docs/getting-started.html?platform=windows&configuration=compile

Expected behavior

expected build script to complete build

Environment

Please copy and paste the output from our

environment collection script

(or fill out the checklist below manually).

You can get the script and run it with:

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

PyTorch Version (e.g., 1.0):

OS (e.g., Linux): windows 10 home

How you installed PyTorch (conda, pip, source): clone from github

Build command you used (if compiling from source): pytorch/scripts/build_windows.bat

Python version:3.7

CUDA/cuDNN version: NA

GPU models and configuration: AMD Radeon 8700M

Any other relevant information:

Additional context