<h2 dir="auto"><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji> Questions and Help</h2>
<p dir="auto">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?).</p>
<p dir="auto">Is there someone who ever encounterd this problem?</p>
<p dir="auto">Below is my scripts.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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(&quot;in 1 ...&quot;)
        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(&quot;in 2 ...&quot;)
        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(&quot;in 3 ...&quot;)
        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(&quot;in 4 ...&quot;)
        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(&quot;in 5 ...&quot;)
        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)

"><pre class="notranslate"><code class="notranslate">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)


</code></pre></div>
<p dir="auto"><a href="https://drive.google.com/file/d/1fewpw_pGkqxvL4hq3GdwMelnpL7Y1LB8/view?usp=sharing" rel="nofollow">The model link</a></p>
<p dir="auto">Make error happens when 'make' caffe2.</p>
<hr>
<h3 dir="auto">Shorted error info.</h3>
<p dir="auto">[ 72%] <strong>Linking CXX shared module</strong> python/caffe2_pybind11_state.so<br>
[ 72%] Built target caffe2_pybind11_state<br>
Makefile:138: recipe for target 'all' failed<br>
make[3]: *** [all] Error 2<br>
CMakeFiles/caffe2-ext.dir/build.make:110: recipe for target 'ext/src/caffe2-ext-stamp/caffe2-ext-build' failed<br>
make[2]: *** [ext/src/caffe2-ext-stamp/caffe2-ext-build] Error 2<br>
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2-ext.dir/all' failed<br>
make[1]: *** [CMakeFiles/caffe2-ext.dir/all] Error 2<br>
Makefile:83: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li>Operating system:ubuntu16.04 in docker</li>
<li>Compiler version:4.9.3</li>
<li>CMake version:3.5.1</li>
<li>CMake arguments: Relevant libra</li>
</ul>
<h3 dir="auto">CMake summary output</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="******** Summary ********"><pre class="notranslate"><code class="notranslate">******** Summary ********
</code></pre></div>
<p dir="auto">General:<br>
--   CMake version         : 3.5.1<br>
--   CMake command         : /usr/bin/cmake<br>
--   Git version           : v0.1.11-9016-gd79711d<br>
--   System                : Linux<br>
--   C++ compiler          : /usr/bin/c++<br>
--   C++ compiler version  : 5.4.0<br>
--   BLAS                  : Eigen<br>
--   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<br>
--   Build type            : Release<br>
--   Compile definitions   :<br>
--   CMAKE_PREFIX_PATH     :<br>
--   CMAKE_INSTALL_PREFIX  : /lvjc/caffe2-cpp/build</p>
<p dir="auto">--   BUILD_CAFFE2          : ON<br>
--   BUILD_ATEN            : OFF<br>
--   BUILD_BINARY          : ON<br>
--   BUILD_CUSTOM_PROTOBUF : ON<br>
--     Link local protobuf : ON<br>
--   BUILD_DOCS            : OFF<br>
--   BUILD_PYTHON          : ON<br>
--     Python version      : 2.7.12<br>
--     Python includes     : /usr/include/python2.7<br>
--   BUILD_SHARED_LIBS     : ON<br>
--   BUILD_TEST            : OFF<br>
--   USE_ASAN              : OFF<br>
--   USE_ATEN              : OFF<br>
--   USE_CUDA              : ON<br>
--     CUDA static link    : OFF<br>
--     USE_CUDNN           : ON<br>
--     CUDA version        : 9.0<br>
--     cuDNN version       : 5.1.10<br>
--     CUDA root directory : /usr/local/cuda<br>
--     CUDA library        : /usr/local/cuda/lib64/stubs/libcuda.so<br>
--     cudart library      : /usr/local/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so<br>
--     cublas library      : /usr/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublas_device.a<br>
--     cufft library       : /usr/local/cuda/lib64/libcufft.so<br>
--     curand library      : /usr/local/cuda/lib64/libcurand.so<br>
--     cuDNN library       : /lvjc/caffe2-cpp/cuda/lib64/libcudnn.so<br>
--     nvrtc               : /usr/local/cuda/lib64/libnvrtc.so<br>
--     CUDA include path   : /usr/local/cuda/include<br>
--     NVCC executable     : /usr/local/cuda/bin/nvcc<br>
--     CUDA host compiler  : /usr/bin/cc<br>
--     USE_TENSORRT        : OFF<br>
--   USE_ROCM              : OFF<br>
--   USE_EIGEN_FOR_BLAS    : ON<br>
--   USE_FFMPEG            : OFF<br>
--   USE_GFLAGS            : ON<br>
--   USE_GLOG              : ON<br>
--   USE_GLOO              : ON<br>
--     USE_GLOO_IBVERBS    : OFF<br>
--   USE_LEVELDB           : OFF<br>
--   USE_LITE_PROTO        : OFF<br>
--   USE_LMDB              : OFF<br>
--   USE_METAL             : OFF<br>
--   USE_MKL               :<br>
--   USE_MOBILE_OPENGL     : OFF<br>
--   USE_MPI               : ON<br>
--   USE_NCCL              : ON<br>
--     USE_SYSTEM_NCCL     : OFF<br>
--   USE_NERVANA_GPU       : OFF<br>
--   USE_NNPACK            : ON<br>
--   USE_OBSERVERS         : ON<br>
--   USE_OPENCL            : OFF<br>
--   USE_OPENCV            : ON<br>
--     OpenCV version      : 2.4.9.1<br>
--   USE_OPENMP            : ON<br>
--   USE_PROF              : OFF<br>
--   USE_REDIS             : OFF<br>
--   USE_ROCKSDB           : OFF<br>
--   USE_ZMQ               : OFF<br>
--   Public Dependencies  : Threads::Threads;gflags;glog::glog<br>
--   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<br>
-- Configuring done<br>
-- Generating done</p>
<hr>
<h3 dir="auto">Detailed as followed...</h3>
<p dir="auto">root@cf3533170b2e:/my/path/to/caffe2: # make<br>
[ 12%] Performing update step for 'caffe2-ext'<br>
[ 25%] Performing configure step for 'caffe2-ext'<br>
-- Does not need to define long separately.<br>
-- std::exception_ptr is supported.<br>
-- NUMA is available<br>
-- Current compiler supports avx2 extention. Will build perfkernels.<br>
-- Building using own protobuf under third_party per request.<br>
-- Use custom protobuf build.<br>
-- Caffe2 protobuf include directory: <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="8d3dcabdf12b10b83fd1be339343d5e9">$&amp;lt;BUILD_INTERFACE:/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/third_party/protobuf/src&amp;gt;$</math-renderer>&amp;lt;INSTALL_INTERFACE:include&gt;<br>
-- The BLAS backend of choice:Eigen<br>
-- Brace yourself, we are building NNPACK<br>
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")<br>
-- Caffe2: Cannot find gflags automatically. Using legacy find.<br>
-- Caffe2: Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)<br>
-- Caffe2: Cannot find glog automatically. Using legacy find.<br>
-- Caffe2: Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)<br>
-- Found Numa  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)<br>
-- OpenCV found (/usr/share/OpenCV)<br>
-- Found system Eigen at /usr/include/eigen3<br>
-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.12", minimum required is "2.7")<br>
-- NumPy ver. 1.14.0 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)<br>
-- Could NOT find pybind11 (missing:  pybind11_INCLUDE_DIR)<br>
-- MPI support found<br>
-- MPI compile flags:<br>
-- 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<br>
-- MPI LINK flags path:  -Wl,-rpath  -Wl,/usr/lib/openmpi/lib  -Wl,--enable-new-dtags<br>
-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so<br>
CMake Warning at cmake/Dependencies.cmake:376 (message):<br>
OpenMPI found, but it is not built with CUDA support.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:181 (include)</p>
<p dir="auto">-- Adding -fopenmp<br>
-- Caffe2: CUDA detected: 9.0<br>
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc<br>
-- Caffe2: CUDA toolkit directory: /usr/local/cuda<br>
-- Caffe2: Header version is: 9.0<br>
-- Found cuDNN: v5.1.10  (include: /lvjc/caffe2-cpp/cuda/include, library: /lvjc/caffe2-cpp/cuda/lib64/libcudnn.so)<br>
-- Autodetected CUDA architecture(s): 5.0 5.0<br>
-- Added CUDA NVCC flags for: -gencode;arch=compute_50,code=sm_50<br>
-- Determining NCCL version from the header file: /usr/include/nccl.h<br>
-- NCCL_MAJOR_VERSION: 2<br>
-- Found NCCL (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnccl.so)<br>
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR)<br>
-- Could NOT find Gloo (missing: Gloo_INCLUDE_DIR Gloo_LIBRARY)<br>
-- 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<br>
-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so<br>
-- CUDA detected: 9.0<br>
-- Found libcuda: /usr/local/cuda/lib64/stubs/libcuda.so<br>
-- Found libnvrtc: /usr/local/cuda/lib64/libnvrtc.so<br>
-- Determining NCCL version from the header file: /usr/include/nccl.h<br>
-- NCCL_MAJOR_VERSION: 2<br>
-- Found NCCL (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnccl.so)<br>
-- GCC 5.4.0: Adding gcc and gcc_s libs to link line<br>
-- Include NCCL operators<br>
-- Excluding ideep operators as we are not using ideep<br>
-- Including image processing operators<br>
-- Excluding video processing operators due to no opencv<br>
-- Excluding mkl operators as we are not using mkl<br>
-- Include Observer library<br>
-- Using lib/python2.7/dist-packages as python relative installation path<br>
-- Automatically generating missing <strong>init</strong>.py files.<br>
-- A previous caffe2 cmake run already created the <strong>init</strong>.py files.<br>
CMake Warning at CMakeLists.txt:337 (message):<br>
Generated cmake files are only fully tested if one builds with system glog,<br>
gflags, and protobuf.  Other settings may generate files that are not well<br>
tested.</p>
<p dir="auto">--<br>
-- ******** Summary ********<br>
-- General:<br>
--   CMake version         : 3.5.1<br>
--   CMake command         : /usr/bin/cmake<br>
--   Git version           : v0.1.11-9016-gd79711d<br>
--   System                : Linux<br>
--   C++ compiler          : /usr/bin/c++<br>
--   C++ compiler version  : 5.4.0<br>
--   BLAS                  : Eigen<br>
--   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<br>
--   Build type            : Release<br>
--   Compile definitions   :<br>
--   CMAKE_PREFIX_PATH     :<br>
--   CMAKE_INSTALL_PREFIX  : /lvjc/caffe2-cpp/build</p>
<p dir="auto">--   BUILD_CAFFE2          : ON<br>
--   BUILD_ATEN            : OFF<br>
--   BUILD_BINARY          : ON<br>
--   BUILD_CUSTOM_PROTOBUF : ON<br>
--     Link local protobuf : ON<br>
--   BUILD_DOCS            : OFF<br>
--   BUILD_PYTHON          : ON<br>
--     Python version      : 2.7.12<br>
--     Python includes     : /usr/include/python2.7<br>
--   BUILD_SHARED_LIBS     : ON<br>
--   BUILD_TEST            : OFF<br>
--   USE_ASAN              : OFF<br>
--   USE_ATEN              : OFF<br>
--   USE_CUDA              : ON<br>
--     CUDA static link    : OFF<br>
--     USE_CUDNN           : ON<br>
--     CUDA version        : 9.0<br>
--     cuDNN version       : 5.1.10<br>
--     CUDA root directory : /usr/local/cuda<br>
--     CUDA library        : /usr/local/cuda/lib64/stubs/libcuda.so<br>
--     cudart library      : /usr/local/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so<br>
--     cublas library      : /usr/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublas_device.a<br>
--     cufft library       : /usr/local/cuda/lib64/libcufft.so<br>
--     curand library      : /usr/local/cuda/lib64/libcurand.so<br>
--     cuDNN library       : /lvjc/caffe2-cpp/cuda/lib64/libcudnn.so<br>
--     nvrtc               : /usr/local/cuda/lib64/libnvrtc.so<br>
--     CUDA include path   : /usr/local/cuda/include<br>
--     NVCC executable     : /usr/local/cuda/bin/nvcc<br>
--     CUDA host compiler  : /usr/bin/cc<br>
--     USE_TENSORRT        : OFF<br>
--   USE_ROCM              : OFF<br>
--   USE_EIGEN_FOR_BLAS    : ON<br>
--   USE_FFMPEG            : OFF<br>
--   USE_GFLAGS            : ON<br>
--   USE_GLOG              : ON<br>
--   USE_GLOO              : ON<br>
--     USE_GLOO_IBVERBS    : OFF<br>
--   USE_LEVELDB           : OFF<br>
--   USE_LITE_PROTO        : OFF<br>
--   USE_LMDB              : OFF<br>
--   USE_METAL             : OFF<br>
--   USE_MKL               :<br>
--   USE_MOBILE_OPENGL     : OFF<br>
--   USE_MPI               : ON<br>
--   USE_NCCL              : ON<br>
--     USE_SYSTEM_NCCL     : OFF<br>
--   USE_NERVANA_GPU       : OFF<br>
--   USE_NNPACK            : ON<br>
--   USE_OBSERVERS         : ON<br>
--   USE_OPENCL            : OFF<br>
--   USE_OPENCV            : ON<br>
--     OpenCV version      : 2.4.9.1<br>
--   USE_OPENMP            : ON<br>
--   USE_PROF              : OFF<br>
--   USE_REDIS             : OFF<br>
--   USE_ROCKSDB           : OFF<br>
--   USE_ZMQ               : OFF<br>
--   Public Dependencies  : Threads::Threads;gflags;glog::glog<br>
--   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<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build<br>
[ 37%] Performing build step for 'caffe2-ext'<br>
[  0%] Built target js_embed<br>
[  9%] Built target libprotobuf<br>
[ 19%] Built target libprotoc<br>
[ 21%] Built target libprotobuf-lite<br>
[ 21%] Linking CXX executable ../../../bin/protoc<br>
[ 21%] Built target protoc<br>
[ 23%] Built target cpuinfo<br>
[ 26%] Built target nnpack<br>
[ 26%] Built target pthreadpool<br>
[ 27%] Built target nnpack_reference_layers<br>
[ 29%] Built target gloo<br>
[ 29%] Linking CXX static library ../../../lib/libgloo_cuda.a<br>
[ 30%] Built target gloo_cuda<br>
[ 30%] Built target gloo_builder<br>
[ 30%] Built target gen_onnx_proto<br>
[ 30%] Built target onnx_proto<br>
[ 33%] Built target onnx<br>
[ 33%] Built target onnxifi_loader<br>
[ 33%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe/proto/caffe.proto<br>
Scanning dependencies of target Caffe_PROTO<br>
[ 34%] Building CXX object caffe/proto/CMakeFiles/Caffe_PROTO.dir/caffe.pb.cc.o<br>
[ 34%] Built target Caffe_PROTO<br>
[ 34%] Built target c10<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/caffe2_legacy.proto<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/hsm.proto<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/predictor_consts.proto<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/prof_dag.proto<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/caffe2.proto<br>
[ 34%] Running C++/Python protocol buffer compiler on /lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/proto/metanet.proto<br>
Scanning dependencies of target Caffe2_PROTO<br>
[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o<br>
[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o<br>
[ 34%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o<br>
[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o<br>
[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o<br>
[ 35%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o<br>
[ 35%] Built target Caffe2_PROTO<br>
Scanning dependencies of target Caffe2_perfkernels_avx2<br>
[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o<br>
[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o<br>
[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o<br>
[ 35%] Built target Caffe2_perfkernels_avx2<br>
[ 35%] Linking CXX static library ../lib/libcaffe2_protos.a<br>
[ 35%] Built target caffe2_protos<br>
[ 35%] Built target nomnigraph<br>
[ 35%] Built target dispatch<br>
Scanning dependencies of target Caffe2_perfkernels_avx<br>
[ 35%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o<br>
[ 35%] Built target Caffe2_perfkernels_avx<br>
Scanning dependencies of target caffe2<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/proto_wrap.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/proto_utils.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/murmur_hash3.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/smart_tensor_printer.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/signal_handler.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/string_utils.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/ThreadPool.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/cpuid.cc.o<br>
[ 36%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/bench_utils.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/math_cpu.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/math_utils.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/thread_name.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/pthreadpool.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/utils/threadpool/pthreadpool_impl.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/allgather_ops.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/allreduce_ops.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/barrier_ops.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/broadcast_ops.cc.o<br>
[ 37%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/common.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/common_world_ops.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/context.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/reduce_scatter_ops.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/gloo/store_handler.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/script/compiler.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/contrib/script/lexer.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/qtensor.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/graph.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/operator_schema.cc.o<br>
[ 38%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/transform.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_dag.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/event.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/int8_serialization.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/workspace.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/tensor.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_tracing.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_scheduling.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/memonger.cc.o<br>
[ 39%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init_omp.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/context.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/allocator.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_simple.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/module.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/common.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init_intrinsics_check.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_base.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/tensor_int8.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net.cc.o<br>
[ 40%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/typeid.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/blob_stats.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/flags.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/operator.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/stats.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/types.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/logging.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_simple_async.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/predictor_utils.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/predictor.cc.o<br>
[ 41%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_dag_utils.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/numa.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/db.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/qtensor_serialization.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/blob_serialization.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/plan_executor.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_polling.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/init.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/db/create_db_op.cc.o<br>
[ 42%] Building CXX object caffe2/CMakeFiles/caffe2.dir/db/protodb.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/file_store_handler.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/file_store_handler_op.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/store_handler.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/distributed/store_ops.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/image/image_input_op.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/mpi/mpi_common.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/mpi/mpi_ops.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/observers/time_observer.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/observers/runcnt_observer.cc.o<br>
[ 43%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/backend_rep.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/onnx_exporter.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/backend.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/device.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/onnx/helper.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/arg_max_op.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/index_hash_ops.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/relu_op.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/feed_blob_op.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/concat_split_op.cc.o<br>
[ 44%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/shape_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/find_duplicate_elements_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cross_entropy_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rank_loss_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sqr_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/multi_class_accuracy_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/affine_channel_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/apmeter_op.cc.o<br>
[ 45%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/exp_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ceil_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/integral_image_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/listwise_l2r_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cosine_embedding_criterion_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/locally_connected_op_util.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cos_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/instance_norm_gradient_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reverse_packed_segs_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/while_op.cc.o<br>
[ 46%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_pool_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/generate_proposals_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/flexible_top_k.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/variable_length_sequence_padding.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gather_ranges_to_dense_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/glu_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/piecewise_linear_transform_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/collect_and_distribute_fpn_rpn_proposals_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/partition_ops.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/negative_op.cc.o<br>
[ 47%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pack_rnn_sequence_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/merge_id_lists_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/h_softmax_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lstm_unit_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/logit_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/cast_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/relu_n_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ctc_greedy_decoder_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/create_scope_op.cc.o<br>
[ 48%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/onnx_while_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/log_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_align_gradient_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lpnorm_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/weighted_multi_sampling_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op_shared.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/abs_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/floor_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/clip_op.cc.o<br>
[ 49%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/segment_reduction_op.cc.o<br>
/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/abs_op.cc:81:20: warning: unknown escape sequence: '&gt;'<br>
.Input(0, "X", "<em>(type: Tensor&lt;float&gt;)</em> Input tensor.")<br>
^<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/asin_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_gradient_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/counter_ops.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_add_gradient_op.cc.o<br>
cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'<br>
cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'<br>
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'<br>
cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'<br>
cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'<br>
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/percentile_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/thresholded_relu_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_gradient_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_matmul_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/distance_op.cc.o<br>
[ 50%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ngram_ops.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sum_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pad_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stats_ops.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/slice_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/swish_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/summarize_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fc_inference.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/ensure_cpu_output_op.cc.o<br>
[ 51%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/acos_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/do_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dataset_ops.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rowmul_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/local_response_normalization_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gather_fused_8bit_rowwise_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sigmoid_gradient_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/scale_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tan_op.cc.o<br>
[ 52%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stylizer_ops.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/half_float_ops.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_fused_8bit_rowwise_ops.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/resize_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_rowwise_8bit_ops.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/free_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_mul_gradient_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/find_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_gradient_op.cc.o<br>
[ 53%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_logical_ops.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/prepend_dim_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/group_norm_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/bbox_transform_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atomic_ops.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pow_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rsqrt_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elu_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/prelu_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_batch_norm_gradient_op.cc.o<br>
[ 54%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/extend_tensor_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/perplexity_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/leaky_relu_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/accumulate_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/unique_ops.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/normalize_l1_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/given_tensor_fill_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/gru_unit_op.cc.o<br>
[ 55%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/enforce_finite_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/minmax_ops.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conditional_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sinusoid_position_encoding_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/replace_nan_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/weighted_sample_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sqrt_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/loss_op.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fused_rowwise_8bit_conversion_ops.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/utility_ops.cc.o<br>
[ 56%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/top_k.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/remove_data_blocks_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/jsd_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/atan_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_linear_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/selu_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/box_with_nms_limit_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/map_ops.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reshape_op.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduce_ops.cc.o<br>
[ 57%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/margin_ranking_criterion_op.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_sub_op.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_softmax_with_loss_op.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/boolean_unmask_ops.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pack_segments.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/one_hot_ops.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_shared.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_op_eigen.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/load_save_op.cc.o<br>
[ 58%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_stats_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/square_root_divide_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pool_gradient_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/zero_gradient_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/moments_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_sparse_to_dense_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/flatten_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/workspace_ops.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/instance_norm_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_op.cc.o<br>
[ 59%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_backprop_stats_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lp_pool_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduction_front_back_ops.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tanh_gradient_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/text_file_reader_utils.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tanh_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_pad_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_to_dense_mask_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/arg_ops.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/matmul_op.cc.o<br>
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/pool_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tt_linear_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/spatial_batch_norm_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/layer_norm_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/last_n_window_collector.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sigmoid_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/boolean_mask_ops.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/minmax_gradient_ops.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_to_dense_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/if_op.cc.o<br>
[ 61%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/mod_op.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softmax_with_loss_op.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/channel_shuffle_op.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_reducer_ops.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/key_split_ops.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rmac_regions_op.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/index_ops.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/im2col_op.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops.cc.o<br>
[ 62%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sin_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/feature_maps_ops.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_box_cox_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/transpose_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stop_gradient.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/quant_decode_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_div_gradient_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/accuracy_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/assert_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/mean_op.cc.o<br>
[ 63%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softplus_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/string_ops.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/text_file_reader.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tile_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sparse_normalize_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/space_batch_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/tensor_protos_db_input.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/stump_func_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_utils.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_squeeze_dims_op.cc.o<br>
[ 64%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/deform_conv_op.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/conv_transpose_op_mobile.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reduction_ops.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/elementwise_ops_schema.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/negate_gradient_op.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/communicator_op.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/normalize_op.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/dropout_op.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/reservoir_sampling.cc.o<br>
[ 65%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/fully_connected_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_tile_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/deform_conv_gradient_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/lengths_top_k_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/sequence_ops.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/batch_gather_ops.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/order_switch_ops.cc.o<br>
/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/sequence_ops.cc:389:9: warning: unknown escape sequence: '_'<br>
"D_1, ..., D_n&gt;$).")<br>
^<br>
/lvjc/caffe2-cpp/build/ext/src/caffe2-ext/caffe2/operators/sequence_ops.cc:486:9: warning: unknown escape sequence: '_'<br>
"(<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="8d3dcabdf12b10b83fd1be339343d5e9">$T&amp;lt;N + 2*padding_width, D_1, ..., D_n&amp;gt;$</math-renderer>).")<br>
^<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/expand_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/filler_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/numpy_tile_op.cc.o<br>
[ 66%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/locally_connected_op.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/roi_align_op.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/softsign_op.cc.o<br>
cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'<br>
cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'<br>
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'<br>
cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'<br>
cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'<br>
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/norm_planar_yuv_op.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_executor.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_op.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/operators/rnn/recurrent_network_blob_fetcher_op.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/sink.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/optimizer.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/backend_cutting.cc.o<br>
[ 67%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/converter.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/passes.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/mobile.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/optimize_ideep.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/opt/fusion.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/typed_axpy.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/embedding_lookup.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/rebatching_queue.cc.o<br>
[ 68%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/blobs_queue.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/blobs_queue_db.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/queue_ops.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/queue/rebatching_queue_ops.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/lars_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/rmsprop_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/momentum_sgd_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/adam_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/yellowfin_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/clip_tensor_op.cc.o<br>
[ 69%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/learning_rate_adaption_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/ftrl_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/learning_rate_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/iter_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/sgd/adagrad_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/share/contrib/nnpack/conv_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/share/contrib/depthwise/depthwise3x3_conv_op.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/common_subexpression_elimination.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/conv_to_nnpack_transform.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/single_op_transform.cc.o<br>
[ 70%] Building CXX object caffe2/CMakeFiles/caffe2.dir/transforms/pattern_net_transform.cc.o<br>
[ 71%] Linking CXX shared library ../lib/libcaffe2.so<br>
[ 71%] Built target caffe2<br>
Scanning dependencies of target caffe2_pybind11_state<br>
Scanning dependencies of target caffe2_observers<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/utils/caffe2_gpu_generated_math_gpu.cu.o<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/sgd/caffe2_gpu_generated_rmsprop_op_gpu.cu.o<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/core/caffe2_gpu_generated_context_gpu.cu.o<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/image/caffe2_gpu_generated_transform_gpu.cu.o<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/core/caffe2_gpu_generated_THCCachingAllocator.cu.o<br>
[ 72%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_elementwise_ops.cu.o<br>
[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/net_observer_reporter_print.cc.o<br>
[ 72%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o<br>
In file included from /usr/local/cuda/include/common_functions.h:50:0,<br>
from /usr/local/cuda/include/cuda_runtime.h:115,<br>
from :0:<br>
/usr/local/cuda/include/crt/common_functions.h:64:24: error: token ""<strong>CUDACC_VER</strong> is no longer supported.  Use <strong>CUDACC_VER_MAJOR</strong>, <strong>CUDACC_VER_MINOR</strong>, and <strong>CUDACC_VER_BUILD</strong> instead."" is not valid in preprocessor expressions<br>
#define <strong>CUDACC_VER</strong> "<strong>CUDACC_VER</strong> is no longer supported.  Use <strong>CUDACC_VER_MAJOR</strong>, <strong>CUDACC_VER_MINOR</strong>, and <strong>CUDACC_VER_BUILD</strong> instead."<br>
^<br>
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro '<strong>CUDACC_VER</strong>'<br>
#if defined(<strong>CUDACC_VER</strong>) &amp;&amp;  <strong>CUDACC_VER</strong> &gt;= 70500 &amp;&amp; __cplusplus &gt; 199711L<br>
^<br>
In file included from /usr/local/cuda/include/common_functions.h:50:0,<br>
from /usr/local/cuda/include/cuda_runtime.h:115,<br>
from :0:<br>
/usr/local/cuda/include/crt/common_functions.h:64:24: error: token ""<strong>CUDACC_VER</strong> is no longer supported.  Use <strong>CUDACC_VER_MAJOR</strong>, <strong>CUDACC_VER_MINOR</strong>, and <strong>CUDACC_VER_BUILD</strong> instead."" is not valid in preprocessor expressions<br>
#define <strong>CUDACC_VER</strong> "<strong>CUDACC_VER</strong> is no longer supported.  Use <strong>CUDACC_VER_MAJOR</strong>, <strong>CUDACC_VER_MINOR</strong>, and <strong>CUDACC_VER_BUILD</strong> instead."<br>
^<br>
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro '<strong>CUDACC_VER</strong>'<br>
#if defined(<strong>CUDACC_VER</strong>) &amp;&amp;  <strong>CUDACC_VER</strong> &gt;= 70500 &amp;&amp; __cplusplus &gt; 199711L<br>
^<br>
cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'<br>
cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'<br>
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'<br>
cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'<br>
cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'<br>
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'<br>
cc1plus: warning: unrecognized command line option '-Wno-aligned-allocation-unavailable'<br>
cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'<br>
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'<br>
cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'<br>
cc1plus: warning: unrecognized command line option '-Wno-typedef-redefinition'<br>
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'<br>
CMake Error at caffe2_gpu_generated_elementwise_ops.cu.o.Release.cmake:219 (message):<br>
Error generating<br>
/lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build/caffe2/CMakeFiles/caffe2_gpu.dir/operators/./caffe2_gpu_generated_elementwise_ops.cu.o</p>
<p dir="auto">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<br>
make[5]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_elementwise_ops.cu.o] Error 1<br>
make[5]: *** Waiting for unfinished jobs....<br>
CMake Error at caffe2_gpu_generated_math_gpu.cu.o.Release.cmake:219 (message):<br>
Error generating<br>
/lvjc/caffe2-cpp/build/ext/src/caffe2-ext-build/caffe2/CMakeFiles/caffe2_gpu.dir/utils/./caffe2_gpu_generated_math_gpu.cu.o</p>
<p dir="auto">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<br>
make[5]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/utils/caffe2_gpu_generated_math_gpu.cu.o] Error 1<br>
[ 72%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_dlpack.cc.o<br>
[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/observer_config.cc.o<br>
[ 72%] Building CXX object modules/observers/CMakeFiles/caffe2_observers.dir/perf_observer.cc.o<br>
[ 72%] Linking CXX shared library ../../lib/libcaffe2_observers.so<br>
[ 72%] Built target caffe2_observers<br>
/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.<br>
\ #pragma message "CUDNN version under 6.0 is supported at best effort."<br>
^<br>
/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.<br>
\ #pragma message "We strongly encourage you to move to 6.0 and above."<br>
^<br>
/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.<br>
\ #pragma message "This message is intended to annoy you enough to update."<br>
^<br>
/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.<br>
\ #pragma message "CUDNN version under 6.0 is supported at best effort."<br>
^<br>
/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.<br>
#pragma message "We strongly encourage you to move to 6.0 and above."<br>
^<br>
/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.<br>
#pragma message "This message is intended to annoy you enough to update."<br>
^<br>
/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.<br>
\ #pragma message "CUDNN version under 6.0 is supported at best effort."<br>
^<br>
/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.<br>
#pragma message "We strongly encourage you to move to 6.0 and above."<br>
^<br>
/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.<br>
\ #pragma message "This message is intended to annoy you enough to update."<br>
^<br>
/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.<br>
\ #pragma message "CUDNN version under 6.0 is supported at best effort."</p>
<p dir="auto"># ~/.bashrc: executed by bash(1) for non-login shells.<br>
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)<br>
# for examples</p>
<p dir="auto"># If not running interactively, don't do anything<br>
[ -z "$PS1" ] &amp;&amp; return</p>
<p dir="auto"># don't put duplicate lines in the history. See bash(1) for more options<br>
# ... or force ignoredups and ignorespace<br>
HISTCONTROL=ignoredups:ignorespace</p>
<p dir="auto"># append to the history file, don't overwrite it<br>
shopt -s histappend</p>
<p dir="auto"># for setting history length see HISTSIZE and HISTFILESIZE in bash(1)<br>
HISTSIZE=1000<br>
HISTFILESIZE=2000</p>
<p dir="auto"># check the window size after each command and, if necessary,<br>
# update the values of LINES and COLUMNS.<br>
shopt -s checkwinsize</p>
<p dir="auto"># make less more friendly for non-text input files, see lesspipe(1)<br>
[ -x /usr/bin/lesspipe ] &amp;&amp; eval "$(SHELL=/bin/sh lesspipe)"</p>
<p dir="auto"># set variable identifying the chroot you work in (used in the prompt below)<br>
if [ -z "$debian_chroot" ] &amp;&amp; [ -r /etc/debian_chroot ]; then<br>
debian_chroot=$(cat /etc/debian_chroot)<br>
fi</p>
<p dir="auto">E486: Pattern not found: python          1,1           Top<br>
^<br>
/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.<br>
#pragma message "We strongly encourage you to move to 6.0 and above."<br>
^<br>
/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.<br>
#pragma message "This message is intended to annoy you enough to update."<br>
^<br>
CMakeFiles/Makefile2:1438: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed<br>
make[4]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2<br>
make[4]: *** Waiting for unfinished jobs....<br>
[ 72%] Linking CXX shared module python/caffe2_pybind11_state.so<br>
[ 72%] Built target caffe2_pybind11_state<br>
Makefile:138: recipe for target 'all' failed<br>
make[3]: *** [all] Error 2<br>
CMakeFiles/caffe2-ext.dir/build.make:110: recipe for target 'ext/src/caffe2-ext-stamp/caffe2-ext-build' failed<br>
make[2]: *** [ext/src/caffe2-ext-stamp/caffe2-ext-build] Error 2<br>
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2-ext.dir/all' failed<br>
make[1]: *** [CMakeFiles/caffe2-ext.dir/all] Error 2<br>
Makefile:83: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>