Issue 1:
❓ Questions and Help

Hi, recently i am trying to use pytorch model in C++，i mixed tracing and scriping to transform pytorch model. But i find the outputs in C++ is different with outputs in python, and the outputs is different w/o PYTORCH_JIT=0 in pure python. I load pretrained model before tracing(maybe i was wrong with that, but how to load weights before tracing if the traced modules are submodules of a ScriptModule?).

Is there someone who ever encounterd this problem?

Below is my scripts.

import torch
import torch.nn as nn

class SubNet2(torch.jit.ScriptModule):
__constants__ = ['pool']

def __init__(self):
super(SubNet2, self).__init__()
self.backbone_fea_dim = 2048
self.fea_dim = 256
bottleneck_size = [256, 128]
print("in 1 ...")
reduce_dim_z = nn.Sequential(
nn.Conv2d(self.backbone_fea_dim * 2, self.fea_dim, bias=False, kernel_size=1, padding=0),
nn.BatchNorm2d(self.fea_dim, eps=0.001),
nn.ReLU())
reduce_dim_z.load_state_dict(torch.load('./models/weights/reduce_dim_dict2.pkl'))
self.reduce_dim_z = torch.jit.trace(reduce_dim_z, torch.rand(1, self.backbone_fea_dim * 2, 8, 8))

print("in 2 ...")
s_atten_z = nn.Sequential(
nn.Conv2d(1, bottleneck_size[1], kernel_size=8, padding=0, bias=False),
nn.ReLU(inplace=True),
nn.Conv2d(bottleneck_size[1], 64, kernel_size=1, padding=0, bias=False))
s_atten_z.load_state_dict(torch.load('./models/weights/sz_dict2.pkl'))
self.s_atten_z = torch.jit.trace(s_atten_z, torch.rand(1, 1, 8, 8))

print("in 3 ...")
c_atten_z = nn.Sequential(
nn.AvgPool2d(8),
nn.Conv2d(bottleneck_size[0], self.backbone_fea_dim, kernel_size=1, padding=0, bias=False))
c_atten_z.load_state_dict(torch.load('./models/weights/cz_dict2.pkl'))
self.c_atten_z = torch.jit.trace(c_atten_z, torch.rand(1, 256, 8, 8))

print("in 4 ...")
t_info = nn.Sequential(
nn.Conv3d(self.backbone_fea_dim, 256, 1, bias=False),
nn.BatchNorm3d(256),
nn.ReLU(inplace=True),
nn.Conv3d(256, self.fea_dim, 3, padding=1, bias=False),
nn.BatchNorm3d(self.fea_dim),
nn.ReLU(inplace=True))
t_info.load_state_dict(torch.load('./models/weights/tf_dict2.pkl'))
self.t_info = torch.jit.trace(t_info, torch.rand(1, self.backbone_fea_dim, 10, 8, 8))

print("in 5 ...")
self.pool = nn.Sequential(nn.AvgPool2d(8))

@torch.jit.script_method
def generate_attention_z(self, x):
z = self.reduce_dim_z(x)
atten_s = self.s_atten_z(z.mean(dim=1, keepdim=True)).view(z.size(0), 1, z.size(2), z.size(3))
atten_c = self.c_atten_z(z)
z = torch.sigmoid(atten_s * atten_c)
return z, 1 - z

@torch.jit.script_method
def forward(self, x):
if x.dim() == 4:
x = x.view((1,) + x.size())

video_num = x.size(0)
depth = x.size(1)

res = torch.cat((x[:, 0].contiguous().view((x.size(0), 1) + x.size()[2:]), x), dim=1)
res = res[:, :-1]
res = x - res
h = x[:, 0]
output = []
for t in range(depth):
con_fea = torch.cat((h - x[:, t], res[:, t]), dim=1)
z_p, z_r = self.generate_attention_z(con_fea)
h = z_r * h + z_p * x[:, t]
output.append(h)

fea_t = torch.stack(output, dim=2)
fea_t = self.pool(self.t_info(fea_t).mean(dim=2)).view(video_num, -1)
return fea_t

if __name__ == '__main__':
net = SubNet2()
net.eval()
input_data = torch.ones(2, 2048, 8, 8)
output = net(input_data)
print(output.shape)
print(output)

The model link

Issue 2:
Make error happens when 'make' caffe2.

Shorted error info.

[ 72%] Linking CXX shared module python/caffe2_pybind11_state.so

[ 72%] Built target caffe2_pybind11_state

Makefile:138: recipe for target 'all' failed

make[3]: *** [all] Error 2

CMakeFiles/caffe2-ext.dir/build.make:110: recipe for target 'ext/src/caffe2-ext-stamp/caffe2-ext-build' failed

make[2]: *** [ext/src/caffe2-ext-stamp/caffe2-ext-build] Error 2

CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2-ext.dir/all' failed

make[1]: *** [CMakeFiles/caffe2-ext.dir/all] Error 2

Makefile:83: recipe for target 'all' failed

make: *** [all] Error 2

System information

Operating system:ubuntu16.04 in docker

Compiler version:4.9.3

CMake version:3.5.1

CMake arguments: Relevant libra

CMake summary output

******** Summary ********

General:

-- CMake version : 3.5.1

-- CMake command : /usr/bin/cmake

-- Git version : v0.1.11-9016-gd79711d

-- System : Linux

-- C++ compiler : /usr/bin/c++

-- C++ compiler version : 5.4.0

-- BLAS : Eigen

-- CXX flags : -fvisibility-inlines-hidden -fopenmp -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wno-invalid-partial-specialization -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-private-field -Wno-unused-result -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-error=deprecated-declarations

-- Build type : Release

-- Compile definitions :

-- CMAKE_PREFIX_PATH :

-- CMAKE_INSTALL_PREFIX : /lvjc/caffe2-cpp/build

-- BUILD_CAFFE2 : ON

-- BUILD_ATEN : OFF

-- BUILD_BINARY : ON

-- BUILD_CUSTOM_PROTOBUF : ON

-- Link local protobuf : ON

-- BUILD_DOCS : OFF

-- BUILD_PYTHON : ON

-- Python version : 2.7.12

-- Python includes : /usr/include/python2.7

-- BUILD_SHARED_LIBS : ON

-- BUILD_TEST : OFF

-- USE_ASAN : OFF

-- USE_ATEN : OFF

-- USE_CUDA : ON

-- CUDA static link : OFF

-- USE_CUDNN : ON

-- CUDA version : 9.0

-- cuDNN version : 5.1.10

-- 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/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublas_device.a

-- cufft library : /usr/local/cuda/lib64/libcufft.so

-- curand library : /usr/local/cuda/lib64/libcurand.so

-- cuDNN library : /lvjc/caffe2-cpp/cuda/lib64/libcudnn.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 : OFF

-- USE_EIGEN_FOR_BLAS : ON

-- USE_FFMPEG : OFF

-- USE_GFLAGS : ON

-- USE_GLOG : ON

-- USE_GLOO : ON

-- USE_GLOO_IBVERBS : OFF

-- USE_LEVELDB : OFF

-- USE_LITE_PROTO : OFF

-- USE_LMDB : OFF

-- USE_METAL : OFF

-- USE_MKL :

-- USE_MOBILE_OPENGL : OFF

-- USE_MPI : ON

-- USE_NCCL : ON

-- USE_SYSTEM_NCCL : OFF

-- USE_NERVANA_GPU : OFF

-- USE_NNPACK : ON

-- USE_OBSERVERS : ON

-- USE_OPENCL : OFF

-- USE_OPENCV : ON

-- OpenCV version : 2.4.9.1

-- USE_OPENMP : ON

-- USE_PROF : OFF

-- USE_REDIS : OFF

-- USE_ROCKSDB : OFF

-- USE_ZMQ : OFF

-- Public Dependencies : Threads::Threads;gflags;glog::glog

-- Private Dependencies : nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;gcc_s;gcc;dl

-- Configuring done

-- Generating done

Detailed as followed...

root@cf3533170b2e:/my/path/to/caffe2: # make

[ 12%] Performing update step for 'caffe2-ext'

[ 25%] Performing configure step for 'caffe2-ext'

-- Does not need to define long separately.

-- std::exception_ptr is supported.

-- NUMA is available

-- Current compiler supports avx2 extention. Will build perfkernels.

-- Building using own protobuf under third_party per request.

-- Use custom protobuf build.

-- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include>

-- The BLAS backend of choice:Eigen

-- Brace yourself, we are building NNPACK

-- Found PythonInterp: /usr/bin/python (found version "2.7.12")

-- Caffe2: Cannot find gflags automatically. Using legacy find.

-- Caffe2: Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)

-- Caffe2: Cannot find glog automatically. Using legacy find.

-- Caffe2: Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)

-- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)

-- OpenCV found (/usr/share/OpenCV)

-- Found system Eigen at /usr/include/eigen3

-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.12", minimum required is "2.7")

-- NumPy ver. 1.14.0 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)

-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR)

-- MPI support found

-- MPI compile flags:

-- MPI include path: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi

-- MPI LINK flags path: -Wl,-rpath -Wl,/usr/lib/openmpi/lib -Wl,--enable-new-dtags

-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so

CMake Warning at cmake/Dependencies.cmake:376 (message):

OpenMPI found, but it is not built with CUDA support.

Call Stack (most recent call first):

CMakeLists.txt:181 (include)

-- Adding -fopenmp

-- Caffe2: CUDA detected: 9.0

-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc

-- Caffe2: CUDA toolkit directory: /usr/local/cuda

-- Caffe2: Header version is: 9.0

-- Found cuDNN: v5.1.10 (include: /lvjc/caffe2-cpp/cuda/include, library: /lvjc/caffe2-cpp/cuda/lib64/libcudnn.so)

-- Autodetected CUDA architecture(s): 5.0 5.0

-- Added CUDA NVCC flags for: -gencode;arch=compute_50,code=sm_50

-- Determining NCCL version from the header file: /usr/include/nccl.h

-- NCCL_MAJOR_VERSION: 2

-- Found NCCL (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnccl.so)

-- Could NOT find CUB (missing: CUB_INCLUDE_DIR)

-- Could NOT find Gloo (missing: Gloo_INCLUDE_DIR Gloo_LIBRARY)

-- MPI include path: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi

-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so

-- CUDA detected: 9.0

-- Found libcuda: /usr/local/cuda/lib64/stubs/libcuda.so

-- Found libnvrtc: /usr/local/cuda/lib64/libnvrtc.so

-- Determining NCCL version from the header file: /usr/include/nccl.h

-- NCCL_MAJOR_VERSION: 2

-- Found NCCL (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnccl.so)

-- GCC 5.4.0: Adding gcc and gcc_s libs to link line

-- Include NCCL operators

-- Excluding ideep operators as we are not using ideep

-- Including image processing operators

-- Excluding video processing operators due to no opencv

-- Excluding mkl operators as we are not using mkl

-- Include Observer library

-- Using lib/python2.7/dist-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:337 (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.5.1

-- CMake command : /usr/bin/cmake

-- Git version : v0.1.11-9016-gd79711d

-- System : Linux

-- C++ compiler : /usr/bin/c++

-- C++ compiler version : 5.4.0

-- BLAS : Eigen

-- CXX flags : -fvisibility-inlines-hidden -fopenmp -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wno-invalid-partial-specialization -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-private-field -Wno-unused-result -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-error=deprecated-declarations

-- Build type : Release

-- Compile definitions :

-- CMAKE_PREFIX_PATH :

-- CMAKE_INSTALL_PREFIX : /lvjc/caffe2-cpp/build

-- BUILD_CAFFE2 : ON

-- BUILD_ATEN : OFF

-- BUILD_BINARY : ON

-- BUILD_CUSTOM_PROTOBUF : ON

-- Link local protobuf : ON

-- BUILD_DOCS : OFF

-- BUILD_PYTHON : ON

-- Python version : 2.7.12

-- Python includes : /usr/include/python2.7

-- BUILD_SHARED_LIBS : ON

-- BUILD_TEST : OFF

-- USE_ASAN : OFF

-- USE_ATEN : OFF

-- USE_CUDA : ON

-- CUDA static link : OFF

-- USE_CUDNN : ON

-- CUDA version : 9.0

-- cuDNN version : 5.1.10

-- 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/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublas_device.a

-- cufft library : /usr/local/cuda/lib64/libcufft.so

-- curand library : /usr/local/cuda/lib64/libcurand.so

-- cuDNN library : /lvjc/caffe2-cpp/cuda/lib64/libcudnn.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 : OFF

-- USE_EIGEN_FOR_BLAS : ON

-- USE_FFMPEG : OFF

-- USE_GFLAGS : ON

-- USE_GLOG : ON

-- USE_GLOO : ON

-- USE_GLOO_IBVERBS : OFF

-- USE_LEVELDB : OFF

-- USE_LITE_PROTO : OFF

-- USE_LMDB : OFF

-- USE_METAL : OFF

-- USE_MKL :

-- USE_MOBILE_OPENGL : OFF

-- USE_MPI : ON

-- USE_NCCL : ON

-- USE_SYSTEM_NCCL : OFF

-- USE_NERVANA_GPU : OFF

-- USE_NNPACK : ON

-- USE_OBSERVERS : ON

-- USE_OPENCL : OFF

-- USE_OPENCV : ON

-- OpenCV version : 2.4.9.1

-- USE_OPENMP : ON

-- USE_PROF : OFF

-- USE_REDIS : OFF

-- USE_ROCKSDB : OFF

-- USE_ZMQ : OFF

-- Public Dependencies : Threads::Threads;gflags;glog::glog

-- Private Dependencies : nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;gcc_s;gcc;dl

-- Configuring done

-- Generating done

-- Build files have been written to: /lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build

[ 37%] Performing build step for 'caffe2-ext'

[ 0%] Built target js_embed

[ 9%] Built target libprotobuf

[ 19%] Built target libprotoc

[ 21%] Built target libprotobuf-lite

[ 21%] Linking CXX executable ../../../bin/protoc

[ 21%] Built target protoc

[ 23%] Built target cpuinfo

[ 26%] Built target nnpack

[ 26%] Built target pthreadpool

[ 27%] Built target nnpack_reference_layers

[ 29%] Built target gloo

[ 29%] Linking CXX static library ../../../lib/libgloo_cuda.a

[ 30%] Built target gloo_cuda

[ 30%] Built target gloo_builder

[ 30%] Built target gen_onnx_proto

[ 30%] Built target onnx_proto

[ 33%] Built target onnx

[ 33%] Built target onnxifi_loader

[ 33%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe/proto/caffe.proto

Scanning dependencies of target Caffe_PROTO

[ 34%] Building CXX object caffe/proto/CMakeFiles/Caffe_PROTO.dir/caffe.pb.cc.o

[ 34%] Built target Caffe_PROTO

[ 34%] Built target c10

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/caffe2_legacy.proto

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/hsm.proto

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/predictor_consts.proto

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/prof_dag.proto

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/caffe2.proto

[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/metanet.proto

Scanning dependencies of target Caffe2_PROTO

[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o

[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o

[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o

[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o

[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o

[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o

[ 35%] Built target Caffe2_PROTO

Scanning dependencies of target Caffe2_perfkernels_avx2

[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o

[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o

[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o

[ 35%] Built target Caffe2_perfkernels_avx2

[ 35%] Linking CXX static library ../lib/libcaffe2_protos.a

[ 35%] Built target caffe2_protos

[ 35%] Built target nomnigraph

[ 35%] Built target dispatch

Scanning dependencies of target Caffe2_perfkernels_avx

[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o

[ 35%] Built target Caffe2_perfkernels_avx

Scanning dependencies of target caffe2

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/proto_wrap.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/proto_utils.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/murmur_hash3.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/smart_tensor_printer.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/signal_handler.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/string_utils.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/ThreadPool.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/cpuid.cc.o

[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/bench_utils.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/math_cpu.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/math_utils.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/thread_name.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/pthreadpool.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/pthreadpool_impl.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/allgather_ops.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/allreduce_ops.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/barrier_ops.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/broadcast_ops.cc.o

[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/common.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/common_world_ops.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/context.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/reduce_scatter_ops.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/store_handler.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/script/compiler.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/script/lexer.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/qtensor.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/graph.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/operator_schema.cc.o

[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/transform.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_dag.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/event.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/int8_serialization.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/workspace.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/tensor.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_tracing.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_scheduling.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/memonger.cc.o

[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init_omp.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/context.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/allocator.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_simple.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/module.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/common.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init_intrinsics_check.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_base.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/tensor_int8.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net.cc.o

[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/typeid.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/blob_stats.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/flags.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/operator.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/stats.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/types.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/logging.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_simple_async.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/predictor_utils.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/predictor.cc.o

[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_dag_utils.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/numa.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/db.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/qtensor_serialization.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/blob_serialization.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/plan_executor.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_polling.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/db/create_db_op.cc.o

[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/db/protodb.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/file_store_handler.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/file_store_handler_op.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/store_handler.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/store_ops.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/image/image_input_op.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/mpi/mpi_common.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/mpi/mpi_ops.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/observers/time_observer.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/observers/runcnt_observer.cc.o

[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/backend_rep.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/onnx_exporter.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/backend.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/device.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/helper.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/arg_max_op.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/index_hash_ops.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/relu_op.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/feed_blob_op.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/concat_split_op.cc.o

[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/shape_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/find_duplicate_elements_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cross_entropy_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rank_loss_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sqr_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/multi_class_accuracy_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/affine_channel_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/apmeter_op.cc.o

[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/exp_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ceil_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/integral_image_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/listwise_l2r_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cosine_embedding_criterion_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/locally_connected_op_util.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cos_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/instance_norm_gradient_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reverse_packed_segs_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/while_op.cc.o

[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_pool_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/generate_proposals_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/flexible_top_k.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/variable_length_sequence_padding.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gather_ranges_to_dense_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/glu_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/piecewise_linear_transform_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/collect_and_distribute_fpn_rpn_proposals_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/partition_ops.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/negative_op.cc.o

[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pack_rnn_sequence_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/merge_id_lists_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/h_softmax_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lstm_unit_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/logit_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cast_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/relu_n_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ctc_greedy_decoder_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/create_scope_op.cc.o

[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/onnx_while_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/log_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_align_gradient_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lpnorm_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/weighted_multi_sampling_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op_shared.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/abs_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/floor_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/clip_op.cc.o

[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/segment_reduction_op.cc.o

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/abs_op.cc:81:20: warning: unknown escape sequence: '>'

.Input(0, "X", "(type: Tensor<float>) Input tensor.")

^

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/asin_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_gradient_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/counter_ops.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_gradient_op.cc.o

cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'

cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'

cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'

cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'

cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'

cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/percentile_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/thresholded_relu_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_gradient_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_matmul_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o

[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ngram_ops.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sum_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pad_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stats_ops.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/slice_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/swish_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/summarize_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fc_inference.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_cpu_output_op.cc.o

[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/acos_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/do_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dataset_ops.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rowmul_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/local_response_normalization_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gather_fused_8bit_rowwise_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sigmoid_gradient_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/scale_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tan_op.cc.o

[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stylizer_ops.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/half_float_ops.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_fused_8bit_rowwise_ops.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/resize_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_rowwise_8bit_ops.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/free_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_gradient_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/find_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_gradient_op.cc.o

[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_logical_ops.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/prepend_dim_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/group_norm_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/bbox_transform_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pow_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rsqrt_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elu_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/prelu_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_batch_norm_gradient_op.cc.o

[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/extend_tensor_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/perplexity_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/leaky_relu_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/accumulate_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/unique_ops.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/normalize_l1_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/given_tensor_fill_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gru_unit_op.cc.o

[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/enforce_finite_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/minmax_ops.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conditional_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sinusoid_position_encoding_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/replace_nan_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/weighted_sample_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sqrt_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/loss_op.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fused_rowwise_8bit_conversion_ops.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/utility_ops.cc.o

[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/top_k.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/remove_data_blocks_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/jsd_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atan_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_linear_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/selu_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/box_with_nms_limit_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/map_ops.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reshape_op.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduce_ops.cc.o

[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/margin_ranking_criterion_op.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_op.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_softmax_with_loss_op.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/boolean_unmask_ops.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pack_segments.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/one_hot_ops.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_shared.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op_eigen.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/load_save_op.cc.o

[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_stats_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/square_root_divide_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pool_gradient_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/zero_gradient_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/moments_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_sparse_to_dense_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/flatten_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/workspace_ops.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/instance_norm_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_op.cc.o

[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_backprop_stats_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lp_pool_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduction_front_back_ops.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tanh_gradient_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/text_file_reader_utils.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tanh_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_pad_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_to_dense_mask_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/arg_ops.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/matmul_op.cc.o

[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pool_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tt_linear_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_batch_norm_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/layer_norm_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/last_n_window_collector.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sigmoid_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/boolean_mask_ops.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/minmax_gradient_ops.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_to_dense_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/if_op.cc.o

[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/mod_op.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_with_loss_op.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_shuffle_op.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_ops.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/key_split_ops.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rmac_regions_op.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/index_ops.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/im2col_op.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops.cc.o

[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sin_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/feature_maps_ops.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_box_cox_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/transpose_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stop_gradient.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/quant_decode_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_gradient_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/accuracy_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/assert_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/mean_op.cc.o

[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softplus_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/string_ops.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/text_file_reader.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tile_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_normalize_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/space_batch_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tensor_protos_db_input.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stump_func_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_utils.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_squeeze_dims_op.cc.o

[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/deform_conv_op.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_op_mobile.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduction_ops.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_schema.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/negate_gradient_op.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/communicator_op.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/normalize_op.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dropout_op.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reservoir_sampling.cc.o

[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fully_connected_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_tile_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/deform_conv_gradient_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_top_k_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sequence_ops.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_gather_ops.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/order_switch_ops.cc.o

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/sequence_ops.cc:389:9: warning: unknown escape sequence: '_'

"D_1, ..., D_n>$).")

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/sequence_ops.cc:486:9: warning: unknown escape sequence: '_'

"($T&lt;N + 2*padding_width, D_1, ..., D_n&gt;$).")

^

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/filler_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/numpy_tile_op.cc.o

[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/locally_connected_op.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_align_op.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softsign_op.cc.o

cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'

cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'

cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'

cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'

cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'

cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/norm_planar_yuv_op.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_executor.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_op.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_blob_fetcher_op.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/sink.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/optimizer.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/backend_cutting.cc.o

[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/converter.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/passes.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/mobile.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/optimize_ideep.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/fusion.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/typed_axpy.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/embedding_lookup.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/rebatching_queue.cc.o

[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/blobs_queue.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/blobs_queue_db.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/queue_ops.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/rebatching_queue_ops.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/lars_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/rmsprop_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/momentum_sgd_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/adam_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/yellowfin_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/clip_tensor_op.cc.o

[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/learning_rate_adaption_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/ftrl_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/learning_rate_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/iter_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/adagrad_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/share/contrib/nnpack/conv_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/share/contrib/depthwise/depthwise3x3_conv_op.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/common_subexpression_elimination.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/conv_to_nnpack_transform.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/single_op_transform.cc.o

[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/pattern_net_transform.cc.o

[ 71%] Linking CXX shared library ../lib/libcaffe2.so

[ 71%] Built target caffe2

Scanning dependencies of target caffe2_pybind11_state

Scanning dependencies of target caffe2_observers

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/utils/caffe2_gpu_generated_math_gpu.cu.o

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/sgd/caffe2_gpu_generated_rmsprop_op_gpu.cu.o

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/core/caffe2_gpu_generated_context_gpu.cu.o

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/image/caffe2_gpu_generated_transform_gpu.cu.o

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/core/caffe2_gpu_generated_THCCachingAllocator.cu.o

[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_elementwise_ops.cu.o

[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/net_observer_reporter_print.cc.o

[ 72%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o

In file included from /usr/local/cuda/include/common_functions.h:50:0,

from /usr/local/cuda/include/cuda_runtime.h:115,

from :0:

/usr/local/cuda/include/crt/common_functions.h:64:24: error: token ""CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."" is not valid in preprocessor expressions

#define CUDACC_VER "CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."

^

/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro 'CUDACC_VER'

#if defined(CUDACC_VER) && CUDACC_VER >= 70500 && __cplusplus > 199711L

^

In file included from /usr/local/cuda/include/common_functions.h:50:0,

from /usr/local/cuda/include/cuda_runtime.h:115,

from :0:

/usr/local/cuda/include/crt/common_functions.h:64:24: error: token ""CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."" is not valid in preprocessor expressions

#define CUDACC_VER "CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."

^

/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro 'CUDACC_VER'

#if defined(CUDACC_VER) && CUDACC_VER >= 70500 && __cplusplus > 199711L

^

cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'

cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'

cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'

cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'

cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'

cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'

cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'

cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'

cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'

cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'

cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'

cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'

CMake Error at caffe2_gpu_generated_elementwise_ops.cu.o.Release.cmake:219 (message):

Error generating

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build/caffe2/CMakeFiles/caffe2_gpu.dir/operators/./caffe2_gpu_generated_elementwise_ops.cu.o

caffe2/CMakeFiles/caffe2_gpu.dir/build.make:91: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_elementwise_ops.cu.o' failed

make[5]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_elementwise_ops.cu.o] Error 1

make[5]: *** Waiting for unfinished jobs....

CMake Error at caffe2_gpu_generated_math_gpu.cu.o.Release.cmake:219 (message):

Error generating

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build/caffe2/CMakeFiles/caffe2_gpu.dir/utils/./caffe2_gpu_generated_math_gpu.cu.o

caffe2/CMakeFiles/caffe2_gpu.dir/build.make:63: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/utils/caffe2_gpu_generated_math_gpu.cu.o' failed

make[5]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/utils/caffe2_gpu_generated_math_gpu.cu.o] Error 1

[ 72%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_dlpack.cc.o

[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/observer_config.cc.o

[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/perf_observer.cc.o

[ 72%] Linking CXX shared library ../../lib/libcaffe2_observers.so

[ 72%] Built target caffe2_observers

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:24:17: note: #pragma message: CUDNN version under 6.0 is supported at best effort.

\ #pragma message "CUDNN version under 6.0 is supported at best effort."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.

\ #pragma message "We strongly encourage you to move to 6.0 and above."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.

\ #pragma message "This message is intended to annoy you enough to update."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:24:17: note: #pragma message: CUDNN version under 6.0 is supported at best effort.

\ #pragma message "CUDNN version under 6.0 is supported at best effort."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.

#pragma message "We strongly encourage you to move to 6.0 and above."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.

#pragma message "This message is intended to annoy you enough to update."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:24:17: note: #pragma message: CUDNN version under 6.0 is supported at best effort.

\ #pragma message "CUDNN version under 6.0 is supported at best effort."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.

#pragma message "We strongly encourage you to move to 6.0 and above."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.

\ #pragma message "This message is intended to annoy you enough to update."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:24:17: note: #pragma message: CUDNN version under 6.0 is supported at best effort.

\ #pragma message "CUDNN version under 6.0 is supported at best effort."

# ~/.bashrc: executed by bash(1) for non-login shells.

# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)

# for examples

# If not running interactively, don't do anything

[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options

# ... or force ignoredups and ignorespace

HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it

shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)

HISTSIZE=1000

HISTFILESIZE=2000

# check the window size after each command and, if necessary,

# update the values of LINES and COLUMNS.

shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)

[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)

if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then

debian_chroot=$(cat /etc/debian_chroot)

fi

E486: Pattern not found: python 1,1 Top

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.

#pragma message "We strongly encourage you to move to 6.0 and above."

^

/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.

#pragma message "This message is intended to annoy you enough to update."

^

CMakeFiles/Makefile2:1438: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed

make[4]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2

make[4]: *** Waiting for unfinished jobs....

[ 72%] Linking CXX shared module python/caffe2_pybind11_state.so

[ 72%] Built target caffe2_pybind11_state

Makefile:138: recipe for target 'all' failed

make[3]: *** [all] Error 2

CMakeFiles/caffe2-ext.dir/build.make:110: recipe for target 'ext/src/caffe2-ext-stamp/caffe2-ext-build' failed

make[2]: *** [ext/src/caffe2-ext-stamp/caffe2-ext-build] Error 2

CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2-ext.dir/all' failed

make[1]: *** [CMakeFiles/caffe2-ext.dir/all] Error 2

Makefile:83: recipe for target 'all' failed

make: *** [all] Error 2