<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">Torch fails to install with GPU support after following the instructions at <a href="https://github.com/pytorch/pytorch#from-source">https://github.com/pytorch/pytorch#from-source</a>.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
torch.cuda.is_available() # returns False
torch.cuda.device_count() # returns 0"><pre class="notranslate"><code class="notranslate">import torch
torch.cuda.is_available() # returns False
torch.cuda.device_count() # returns 0
</code></pre></div>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ python setup.py install"><pre class="notranslate"><code class="notranslate">git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ python setup.py install
</code></pre></div>
<p dir="auto">Log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ python setup.py install
Building wheel torch-1.0.0a0+4c11dee
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_FBGEMM=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_MKLDNN=1
+ shift
+ [[ 2 -gt 0 ]]
+ case &quot;$1&quot; in
+ USE_QNNPACK=1
+ shift
+ [[ 1 -gt 0 ]]
+ case &quot;$1&quot; in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Darwin == Darwin ']'
+ '[' -d /usr/local/opt/ccache/libexec ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /Users/carlos/Downloads/pytorch
+ BASE_DIR=/Users/carlos/Downloads/pytorch
+ TORCH_LIB_DIR=/Users/carlos/Downloads/pytorch/torch/lib
+ INSTALL_DIR=/Users/carlos/Downloads/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/Users/carlos/Downloads/pytorch/third_party
+ C_FLAGS=
+ C_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS=
+ LD_POSTFIX=.so
++ uname
+ [[ Darwin == \D\a\r\w\i\n ]]
+ LDFLAGS=' -Wl,-rpath,@loader_path'
+ LD_POSTFIX=.dylib
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ [[ 0 -eq 1 ]]
+ CUDA_NVCC_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=8
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
+ for arg in '&quot;$@&quot;'
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /anaconda3/lib/python3.6/site-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=(&quot;-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH&quot;)
+ [[ 1 -eq 1 ]]
+ cmake /Users/carlos/Downloads/pytorch -DPYTHON_EXECUTABLE=/anaconda3/bin/python -DPYTHON_LIBRARY=/anaconda3/lib/libpython3.6m.dylib -DPYTHON_INCLUDE_DIR=/anaconda3/include/python3.6m -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+4c11dee -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_FBGEMM=0 -DUSE_NUMPY= -DNUMPY_INCLUDE_DIR=/anaconda3/lib/python3.6/site-packages/numpy/core/include -DUSE_SYSTEM_NCCL=OFF -DNCCL_INCLUDE_DIR= -DNCCL_ROOT_DIR= -DNCCL_SYSTEM_LIB= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR=/usr/local/cuda/include -DCUDNN_LIB_DIR=/usr/local/cuda/lib -DCUDNN_LIBRARY=/usr/local/cuda/lib/libcudnn.7.dylib -DUSE_MKLDNN=1 -DNCCL_EXTERNAL=1 -DCMAKE_INSTALL_PREFIX=/Users/carlos/Downloads/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS= -Wl,-rpath,@loader_path ' '-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-rpath,@loader_path ' -DTHD_SO_VERSION=1 -DCMAKE_PREFIX_PATH=/anaconda3/lib/python3.6/site-packages
-- CLANG_VERSION_STRING:         9.1
-- std::exception_ptr is supported.
-- NUMA is disabled
-- Turning off deprecation warning due to glog.
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/Users/carlos/Downloads/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt;
-- The BLAS backend of choice:MKL
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
CMake Warning at cmake/Dependencies.cmake:77 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:201 (include)


-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [Accelerate]
--   Library Accelerate: /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Accelerate.framework
-- This BLAS uses the F2C return conventions
-- Found a library with BLAS API (accelerate).
-- Brace yourself, we are building NNPACK
-- Found PythonInterp: /anaconda3/bin/python (found version &quot;3.6.6&quot;) 
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Using third party subdirectory Eigen.
Python 3.6.6 :: Anaconda custom (64-bit)
-- Found PythonInterp: /anaconda3/bin/python (found suitable version &quot;3.6.6&quot;, minimum required is &quot;2.7&quot;) 
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) 
-- Using third_party/pybind11.
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.0&quot;, minimum required is &quot;7.0&quot;) 
-- Caffe2: CUDA detected: 10.0
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 10.0
-- Found cuDNN: v7.4.1  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib/libcudnn.7.dylib)
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX
-- Added CUDA NVCC flags for: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_70,code=compute_70
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
-- 
-- ******** Summary ********
--   CMake version         : 3.13.0
--   CMake command         : /anaconda3/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/bin/cmake
--   System                : Darwin
--   C++ compiler          : /Library/Developer/CommandLineTools/usr/bin/clang++
--   C++ compiler version  : 9.1.0.9020039
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations
--   Build type            : Release
--   Compile definitions   : 
--   CMAKE_PREFIX_PATH     : /anaconda3/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
--   CMAKE_MODULE_PATH     : /Users/carlos/Downloads/pytorch/cmake/Modules;/Users/carlos/Downloads/pytorch/cmake/public/../Modules_CUDA_fix
-- 
--   ONNX version          : 1.3.0
--   ONNX NAMESPACE        : onnx_torch
--   ONNX_BUILD_TESTS      : OFF
--   ONNX_BUILD_BENCHMARKS : OFF
--   ONNX_USE_LITE_PROTO   : OFF
--   ONNXIFI_DUMMY_BACKEND : OFF
-- 
--   Protobuf compiler     : 
--   Protobuf includes     : 
--   Protobuf libraries    : 
--   BUILD_ONNX_PYTHON     : OFF
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- MAGMA not found. Compiling without MAGMA support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- AVX compiler support found
-- AVX2 compiler support found
-- Atomics: using GCC intrinsics
-- Found a library with LAPACK API. (accelerate)
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.0&quot;, minimum required is &quot;5.5&quot;) 
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
CMake Deprecation Warning at third_party/ideep/mkl-dnn/CMakeLists.txt:21 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at third_party/ideep/mkl-dnn/CMakeLists.txt:22 (cmake_policy):
  The OLD behavior for policy CMP0054 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Detecting Intel(R) MKL: trying mklml_intel
-- Intel(R) MKL: include /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/include
-- Intel(R) MKL: lib /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/lib/libmklml.dylib
-- Intel(R) MKL: OpenMP lib /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/lib/libiomp5.dylib
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- VTune profiling environment is unset
CMake Warning (dev) at cmake/public/mkldnn.cmake:1 (find_package):
  Policy CMP0074 is not set: find_package uses &lt;PackageName&gt;_ROOT variables.
  Run &quot;cmake --help-policy CMP0074&quot; for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MKLDNN_ROOT is set to:

    /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn

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

-- Using python found in /anaconda3/bin/python
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Configuring build for SLEEF-v3.2
   Target system: Darwin-18.2.0
   Target processor: x86_64
   Host system: Darwin-18.2.0
   Host processor: x86_64
   Detected C compiler: AppleClang @ /Library/Developer/CommandLineTools/usr/bin/clang
-- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef
-- Building shared libs : OFF
-- MPFR : /usr/local/lib/libmpfr.dylib
-- MPFR header file in /usr/local/include
-- GMP : /usr/local/lib/libgmp.dylib
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 
-- Using python found in /anaconda3/bin/python
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Found CUDA: /usr/local/cuda (found suitable version &quot;10.0&quot;, minimum required is &quot;7.5&quot;) 
-- NCCL operators skipped due to no CUDA support
-- Including IDEEP operators
-- Excluding image processing operators due to no opencv
-- Excluding video processing operators due to no opencv
-- MPI operators skipped due to no MPI support
-- Include Observer library
-- Using lib/python3.6/site-packages as python relative installation path
-- Automatically generating missing __init__.py files.
-- A previous caffe2 cmake run already created the __init__.py files.
CMake Warning at CMakeLists.txt:389 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.  Other settings may generate files that are not well
  tested.


-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.13.0
--   CMake command         : /anaconda3/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/bin/cmake
--   System                : Darwin
--   C++ compiler          : /Library/Developer/CommandLineTools/usr/bin/clang++
--   C++ compiler version  : 9.1.0.9020039
--   BLAS                  : MKL
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Qunused-arguments -faligned-new -Wno-unused-private-field -Wno-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const
--   Build type            : Release
--   Compile definitions   : ONNX_NAMESPACE=onnx_torch;USE_GCC_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1
--   CMAKE_PREFIX_PATH     : /anaconda3/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
-- 
--   TORCH_VERSION         : 1.0.0
--   CAFFE2_VERSION        : 1.0.0
--   BUILD_ATEN_MOBILE     : OFF
--   BUILD_ATEN_ONLY       : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 3.6.6
--     Python executable   : /anaconda3/bin/python
--     Pythonlibs version  : 3.6.6
--     Python library      : /anaconda3/lib/libpython3.6m.dylib
--     Python includes     : /anaconda3/include/python3.6m
--     Python site-packages: lib/python3.6/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : ON
--   USE_ASAN              : OFF
--   USE_CUDA              : 1
--     CUDA static link    : 0
--     USE_CUDNN           : ON
--     CUDA version        : 10.0
--     cuDNN version       : 7.4.1
--     CUDA root directory : /usr/local/cuda
--     CUDA library        : /usr/local/cuda/lib/libcuda.dylib
--     cudart library      : /usr/local/cuda/lib/libcudart_static.a;-Wl,-rpath,/usr/local/cuda/lib
--     cublas library      : /usr/local/cuda/lib/libcublas.dylib
--     cufft library       : /usr/local/cuda/lib/libcufft.dylib
--     curand library      : /usr/local/cuda/lib/libcurand.dylib
--     cuDNN library       : /usr/local/cuda/lib/libcudnn.7.dylib
--     nvrtc               : /usr/local/cuda/lib/libnvrtc.dylib
--     CUDA include path   : /usr/local/cuda/include
--     NVCC executable     : /usr/local/cuda/bin/nvcc
--     CUDA host compiler  : /Library/Developer/CommandLineTools/usr/bin/clang
--     USE_TENSORRT        : OFF
--   USE_ROCM              : 0
--   USE_EIGEN_FOR_BLAS    : ON
--   USE_FBGEMM            : 0
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_LEVELDB           : OFF
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : OFF
--   USE_METAL             : OFF
--   USE_MKL               : OFF
--   USE_MKLDNN            : ON
--   USE_MOBILE_OPENGL     : OFF
--   USE_NCCL              : OFF
--   USE_NNPACK            : 1
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : OFF
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : 1
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : ON
--     USE_MPI             : OFF
--     USE_GLOO            : OFF
--     USE_GLOO_IBVERBS    : OFF
--   Public Dependencies  : Threads::Threads;caffe2::mkldnn
--   Private Dependencies : qnnpack;nnpack;cpuinfo;fp16;aten_op_header_gen;onnxifi_loader
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/carlos/Downloads/pytorch/build
+ make install -j8
[  0%] Built target onnxifi_loader
[  0%] Built target clog
[  0%] Built target js_embed
[  0%] Built target pthreadpool
[  0%] Built target gtest
[  1%] Built target benchmark
[  2%] Built target libprotobuf-lite
[  3%] Built target onnxifi_dummy
[  3%] Built target ATEN_CPU_FILES_GEN_TARGET
[  3%] Built target ATEN_CUDA_FILES_GEN_TARGET
[  5%] Built target c10
[  5%] Built target common
[  5%] Built target mkrename
[  5%] Built target mkdisp
[  5%] Built target mkalias
[  9%] Built target mkldnn
[ 10%] Built target mkmasked_gnuabi
[ 10%] Built target mkrename_gnuabi
[ 14%] Built target libprotobuf
[ 14%] Built target arraymap
[ 14%] Built target c10_utils_hip
[ 14%] Built target c10_utils_gpu
[ 14%] Built target torch_shm_manager
[ 14%] Built target c10_utils_cpu
[ 14%] Built target cpuinfo
[ 14%] Built target nnpack_reference_layers
[ 14%] Built target gtest_main
[ 14%] Built target onnxifi_wrapper
[ 14%] Built target __aten_op_header_gen
[ 15%] Built target headers
[ 15%] Built target benchmark_main
[ 15%] Built target renamedsp256.h_generated
[ 15%] Built target c10_cuda
[ 15%] Built target dispavx.c_generated
[ 15%] Built target renameAVX.h_generated
[ 15%] Built target renameSSE2.h_generated
[ 15%] Built target renameSSE4.h_generated
[ 15%] Built target renameFMA4.h_generated
[ 15%] Built target renameAVX2128.h_generated
[ 15%] Built target renameAVX2.h_generated
[ 15%] Built target dispsse.c_generated
[ 15%] Built target renamedsp128.h_generated
[ 15%] Built target renameAVX512F.h_generated
[ 15%] Generating alias_avx512f.h
[ 15%] Built target c10_utils_gpu_test
[ 15%] Built target c10_utils_hip_test
[ 15%] Built target c10_utils_cpu_test
[ 17%] Built target nnpack
[ 17%] Built target qnnpack
[ 17%] Built target c10_typeid_test
[ 17%] Built target c10_intrusive_ptr_test
[ 17%] Built target alias_avx512f.h_generated
[ 17%] Built target c10_TypeTraits_test
[ 18%] Built target c10_registry_test
[ 18%] Built target c10_TypeList_test
[ 18%] Built target c10_InlineStreamGuard_test
[ 18%] Built target c10_logging_test
[ 18%] Built target c10_Metaprogramming_test
[ 18%] Built target c10_InlineDeviceGuard_test
[ 18%] Built target c10_Array_test
[ 18%] Built target c10_flags_test
[ 19%] Built target c10_OpSchema_test
[ 19%] Built target c10_TensorTypeId_test
[ 19%] Built target c10_StreamGuard_test
[ 19%] Built target c10_DeviceGuard_test
[ 19%] Built target dispavx_obj
[ 19%] Built target c10_cuda_CUDATest
[ 19%] Built target sleefsse2
[ 20%] Built target sleeffma4
[ 20%] Built target sleefavx
[ 20%] Built target sleefsse4
[ 20%] Built target sleefavx2128
[ 20%] Built target sleefavx2
[ 21%] Built target dispsse_obj
[ 21%] Built target sleefavx512f
[ 26%] Built target libprotoc
[ 26%] Built target sleef
[ 26%] Built target protoc
[ 27%] Built target gen_onnx_proto
[ 27%] Built target Caffe2_PROTO
[ 27%] Built target onnx_proto
[ 27%] Built target caffe2_protos
[ 28%] Built target Caffe2_perfkernels_avx
[ 28%] Built target Caffe2_perfkernels_avx2
[ 30%] Built target onnx
[ 59%] Built target caffe2
[ 59%] Built target shm
[ 59%] Built target caffe2_module_test_dynamic
[ 59%] Built target caffe2_observers
[ 59%] Built target caffe2_pybind11_state
[ 60%] Built target THD
[ 60%] Linking CXX shared library ../lib/libcaffe2_gpu.dylib
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 60%] Built target python_copy_files
[ 80%] Built target caffe2_gpu
[ 80%] Linking CXX executable ../bin/batch_matmul_op_gpu_test
[ 80%] Linking CXX executable ../bin/operator_fallback_gpu_test
[ 80%] Linking CXX executable ../bin/operator_gpu_test
[ 80%] Linking CXX executable ../bin/conv_op_cache_cudnn_test
[ 80%] Linking CXX executable ../bin/utility_ops_gpu_test
[ 80%] Linking CXX executable ../bin/roi_align_op_gpu_test
[ 80%] Linking CXX executable ../bin/elementwise_op_gpu_test
[ 81%] Linking CXX shared module python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so
[ 81%] Built target conv_op_cache_cudnn_test
[ 81%] Built target operator_gpu_test
[ 81%] Built target batch_matmul_op_gpu_test
[ 81%] Built target elementwise_op_gpu_test
[ 81%] Built target utility_ops_gpu_test
[ 81%] Built target operator_fallback_gpu_test
[ 81%] Built target roi_align_op_gpu_test
[ 81%] Built target caffe2_pybind11_state_gpu
[ 81%] Linking CXX executable ../bin/net_gpu_test
[ 81%] Linking CXX executable ../bin/context_gpu_test
[ 81%] Linking CXX executable ../bin/blob_gpu_test
[ 81%] Linking CXX executable ../bin/dead_code_elim_test
[ 81%] Linking CXX executable ../bin/cudnn_test
[ 81%] Linking CXX executable ../bin/conv_to_nnpack_transform_test
[ 81%] Linking CXX executable ../bin/cuda_rng_test
[ 81%] Linking CXX executable ../bin/depthwise3x3_conv_op_test
[ 81%] Built target conv_to_nnpack_transform_test
[ 81%] Built target dead_code_elim_test
[ 81%] Built target cudnn_test
[ 81%] Built target cuda_rng_test
[ 81%] Built target context_gpu_test
[ 81%] Built target depthwise3x3_conv_op_test
[ 81%] Linking CXX executable ../bin/nnpack_test
[ 81%] Linking CXX executable ../bin/distributed_test
[ 81%] Linking CXX executable ../bin/converter_nomigraph_test
[ 81%] Built target net_gpu_test
[ 81%] Linking CXX executable ../bin/backend_cutting_test
[ 81%] Linking CXX executable ../bin/blob_test
[ 81%] Linking CXX executable ../bin/integer_divider_test
[ 81%] Built target blob_gpu_test
[ 81%] Linking CXX executable ../bin/int8_roi_align_op_test
[ 81%] Linking CXX executable ../bin/workspace_test
[ 82%] Built target distributed_test
[ 82%] Built target converter_nomigraph_test
[ 82%] Built target backend_cutting_test
[ 82%] Built target nnpack_test
[ 82%] Built target integer_divider_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 82%] Built target int8_roi_align_op_test
Scanning dependencies of target cuda_optional_test
[ 82%] Linking CXX executable ../bin/utility_ops_test
[ 82%] Linking CXX executable ../bin/int8_test
[ 82%] Linking CXX executable ../bin/fatal_signal_asan_no_sig_test
[ 82%] Built target workspace_test
[ 82%] Linking CXX executable ../bin/cuda_optional_test
[ 82%] Linking CXX executable ../bin/test_parallel
[ 82%] Linking CXX executable ../bin/generate_proposals_op_util_nms_test
[ 82%] Built target blob_test
[ 82%] Linking CXX executable ../bin/boolean_unmask_ops_test
[ 82%] Linking CXX executable ../bin/conv_transpose_op_mobile_test
[ 82%] Built target test_parallel
[ 82%] Built target fatal_signal_asan_no_sig_test
[ 82%] Built target int8_test
[ 82%] Built target cuda_optional_test
[ 82%] Built target generate_proposals_op_util_nms_test
[ 83%] Linking CXX executable ../bin/scalar_test
[ 83%] Linking CXX executable ../bin/ssa_test
[ 83%] Built target boolean_unmask_ops_test
[ 83%] Linking CXX executable ../bin/batch_matmul_op_test
[ 83%] Built target utility_ops_test
[ 83%] Linking CXX executable ../bin/operator_schema_test
[ 83%] Built target conv_transpose_op_mobile_test
[ 84%] Linking CXX executable ../bin/time_observer_test
[ 84%] Linking CXX executable ../bin/wrapdim_test
[ 84%] Linking CXX executable ../bin/timer_test
[ 84%] Linking CXX executable ../bin/inline_container_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_schema_test.dir/core/operator_schema_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_schema_test.dir/core/operator_schema_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 84%] Built target scalar_test
[ 84%] Built target wrapdim_test
[ 84%] Built target batch_matmul_op_test
[ 84%] Built target time_observer_test
[ 84%] Built target timer_test
[ 84%] Built target operator_schema_test
[ 84%] Linking CXX executable ../bin/common_test
[ 84%] Built target ssa_test
[ 84%] Linking CXX executable ../bin/TopoSortTest
[ 84%] Linking CXX executable ../bin/TarjansImplTest
[ 84%] Linking CXX executable ../bin/SubgraphMatcherTest
[ 84%] Built target inline_container_test
[ 84%] Linking CXX executable ../bin/cpuid_test
[ 84%] Linking CXX executable ../bin/NeuralNetTest
[ 84%] Linking CXX executable ../bin/simple_queue_test
[ 84%] Linking CXX executable ../bin/apply_test
[ 84%] Built target TarjansImplTest
[ 84%] Built target cpuid_test
[ 84%] Built target TopoSortTest
[ 84%] Built target common_test
[ 84%] Built target NeuralNetTest
[ 84%] Built target SubgraphMatcherTest
[ 84%] Built target simple_queue_test
[ 84%] Built target apply_test
[ 84%] Linking CXX executable ../bin/MatchTest
[ 84%] Linking CXX executable ../bin/stream_test
[ 84%] Linking CXX executable ../bin/GraphTest
[ 84%] Linking CXX executable ../bin/common_subexpression_elimination_test
[ 84%] Linking CXX executable ../bin/BinaryMatchImplTest
[ 84%] Linking CXX executable ../bin/AlgorithmsTest
[ 84%] Linking CXX executable ../bin/observer_test
[ 84%] Linking CXX executable ../bin/device_test
[ 84%] Built target BinaryMatchImplTest
[ 84%] Built target common_subexpression_elimination_test
[ 84%] Built target AlgorithmsTest
[ 84%] Built target GraphTest
[ 84%] Built target device_test
[ 84%] Built target observer_test
[ 84%] Built target MatchTest
[ 84%] Built target stream_test
[ 84%] Linking CXX executable ../bin/cast_test
[ 85%] Linking CXX executable ../bin/predictor_test
[ 85%] Linking CXX executable ../bin/proto_utils_test
[ 85%] Linking CXX executable ../bin/reshape_op_gpu_test
[ 85%] Linking CXX executable ../bin/event_gpu_test
[ 85%] Linking CXX executable ../bin/math_test
[ 85%] Linking CXX executable ../bin/transform_test
[ 85%] Linking CXX executable ../bin/verify_api_visibility
[ 85%] Built target verify_api_visibility
[ 85%] Built target proto_utils_test
[ 85%] Built target math_test
[ 85%] Built target transform_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 85%] Built target event_gpu_test
[ 85%] Built target reshape_op_gpu_test
[ 85%] Linking CXX executable ../bin/operator_test
[ 85%] Built target predictor_test
[ 85%] Linking CXX executable ../bin/fixed_divisor_test
[ 85%] Linking CXX executable ../bin/pattern_net_transform_test
[ 85%] Linking CXX executable ../bin/net_simple_refcount_test
[ 85%] Built target cast_test
[ 85%] Linking CXX executable ../bin/scalar_tensor_test
[ 86%] Linking CXX executable ../bin/atest
[ 86%] Linking CXX executable ../bin/module_test
[ 86%] Linking CXX executable ../bin/init_test
[ 86%] Built target net_simple_refcount_test
[ 86%] Built target fixed_divisor_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_test.dir/core/operator_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_test.dir/core/operator_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 86%] Built target pattern_net_transform_test
[ 86%] Built target scalar_tensor_test
[ 86%] Built target atest
[ 86%] Built target init_test
[ 86%] Built target module_test
[ 86%] Built target operator_test
Scanning dependencies of target cuda_half_test
[ 86%] Linking CXX executable ../bin/apply_utils_test
[ 86%] Linking CXX executable ../bin/generate_proposals_op_util_boxes_test
[ 86%] Linking CXX executable ../bin/event_test
[ 86%] Linking CXX executable ../bin/graph_test
[ 86%] Linking CXX executable ../bin/context_test
[ 86%] Linking CXX executable ../bin/basic
[ 87%] Linking CXX executable ../bin/cuda_half_test
[ 87%] Linking CXX executable ../bin/smart_tensor_printer_test
[ 87%] Built target event_test
[ 87%] Built target context_test
[ 87%] Built target basic
[ 87%] Built target apply_utils_test
[ 87%] Built target graph_test
[ 87%] Built target generate_proposals_op_util_boxes_test
[ 87%] Built target smart_tensor_printer_test
[ 87%] Built target cuda_half_test
[ 87%] Linking CXX executable ../bin/tbb_init_test
[ 87%] Linking CXX executable ../bin/undefined_tensor_test
[ 87%] Linking CXX executable ../bin/half_test
[ 87%] Linking CXX executable ../bin/native_test
[ 87%] Linking CXX executable ../bin/weakref_test
[ 87%] Linking CXX executable ../bin/math_gpu_test
[ 87%] Linking CXX executable ../bin/string_ops_test
[ 87%] Linking CXX executable ../bin/dlconvertor_test
[ 87%] Built target weakref_test
[ 87%] Built target undefined_tensor_test
[ 87%] Built target half_test
[ 87%] Built target native_test
[ 87%] Built target dlconvertor_test
[ 88%] Linking CXX executable ../bin/net_test
[ 88%] Built target tbb_init_test
[ 88%] Built target string_ops_test
[ 88%] Built target math_gpu_test
[ 88%] Linking CXX executable ../bin/stats_test
[ 88%] Linking CXX executable ../bin/elementwise_op_test
[ 88%] Linking CXX executable ../bin/text_file_reader_utils_test
Scanning dependencies of target cuda_packedtensoraccessor_test
[ 88%] Linking CXX executable ../bin/mobile_test
[ 88%] Linking CXX executable ../bin/net_dag_utils_test
[ 88%] Linking CXX executable ../bin/cuda_packedtensoraccessor_test
[ 88%] Linking CXX executable ../bin/generate_proposals_op_test
[ 88%] Built target stats_test
[ 88%] Built target text_file_reader_utils_test
[ 88%] Built target elementwise_op_test
[ 88%] Built target mobile_test
[ 88%] Built target net_dag_utils_test
[ 88%] Built target generate_proposals_op_test
[ 88%] Linking CXX executable ../bin/net_async_tracing_test
[ 88%] Linking CXX executable ../bin/parallel_net_test
[ 88%] Linking CXX executable ../bin/broadcast_test
[ 88%] Built target net_test
[ 88%] Built target cuda_packedtensoraccessor_test
[ 88%] Built target net_async_tracing_test
[ 88%] Built target broadcast_test
[ 88%] Built target parallel_net_test
[ 88%] Linking CXX shared library ../../lib/libcaffe2_detectron_ops_gpu.dylib
[ 88%] Linking CXX shared library ../../lib/libtorch.dylib
[ 89%] Built target caffe2_detectron_ops_gpu
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../../lib/libprotobuf.a(type.pb.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 94%] Built target torch
[ 94%] Linking CXX executable ../bin/test_jit
[ 95%] Linking CXX executable ../bin/test_api
[ 95%] Built target test_jit
[ 96%] Built target test_api
[ 96%] Linking CXX shared library ../../lib/libtorch_python.dylib
[100%] Built target torch_python
Install the project...
-- Install configuration: &quot;Release&quot;
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(arenastring.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(atomicops_internals_x86_msvc.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(io_win32.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(arenastring.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(atomicops_internals_x86_msvc.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(io_win32.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(gzip_stream.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(error_listener.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx.a(defs.cc.o) has no symbols
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_DeviceGuard_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_StreamGuard_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TensorTypeId_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_OpSchema_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_flags_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_InlineDeviceGuard_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_InlineStreamGuard_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_logging_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_registry_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_Array_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_Metaprogramming_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TypeList_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TypeTraits_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_intrusive_ptr_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_typeid_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_cuda_CUDATest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_utils_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_utils_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/basic (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/basic (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/atest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/atest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/half_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/half_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/broadcast_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/broadcast_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/wrapdim_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/wrapdim_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dlconvertor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dlconvertor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/native_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/native_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_tensor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_tensor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/test_parallel (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/test_parallel (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/undefined_tensor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/undefined_tensor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/verify_api_visibility (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/verify_api_visibility (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/tbb_init_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/tbb_init_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/weakref_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/weakref_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/graph_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/graph_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/init_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/init_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/module_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/module_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_async_tracing_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_async_tracing_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_dag_utils_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_dag_utils_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_simple_refcount_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_simple_refcount_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/observer_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/observer_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_schema_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_schema_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/parallel_net_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/parallel_net_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stats_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stats_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/timer_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/timer_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/transform_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/transform_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/workspace_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/workspace_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fixed_divisor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fixed_divisor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fatal_signal_asan_no_sig_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fatal_signal_asan_no_sig_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/simple_queue_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/simple_queue_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/proto_utils_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/proto_utils_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cpuid_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cpuid_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/smart_tensor_printer_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/smart_tensor_printer_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cast_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cast_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/predictor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/predictor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/AlgorithmsTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/AlgorithmsTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/BinaryMatchImplTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/BinaryMatchImplTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/GraphTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/GraphTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/MatchTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/MatchTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/NeuralNetTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/NeuralNetTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/SubgraphMatcherTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/SubgraphMatcherTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TarjansImplTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TarjansImplTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TopoSortTest (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TopoSortTest (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/inline_container_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/inline_container_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/time_observer_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/time_observer_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/ssa_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/ssa_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/boolean_unmask_ops_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/boolean_unmask_ops_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_transpose_op_mobile_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_transpose_op_mobile_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_boxes_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_boxes_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_nms_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_nms_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/string_ops_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/string_ops_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/text_file_reader_utils_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/text_file_reader_utils_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_roi_align_op_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_roi_align_op_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/backend_cutting_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/backend_cutting_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/converter_nomigraph_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/converter_nomigraph_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dead_code_elim_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dead_code_elim_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/device_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/device_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/distributed_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/distributed_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/mobile_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/mobile_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/nnpack_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/nnpack_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/depthwise3x3_conv_op_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/depthwise3x3_conv_op_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_subexpression_elimination_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_subexpression_elimination_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_to_nnpack_transform_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_to_nnpack_transform_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/pattern_net_transform_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/pattern_net_transform_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin/torch_shm_manager (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_cpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_gpu_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_hip_test (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option &quot;-add_rpath /usr/local/cuda/lib&quot; would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib (for architecture x86_64) option &quot;-add_rpath @loader_path&quot; would duplicate path, file already has LC_RPATH for: @loader_path
+ ls build.ninja
ls: build.ninja: No such file or directory
+ [[ ON == \O\N ]]
++ pwd
++ cd ..
++ pwd
+ echo 'Copying Caffe2 proto files from /Users/carlos/Downloads/pytorch/build/caffe2/proto to  /Users/carlos/Downloads/pytorch/caffe2/proto'
Copying Caffe2 proto files from /Users/carlos/Downloads/pytorch/build/caffe2/proto to  /Users/carlos/Downloads/pytorch/caffe2/proto
++ find caffe2/proto
+ echo 'All the files in caffe2/proto are caffe2/proto
caffe2/proto/caffe2_legacy.pb.cc
caffe2/proto/prof_dag_pb2.py
caffe2/proto/hsm.pb.cc
caffe2/proto/torch.pb.cc
caffe2/proto/CMakeFiles
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/DependInfo.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.internal
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/cmake_clean.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/progress.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/CXX.includecache
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/flags.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
caffe2/proto/CMakeFiles/progress.marks
caffe2/proto/CMakeFiles/CMakeDirectoryInformation.cmake
caffe2/proto/Makefile
caffe2/proto/hsm.pb.h
caffe2/proto/metanet.pb.cc
caffe2/proto/cmake_install.cmake
caffe2/proto/metanet_pb2.py
caffe2/proto/caffe2_legacy.pb.h
caffe2/proto/__init__.py
caffe2/proto/CTestTestfile.cmake
caffe2/proto/predictor_consts.pb.cc
caffe2/proto/metanet.pb.h
caffe2/proto/torch.pb.h
caffe2/proto/prof_dag.pb.cc
caffe2/proto/torch_pb2.py
caffe2/proto/caffe2_pb2.py
caffe2/proto/predictor_consts_pb2.py
caffe2/proto/caffe2.pb.cc
caffe2/proto/caffe2_legacy_pb2.py
caffe2/proto/caffe2.pb.h
caffe2/proto/hsm_pb2.py
caffe2/proto/predictor_consts.pb.h
caffe2/proto/prof_dag.pb.h'
All the files in caffe2/proto are caffe2/proto
caffe2/proto/caffe2_legacy.pb.cc
caffe2/proto/prof_dag_pb2.py
caffe2/proto/hsm.pb.cc
caffe2/proto/torch.pb.cc
caffe2/proto/CMakeFiles
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/DependInfo.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.internal
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/cmake_clean.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/progress.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/CXX.includecache
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/flags.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
caffe2/proto/CMakeFiles/progress.marks
caffe2/proto/CMakeFiles/CMakeDirectoryInformation.cmake
caffe2/proto/Makefile
caffe2/proto/hsm.pb.h
caffe2/proto/metanet.pb.cc
caffe2/proto/cmake_install.cmake
caffe2/proto/metanet_pb2.py
caffe2/proto/caffe2_legacy.pb.h
caffe2/proto/__init__.py
caffe2/proto/CTestTestfile.cmake
caffe2/proto/predictor_consts.pb.cc
caffe2/proto/metanet.pb.h
caffe2/proto/torch.pb.h
caffe2/proto/prof_dag.pb.cc
caffe2/proto/torch_pb2.py
caffe2/proto/caffe2_pb2.py
caffe2/proto/predictor_consts_pb2.py
caffe2/proto/caffe2.pb.cc
caffe2/proto/caffe2_legacy_pb2.py
caffe2/proto/caffe2.pb.h
caffe2/proto/hsm_pb2.py
caffe2/proto/predictor_consts.pb.h
caffe2/proto/prof_dag.pb.h
++ pwd
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/__init__.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/caffe2_legacy_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/caffe2_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/hsm_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/metanet_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/predictor_consts_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/prof_dag_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/torch_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
++ uname
+ [[ Darwin == \D\a\r\w\i\n ]]
+ echo 'Updating all install_names in /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib'
Updating all install_names in /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib
+ pushd /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib
~/Downloads/pytorch/torch/lib/tmp_install/lib ~/Downloads/pytorch/build
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib
+ install_name_tool -id @rpath/libc10.dylib libc10.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib
+ install_name_tool -id @rpath/libc10_cuda.dylib libc10_cuda.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib
+ install_name_tool -id @rpath/libcaffe2.dylib libcaffe2.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib
+ install_name_tool -id @rpath/libcaffe2_detectron_ops_gpu.dylib libcaffe2_detectron_ops_gpu.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib
+ install_name_tool -id @rpath/libcaffe2_gpu.dylib libcaffe2_gpu.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib
+ install_name_tool -id @rpath/libcaffe2_module_test_dynamic.dylib libcaffe2_module_test_dynamic.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib
+ install_name_tool -id @rpath/libcaffe2_observers.dylib libcaffe2_observers.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib
+ install_name_tool -id @rpath/libiomp5.dylib libiomp5.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib
+ install_name_tool -id @rpath/libmkldnn.0.14.0.dylib libmkldnn.0.14.0.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib
+ install_name_tool -id @rpath/libmkldnn.0.dylib libmkldnn.0.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib
+ install_name_tool -id @rpath/libmkldnn.dylib libmkldnn.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib
+ install_name_tool -id @rpath/libmklml.dylib libmklml.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib
+ install_name_tool -id @rpath/libonnxifi.dylib libonnxifi.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib
+ install_name_tool -id @rpath/libonnxifi_dummy.dylib libonnxifi_dummy.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib
+ install_name_tool -id @rpath/libshm.dylib libshm.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib
+ install_name_tool -id @rpath/libtorch.1.dylib libtorch.1.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib
+ install_name_tool -id @rpath/libtorch.dylib libtorch.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib
+ install_name_tool -id @rpath/libtorch_python.dylib libtorch_python.dylib
+ popd
~/Downloads/pytorch/build
+ pushd /Users/carlos/Downloads/pytorch/torch/lib
~/Downloads/pytorch/torch/lib ~/Downloads/pytorch/build
++ date
+ echo 'tools/build_pytorch_libs.sh succeeded at Sat Dec  1 17:57:01 EST 2018'
tools/build_pytorch_libs.sh succeeded at Sat Dec  1 17:57:01 EST 2018
+ echo 'removing /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake and /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python'
removing /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake and /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python
+ rm -rf /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake
+ rm -rf /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libTHD.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libclog.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcpuinfo.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libnnpack.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx_proto.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_loader.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotoc.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libpthreadpool.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libqnnpack.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libsleef.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/pkgconfig /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6 .
+ '[' -d /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib64/ ']'
++ cd ../..
++ pwd
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/aten/src/generic/THNN.h to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/aten/src/generic/THNN.h to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD ../../aten/src/THNN/generic/THNN.h .
+ rsync -lptgoD ../../aten/src/THCUNN/generic/THCUNN.h .
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include .
+ '[' -d /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin/ ']'
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin//protoc /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin//torch_shm_manager .
+ popd
~/Downloads/pytorch/build
copying torch/lib/tmp_install/share/cmake/ONNX/ONNXTargets-release.cmake -&gt; torch/share/cmake/ONNX
copying torch/lib/tmp_install/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; torch/share/cmake/Caffe2
running build
running build_py
setup.py::build_py::run()
running create_version_file
-- Building version 1.0.0a0+4c11dee
copying torch/version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/torch
copying caffe2/proto/prof_dag_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/metanet_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/torch_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/caffe2_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/predictor_consts_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/caffe2_legacy_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/hsm_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying torch/lib/libtorch_python.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.0.14.0.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libtorch.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_gpu.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_observers.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libiomp5.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_module_test_dynamic.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_detectron_ops_gpu.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libonnxifi.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.0.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libtorch.1.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libc10.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libshm.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libc10_cuda.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmklml.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libonnxifi_dummy.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/share/cmake/Caffe2
running build_ext
-- Building with NumPy bindings
-- Detected cuDNN at /usr/local/cuda/lib/libcudnn.7.dylib, /usr/local/cuda/include
-- Not using MIOpen
-- Detected CUDA at /usr/local/cuda
-- Using MKLDNN
-- Not using NCCL
-- Building with THD distributed package 
-- Building without c10d distributed package
Skipped writing torch/csrc/nn/THNN.cpp
Skipped writing torch/csrc/nn/THCUNN.cpp
WARNING: derivative ignored for _indices
WARNING: derivative ignored for _values
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableType.h
WARNING: derivative ignored for _indices
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp
WARNING: derivative ignored for _values
Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp
WARNING: derivative ignored for _indices
WARNING: derivative ignored for _values
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp
Skipped writing torch/csrc/autograd/generated/Functions.h
Skipped writing torch/csrc/autograd/generated/Functions.cpp
Skipped writing torch/csrc/autograd/generated/python_functions.h
Skipped writing torch/csrc/autograd/generated/python_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp
Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h
Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h
Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_nn_functions.h
Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h
Skipped writing torch/csrc/autograd/generated/variable_factories.h
Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp
Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp
Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp
Skipped writing torch/csrc/jit/generated/aten_interned_strings.h

Copying extension caffe2.python.caffe2_pybind11_state
Copying caffe2.python.caffe2_pybind11_state from /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so to /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so
copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so -&gt; /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python

Copying extension caffe2.python.caffe2_pybind11_state_gpu
Copying caffe2.python.caffe2_pybind11_state_gpu from /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so to /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so
copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so -&gt; /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python
running install_lib
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/prof_dag_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/metanet_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/__init__.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/torch_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/caffe2_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/predictor_consts_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/caffe2_legacy_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/hsm_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/python
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/python
copying build/lib.macosx-10.7-x86_64-3.6/torch/version.py -&gt; /anaconda3/lib/python3.6/site-packages/torch
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch_python.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.0.14.0.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_gpu.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_observers.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libiomp5.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_module_test_dynamic.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_detectron_ops_gpu.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libonnxifi.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.0.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch.1.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libc10.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libshm.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libc10_cuda.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmklml.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libonnxifi_dummy.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; /anaconda3/lib/python3.6/site-packages/torch/share/cmake/Caffe2
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/prof_dag_pb2.py to prof_dag_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/metanet_pb2.py to metanet_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/__init__.py to __init__.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/torch_pb2.py to torch_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/caffe2_pb2.py to caffe2_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/predictor_consts_pb2.py to predictor_consts_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/caffe2_legacy_pb2.py to caffe2_legacy_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/hsm_pb2.py to hsm_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/torch/version.py to version.cpython-36.pyc
running install_egg_info
running egg_info
writing torch.egg-info/PKG-INFO
writing dependency_links to torch.egg-info/dependency_links.txt
writing entry points to torch.egg-info/entry_points.txt
writing top-level names to torch.egg-info/top_level.txt
reading manifest file 'torch.egg-info/SOURCES.txt'
writing manifest file 'torch.egg-info/SOURCES.txt'
removing '/anaconda3/lib/python3.6/site-packages/torch-1.0.0a0+4c11dee-py3.6.egg-info' (and everything under it)
Copying torch.egg-info to /anaconda3/lib/python3.6/site-packages/torch-1.0.0a0+4c11dee-py3.6.egg-info
running install_scripts
Installing convert-caffe2-to-onnx script to /anaconda3/bin
Installing convert-onnx-to-caffe2 script to /anaconda3/bin"><pre class="notranslate"><code class="notranslate">$ MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ python setup.py install
Building wheel torch-1.0.0a0+4c11dee
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_FBGEMM=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case "$1" in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case "$1" in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case "$1" in
+ USE_MKLDNN=1
+ shift
+ [[ 2 -gt 0 ]]
+ case "$1" in
+ USE_QNNPACK=1
+ shift
+ [[ 1 -gt 0 ]]
+ case "$1" in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Darwin == Darwin ']'
+ '[' -d /usr/local/opt/ccache/libexec ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /Users/carlos/Downloads/pytorch
+ BASE_DIR=/Users/carlos/Downloads/pytorch
+ TORCH_LIB_DIR=/Users/carlos/Downloads/pytorch/torch/lib
+ INSTALL_DIR=/Users/carlos/Downloads/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/Users/carlos/Downloads/pytorch/third_party
+ C_FLAGS=
+ C_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS=
+ LD_POSTFIX=.so
++ uname
+ [[ Darwin == \D\a\r\w\i\n ]]
+ LDFLAGS=' -Wl,-rpath,@loader_path'
+ LD_POSTFIX=.dylib
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ [[ 0 -eq 1 ]]
+ CUDA_NVCC_FLAGS=' -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=8
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
+ for arg in '"$@"'
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /anaconda3/lib/python3.6/site-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")
+ [[ 1 -eq 1 ]]
+ cmake /Users/carlos/Downloads/pytorch -DPYTHON_EXECUTABLE=/anaconda3/bin/python -DPYTHON_LIBRARY=/anaconda3/lib/libpython3.6m.dylib -DPYTHON_INCLUDE_DIR=/anaconda3/include/python3.6m -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+4c11dee -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_FBGEMM=0 -DUSE_NUMPY= -DNUMPY_INCLUDE_DIR=/anaconda3/lib/python3.6/site-packages/numpy/core/include -DUSE_SYSTEM_NCCL=OFF -DNCCL_INCLUDE_DIR= -DNCCL_ROOT_DIR= -DNCCL_SYSTEM_LIB= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR=/usr/local/cuda/include -DCUDNN_LIB_DIR=/usr/local/cuda/lib -DCUDNN_LIBRARY=/usr/local/cuda/lib/libcudnn.7.dylib -DUSE_MKLDNN=1 -DNCCL_EXTERNAL=1 -DCMAKE_INSTALL_PREFIX=/Users/carlos/Downloads/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS= -Wl,-rpath,@loader_path ' '-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-rpath,@loader_path ' -DTHD_SO_VERSION=1 -DCMAKE_PREFIX_PATH=/anaconda3/lib/python3.6/site-packages
-- CLANG_VERSION_STRING:         9.1
-- std::exception_ptr is supported.
-- NUMA is disabled
-- Turning off deprecation warning due to glog.
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/Users/carlos/Downloads/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt;
-- The BLAS backend of choice:MKL
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
CMake Warning at cmake/Dependencies.cmake:77 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:201 (include)


-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [Accelerate]
--   Library Accelerate: /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Accelerate.framework
-- This BLAS uses the F2C return conventions
-- Found a library with BLAS API (accelerate).
-- Brace yourself, we are building NNPACK
-- Found PythonInterp: /anaconda3/bin/python (found version "3.6.6") 
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Using third party subdirectory Eigen.
Python 3.6.6 :: Anaconda custom (64-bit)
-- Found PythonInterp: /anaconda3/bin/python (found suitable version "3.6.6", minimum required is "2.7") 
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) 
-- Using third_party/pybind11.
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "7.0") 
-- Caffe2: CUDA detected: 10.0
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 10.0
-- Found cuDNN: v7.4.1  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib/libcudnn.7.dylib)
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX
-- Added CUDA NVCC flags for: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_70,code=compute_70
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR) 
-- 
-- ******** Summary ********
--   CMake version         : 3.13.0
--   CMake command         : /anaconda3/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/bin/cmake
--   System                : Darwin
--   C++ compiler          : /Library/Developer/CommandLineTools/usr/bin/clang++
--   C++ compiler version  : 9.1.0.9020039
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations
--   Build type            : Release
--   Compile definitions   : 
--   CMAKE_PREFIX_PATH     : /anaconda3/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
--   CMAKE_MODULE_PATH     : /Users/carlos/Downloads/pytorch/cmake/Modules;/Users/carlos/Downloads/pytorch/cmake/public/../Modules_CUDA_fix
-- 
--   ONNX version          : 1.3.0
--   ONNX NAMESPACE        : onnx_torch
--   ONNX_BUILD_TESTS      : OFF
--   ONNX_BUILD_BENCHMARKS : OFF
--   ONNX_USE_LITE_PROTO   : OFF
--   ONNXIFI_DUMMY_BACKEND : OFF
-- 
--   Protobuf compiler     : 
--   Protobuf includes     : 
--   Protobuf libraries    : 
--   BUILD_ONNX_PYTHON     : OFF
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- MAGMA not found. Compiling without MAGMA support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- AVX compiler support found
-- AVX2 compiler support found
-- Atomics: using GCC intrinsics
-- Found a library with LAPACK API. (accelerate)
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "5.5") 
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
CMake Deprecation Warning at third_party/ideep/mkl-dnn/CMakeLists.txt:21 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at third_party/ideep/mkl-dnn/CMakeLists.txt:22 (cmake_policy):
  The OLD behavior for policy CMP0054 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Detecting Intel(R) MKL: trying mklml_intel
-- Intel(R) MKL: include /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/include
-- Intel(R) MKL: lib /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/lib/libmklml.dylib
-- Intel(R) MKL: OpenMP lib /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn/external/mklml_mac_2018.0.3.20180406/lib/libiomp5.dylib
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- VTune profiling environment is unset
CMake Warning (dev) at cmake/public/mkldnn.cmake:1 (find_package):
  Policy CMP0074 is not set: find_package uses &lt;PackageName&gt;_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MKLDNN_ROOT is set to:

    /Users/carlos/Downloads/pytorch/third_party/ideep/mkl-dnn

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

-- Using python found in /anaconda3/bin/python
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Configuring build for SLEEF-v3.2
   Target system: Darwin-18.2.0
   Target processor: x86_64
   Host system: Darwin-18.2.0
   Host processor: x86_64
   Detected C compiler: AppleClang @ /Library/Developer/CommandLineTools/usr/bin/clang
-- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef
-- Building shared libs : OFF
-- MPFR : /usr/local/lib/libmpfr.dylib
-- MPFR header file in /usr/local/include
-- GMP : /usr/local/lib/libgmp.dylib
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 
-- Using python found in /anaconda3/bin/python
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) 
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "7.5") 
-- NCCL operators skipped due to no CUDA support
-- Including IDEEP operators
-- Excluding image processing operators due to no opencv
-- Excluding video processing operators due to no opencv
-- MPI operators skipped due to no MPI support
-- Include Observer library
-- Using lib/python3.6/site-packages as python relative installation path
-- Automatically generating missing __init__.py files.
-- A previous caffe2 cmake run already created the __init__.py files.
CMake Warning at CMakeLists.txt:389 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.  Other settings may generate files that are not well
  tested.


-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.13.0
--   CMake command         : /anaconda3/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/bin/cmake
--   System                : Darwin
--   C++ compiler          : /Library/Developer/CommandLineTools/usr/bin/clang++
--   C++ compiler version  : 9.1.0.9020039
--   BLAS                  : MKL
--   CXX flags             :  -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Qunused-arguments -faligned-new -Wno-unused-private-field -Wno-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const
--   Build type            : Release
--   Compile definitions   : ONNX_NAMESPACE=onnx_torch;USE_GCC_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1
--   CMAKE_PREFIX_PATH     : /anaconda3/lib/python3.6/site-packages
--   CMAKE_INSTALL_PREFIX  : /Users/carlos/Downloads/pytorch/torch/lib/tmp_install
-- 
--   TORCH_VERSION         : 1.0.0
--   CAFFE2_VERSION        : 1.0.0
--   BUILD_ATEN_MOBILE     : OFF
--   BUILD_ATEN_ONLY       : OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 3.6.6
--     Python executable   : /anaconda3/bin/python
--     Pythonlibs version  : 3.6.6
--     Python library      : /anaconda3/lib/libpython3.6m.dylib
--     Python includes     : /anaconda3/include/python3.6m
--     Python site-packages: lib/python3.6/site-packages
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : ON
--   USE_ASAN              : OFF
--   USE_CUDA              : 1
--     CUDA static link    : 0
--     USE_CUDNN           : ON
--     CUDA version        : 10.0
--     cuDNN version       : 7.4.1
--     CUDA root directory : /usr/local/cuda
--     CUDA library        : /usr/local/cuda/lib/libcuda.dylib
--     cudart library      : /usr/local/cuda/lib/libcudart_static.a;-Wl,-rpath,/usr/local/cuda/lib
--     cublas library      : /usr/local/cuda/lib/libcublas.dylib
--     cufft library       : /usr/local/cuda/lib/libcufft.dylib
--     curand library      : /usr/local/cuda/lib/libcurand.dylib
--     cuDNN library       : /usr/local/cuda/lib/libcudnn.7.dylib
--     nvrtc               : /usr/local/cuda/lib/libnvrtc.dylib
--     CUDA include path   : /usr/local/cuda/include
--     NVCC executable     : /usr/local/cuda/bin/nvcc
--     CUDA host compiler  : /Library/Developer/CommandLineTools/usr/bin/clang
--     USE_TENSORRT        : OFF
--   USE_ROCM              : 0
--   USE_EIGEN_FOR_BLAS    : ON
--   USE_FBGEMM            : 0
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_LEVELDB           : OFF
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : OFF
--   USE_METAL             : OFF
--   USE_MKL               : OFF
--   USE_MKLDNN            : ON
--   USE_MOBILE_OPENGL     : OFF
--   USE_NCCL              : OFF
--   USE_NNPACK            : 1
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : OFF
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : 1
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : ON
--     USE_MPI             : OFF
--     USE_GLOO            : OFF
--     USE_GLOO_IBVERBS    : OFF
--   Public Dependencies  : Threads::Threads;caffe2::mkldnn
--   Private Dependencies : qnnpack;nnpack;cpuinfo;fp16;aten_op_header_gen;onnxifi_loader
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/carlos/Downloads/pytorch/build
+ make install -j8
[  0%] Built target onnxifi_loader
[  0%] Built target clog
[  0%] Built target js_embed
[  0%] Built target pthreadpool
[  0%] Built target gtest
[  1%] Built target benchmark
[  2%] Built target libprotobuf-lite
[  3%] Built target onnxifi_dummy
[  3%] Built target ATEN_CPU_FILES_GEN_TARGET
[  3%] Built target ATEN_CUDA_FILES_GEN_TARGET
[  5%] Built target c10
[  5%] Built target common
[  5%] Built target mkrename
[  5%] Built target mkdisp
[  5%] Built target mkalias
[  9%] Built target mkldnn
[ 10%] Built target mkmasked_gnuabi
[ 10%] Built target mkrename_gnuabi
[ 14%] Built target libprotobuf
[ 14%] Built target arraymap
[ 14%] Built target c10_utils_hip
[ 14%] Built target c10_utils_gpu
[ 14%] Built target torch_shm_manager
[ 14%] Built target c10_utils_cpu
[ 14%] Built target cpuinfo
[ 14%] Built target nnpack_reference_layers
[ 14%] Built target gtest_main
[ 14%] Built target onnxifi_wrapper
[ 14%] Built target __aten_op_header_gen
[ 15%] Built target headers
[ 15%] Built target benchmark_main
[ 15%] Built target renamedsp256.h_generated
[ 15%] Built target c10_cuda
[ 15%] Built target dispavx.c_generated
[ 15%] Built target renameAVX.h_generated
[ 15%] Built target renameSSE2.h_generated
[ 15%] Built target renameSSE4.h_generated
[ 15%] Built target renameFMA4.h_generated
[ 15%] Built target renameAVX2128.h_generated
[ 15%] Built target renameAVX2.h_generated
[ 15%] Built target dispsse.c_generated
[ 15%] Built target renamedsp128.h_generated
[ 15%] Built target renameAVX512F.h_generated
[ 15%] Generating alias_avx512f.h
[ 15%] Built target c10_utils_gpu_test
[ 15%] Built target c10_utils_hip_test
[ 15%] Built target c10_utils_cpu_test
[ 17%] Built target nnpack
[ 17%] Built target qnnpack
[ 17%] Built target c10_typeid_test
[ 17%] Built target c10_intrusive_ptr_test
[ 17%] Built target alias_avx512f.h_generated
[ 17%] Built target c10_TypeTraits_test
[ 18%] Built target c10_registry_test
[ 18%] Built target c10_TypeList_test
[ 18%] Built target c10_InlineStreamGuard_test
[ 18%] Built target c10_logging_test
[ 18%] Built target c10_Metaprogramming_test
[ 18%] Built target c10_InlineDeviceGuard_test
[ 18%] Built target c10_Array_test
[ 18%] Built target c10_flags_test
[ 19%] Built target c10_OpSchema_test
[ 19%] Built target c10_TensorTypeId_test
[ 19%] Built target c10_StreamGuard_test
[ 19%] Built target c10_DeviceGuard_test
[ 19%] Built target dispavx_obj
[ 19%] Built target c10_cuda_CUDATest
[ 19%] Built target sleefsse2
[ 20%] Built target sleeffma4
[ 20%] Built target sleefavx
[ 20%] Built target sleefsse4
[ 20%] Built target sleefavx2128
[ 20%] Built target sleefavx2
[ 21%] Built target dispsse_obj
[ 21%] Built target sleefavx512f
[ 26%] Built target libprotoc
[ 26%] Built target sleef
[ 26%] Built target protoc
[ 27%] Built target gen_onnx_proto
[ 27%] Built target Caffe2_PROTO
[ 27%] Built target onnx_proto
[ 27%] Built target caffe2_protos
[ 28%] Built target Caffe2_perfkernels_avx
[ 28%] Built target Caffe2_perfkernels_avx2
[ 30%] Built target onnx
[ 59%] Built target caffe2
[ 59%] Built target shm
[ 59%] Built target caffe2_module_test_dynamic
[ 59%] Built target caffe2_observers
[ 59%] Built target caffe2_pybind11_state
[ 60%] Built target THD
[ 60%] Linking CXX shared library ../lib/libcaffe2_gpu.dylib
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/caffe2_gpu.dir/operators/rnn/recurrent_op_cudnn.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 60%] Built target python_copy_files
[ 80%] Built target caffe2_gpu
[ 80%] Linking CXX executable ../bin/batch_matmul_op_gpu_test
[ 80%] Linking CXX executable ../bin/operator_fallback_gpu_test
[ 80%] Linking CXX executable ../bin/operator_gpu_test
[ 80%] Linking CXX executable ../bin/conv_op_cache_cudnn_test
[ 80%] Linking CXX executable ../bin/utility_ops_gpu_test
[ 80%] Linking CXX executable ../bin/roi_align_op_gpu_test
[ 80%] Linking CXX executable ../bin/elementwise_op_gpu_test
[ 81%] Linking CXX shared module python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so
[ 81%] Built target conv_op_cache_cudnn_test
[ 81%] Built target operator_gpu_test
[ 81%] Built target batch_matmul_op_gpu_test
[ 81%] Built target elementwise_op_gpu_test
[ 81%] Built target utility_ops_gpu_test
[ 81%] Built target operator_fallback_gpu_test
[ 81%] Built target roi_align_op_gpu_test
[ 81%] Built target caffe2_pybind11_state_gpu
[ 81%] Linking CXX executable ../bin/net_gpu_test
[ 81%] Linking CXX executable ../bin/context_gpu_test
[ 81%] Linking CXX executable ../bin/blob_gpu_test
[ 81%] Linking CXX executable ../bin/dead_code_elim_test
[ 81%] Linking CXX executable ../bin/cudnn_test
[ 81%] Linking CXX executable ../bin/conv_to_nnpack_transform_test
[ 81%] Linking CXX executable ../bin/cuda_rng_test
[ 81%] Linking CXX executable ../bin/depthwise3x3_conv_op_test
[ 81%] Built target conv_to_nnpack_transform_test
[ 81%] Built target dead_code_elim_test
[ 81%] Built target cudnn_test
[ 81%] Built target cuda_rng_test
[ 81%] Built target context_gpu_test
[ 81%] Built target depthwise3x3_conv_op_test
[ 81%] Linking CXX executable ../bin/nnpack_test
[ 81%] Linking CXX executable ../bin/distributed_test
[ 81%] Linking CXX executable ../bin/converter_nomigraph_test
[ 81%] Built target net_gpu_test
[ 81%] Linking CXX executable ../bin/backend_cutting_test
[ 81%] Linking CXX executable ../bin/blob_test
[ 81%] Linking CXX executable ../bin/integer_divider_test
[ 81%] Built target blob_gpu_test
[ 81%] Linking CXX executable ../bin/int8_roi_align_op_test
[ 81%] Linking CXX executable ../bin/workspace_test
[ 82%] Built target distributed_test
[ 82%] Built target converter_nomigraph_test
[ 82%] Built target backend_cutting_test
[ 82%] Built target nnpack_test
[ 82%] Built target integer_divider_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/blob_test.dir/core/blob_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 82%] Built target int8_roi_align_op_test
Scanning dependencies of target cuda_optional_test
[ 82%] Linking CXX executable ../bin/utility_ops_test
[ 82%] Linking CXX executable ../bin/int8_test
[ 82%] Linking CXX executable ../bin/fatal_signal_asan_no_sig_test
[ 82%] Built target workspace_test
[ 82%] Linking CXX executable ../bin/cuda_optional_test
[ 82%] Linking CXX executable ../bin/test_parallel
[ 82%] Linking CXX executable ../bin/generate_proposals_op_util_nms_test
[ 82%] Built target blob_test
[ 82%] Linking CXX executable ../bin/boolean_unmask_ops_test
[ 82%] Linking CXX executable ../bin/conv_transpose_op_mobile_test
[ 82%] Built target test_parallel
[ 82%] Built target fatal_signal_asan_no_sig_test
[ 82%] Built target int8_test
[ 82%] Built target cuda_optional_test
[ 82%] Built target generate_proposals_op_util_nms_test
[ 83%] Linking CXX executable ../bin/scalar_test
[ 83%] Linking CXX executable ../bin/ssa_test
[ 83%] Built target boolean_unmask_ops_test
[ 83%] Linking CXX executable ../bin/batch_matmul_op_test
[ 83%] Built target utility_ops_test
[ 83%] Linking CXX executable ../bin/operator_schema_test
[ 83%] Built target conv_transpose_op_mobile_test
[ 84%] Linking CXX executable ../bin/time_observer_test
[ 84%] Linking CXX executable ../bin/wrapdim_test
[ 84%] Linking CXX executable ../bin/timer_test
[ 84%] Linking CXX executable ../bin/inline_container_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_schema_test.dir/core/operator_schema_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_schema_test.dir/core/operator_schema_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 84%] Built target scalar_test
[ 84%] Built target wrapdim_test
[ 84%] Built target batch_matmul_op_test
[ 84%] Built target time_observer_test
[ 84%] Built target timer_test
[ 84%] Built target operator_schema_test
[ 84%] Linking CXX executable ../bin/common_test
[ 84%] Built target ssa_test
[ 84%] Linking CXX executable ../bin/TopoSortTest
[ 84%] Linking CXX executable ../bin/TarjansImplTest
[ 84%] Linking CXX executable ../bin/SubgraphMatcherTest
[ 84%] Built target inline_container_test
[ 84%] Linking CXX executable ../bin/cpuid_test
[ 84%] Linking CXX executable ../bin/NeuralNetTest
[ 84%] Linking CXX executable ../bin/simple_queue_test
[ 84%] Linking CXX executable ../bin/apply_test
[ 84%] Built target TarjansImplTest
[ 84%] Built target cpuid_test
[ 84%] Built target TopoSortTest
[ 84%] Built target common_test
[ 84%] Built target NeuralNetTest
[ 84%] Built target SubgraphMatcherTest
[ 84%] Built target simple_queue_test
[ 84%] Built target apply_test
[ 84%] Linking CXX executable ../bin/MatchTest
[ 84%] Linking CXX executable ../bin/stream_test
[ 84%] Linking CXX executable ../bin/GraphTest
[ 84%] Linking CXX executable ../bin/common_subexpression_elimination_test
[ 84%] Linking CXX executable ../bin/BinaryMatchImplTest
[ 84%] Linking CXX executable ../bin/AlgorithmsTest
[ 84%] Linking CXX executable ../bin/observer_test
[ 84%] Linking CXX executable ../bin/device_test
[ 84%] Built target BinaryMatchImplTest
[ 84%] Built target common_subexpression_elimination_test
[ 84%] Built target AlgorithmsTest
[ 84%] Built target GraphTest
[ 84%] Built target device_test
[ 84%] Built target observer_test
[ 84%] Built target MatchTest
[ 84%] Built target stream_test
[ 84%] Linking CXX executable ../bin/cast_test
[ 85%] Linking CXX executable ../bin/predictor_test
[ 85%] Linking CXX executable ../bin/proto_utils_test
[ 85%] Linking CXX executable ../bin/reshape_op_gpu_test
[ 85%] Linking CXX executable ../bin/event_gpu_test
[ 85%] Linking CXX executable ../bin/math_test
[ 85%] Linking CXX executable ../bin/transform_test
[ 85%] Linking CXX executable ../bin/verify_api_visibility
[ 85%] Built target verify_api_visibility
[ 85%] Built target proto_utils_test
[ 85%] Built target math_test
[ 85%] Built target transform_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/cast_test.dir/utils/cast_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 85%] Built target event_gpu_test
[ 85%] Built target reshape_op_gpu_test
[ 85%] Linking CXX executable ../bin/operator_test
[ 85%] Built target predictor_test
[ 85%] Linking CXX executable ../bin/fixed_divisor_test
[ 85%] Linking CXX executable ../bin/pattern_net_transform_test
[ 85%] Linking CXX executable ../bin/net_simple_refcount_test
[ 85%] Built target cast_test
[ 85%] Linking CXX executable ../bin/scalar_tensor_test
[ 86%] Linking CXX executable ../bin/atest
[ 86%] Linking CXX executable ../bin/module_test
[ 86%] Linking CXX executable ../bin/init_test
[ 86%] Built target net_simple_refcount_test
[ 86%] Built target fixed_divisor_test
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_test.dir/core/operator_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/operator_test.dir/core/operator_test.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 86%] Built target pattern_net_transform_test
[ 86%] Built target scalar_tensor_test
[ 86%] Built target atest
[ 86%] Built target init_test
[ 86%] Built target module_test
[ 86%] Built target operator_test
Scanning dependencies of target cuda_half_test
[ 86%] Linking CXX executable ../bin/apply_utils_test
[ 86%] Linking CXX executable ../bin/generate_proposals_op_util_boxes_test
[ 86%] Linking CXX executable ../bin/event_test
[ 86%] Linking CXX executable ../bin/graph_test
[ 86%] Linking CXX executable ../bin/context_test
[ 86%] Linking CXX executable ../bin/basic
[ 87%] Linking CXX executable ../bin/cuda_half_test
[ 87%] Linking CXX executable ../bin/smart_tensor_printer_test
[ 87%] Built target event_test
[ 87%] Built target context_test
[ 87%] Built target basic
[ 87%] Built target apply_utils_test
[ 87%] Built target graph_test
[ 87%] Built target generate_proposals_op_util_boxes_test
[ 87%] Built target smart_tensor_printer_test
[ 87%] Built target cuda_half_test
[ 87%] Linking CXX executable ../bin/tbb_init_test
[ 87%] Linking CXX executable ../bin/undefined_tensor_test
[ 87%] Linking CXX executable ../bin/half_test
[ 87%] Linking CXX executable ../bin/native_test
[ 87%] Linking CXX executable ../bin/weakref_test
[ 87%] Linking CXX executable ../bin/math_gpu_test
[ 87%] Linking CXX executable ../bin/string_ops_test
[ 87%] Linking CXX executable ../bin/dlconvertor_test
[ 87%] Built target weakref_test
[ 87%] Built target undefined_tensor_test
[ 87%] Built target half_test
[ 87%] Built target native_test
[ 87%] Built target dlconvertor_test
[ 88%] Linking CXX executable ../bin/net_test
[ 88%] Built target tbb_init_test
[ 88%] Built target string_ops_test
[ 88%] Built target math_gpu_test
[ 88%] Linking CXX executable ../bin/stats_test
[ 88%] Linking CXX executable ../bin/elementwise_op_test
[ 88%] Linking CXX executable ../bin/text_file_reader_utils_test
Scanning dependencies of target cuda_packedtensoraccessor_test
[ 88%] Linking CXX executable ../bin/mobile_test
[ 88%] Linking CXX executable ../bin/net_dag_utils_test
[ 88%] Linking CXX executable ../bin/cuda_packedtensoraccessor_test
[ 88%] Linking CXX executable ../bin/generate_proposals_op_test
[ 88%] Built target stats_test
[ 88%] Built target text_file_reader_utils_test
[ 88%] Built target elementwise_op_test
[ 88%] Built target mobile_test
[ 88%] Built target net_dag_utils_test
[ 88%] Built target generate_proposals_op_test
[ 88%] Linking CXX executable ../bin/net_async_tracing_test
[ 88%] Linking CXX executable ../bin/parallel_net_test
[ 88%] Linking CXX executable ../bin/broadcast_test
[ 88%] Built target net_test
[ 88%] Built target cuda_packedtensoraccessor_test
[ 88%] Built target net_async_tracing_test
[ 88%] Built target broadcast_test
[ 88%] Built target parallel_net_test
[ 88%] Linking CXX shared library ../../lib/libcaffe2_detectron_ops_gpu.dylib
[ 88%] Linking CXX shared library ../../lib/libtorch.dylib
[ 89%] Built target caffe2_detectron_ops_gpu
ld: warning: direct access in function 'google::protobuf::internal::ExtensionSet::MutableString(int, unsigned char, google::protobuf::FieldDescriptor const*)' from file '../../lib/libprotobuf.a(extension_set.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::internal::GenericTypeHandler&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt; &gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../../lib/libprotobuf.a(generated_message_reflection.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler::Type*, google::protobuf::Arena*, google::protobuf::Arena*)' from file '../../lib/libprotobuf.a(message.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'void google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;google::protobuf::RepeatedPtrField&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;::TypeHandler&gt;(google::protobuf::internal::RepeatedPtrFieldBase const&amp;)' from file '../../lib/libprotobuf.a(type.pb.cc.o)' to global weak symbol 'void google::protobuf::internal::arena_destruct_object&lt;std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; &gt;(void*)' from file 'CMakeFiles/torch.dir/csrc/jit/export.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 94%] Built target torch
[ 94%] Linking CXX executable ../bin/test_jit
[ 95%] Linking CXX executable ../bin/test_api
[ 95%] Built target test_jit
[ 96%] Built target test_api
[ 96%] Linking CXX shared library ../../lib/libtorch_python.dylib
[100%] Built target torch_python
Install the project...
-- Install configuration: "Release"
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(arenastring.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(atomicops_internals_x86_msvc.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a(io_win32.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(arenastring.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(atomicops_internals_x86_msvc.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(io_win32.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(gzip_stream.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a(error_listener.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx.a(defs.cc.o) has no symbols
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_DeviceGuard_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_StreamGuard_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TensorTypeId_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_OpSchema_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_flags_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_InlineDeviceGuard_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_InlineStreamGuard_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_logging_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_registry_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_Array_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_Metaprogramming_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TypeList_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_TypeTraits_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_intrusive_ptr_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_typeid_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_cuda_CUDATest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_utils_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_utils_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/basic (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/basic (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/atest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/atest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/half_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/half_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/broadcast_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/broadcast_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/wrapdim_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/wrapdim_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dlconvertor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dlconvertor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/native_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/native_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_tensor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/scalar_tensor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/test_parallel (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/test_parallel (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/undefined_tensor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/undefined_tensor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/verify_api_visibility (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/verify_api_visibility (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/tbb_init_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/tbb_init_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/weakref_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/weakref_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/graph_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/graph_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/init_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/init_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/module_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/module_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_async_tracing_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_async_tracing_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_dag_utils_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_dag_utils_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_simple_refcount_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_simple_refcount_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/observer_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/observer_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_schema_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_schema_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/parallel_net_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/parallel_net_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stats_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stats_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/timer_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/timer_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/transform_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/transform_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/workspace_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/workspace_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fixed_divisor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fixed_divisor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fatal_signal_asan_no_sig_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/fatal_signal_asan_no_sig_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/simple_queue_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/simple_queue_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/proto_utils_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/proto_utils_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cpuid_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cpuid_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/smart_tensor_printer_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/smart_tensor_printer_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cast_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cast_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/predictor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/predictor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/AlgorithmsTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/AlgorithmsTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/BinaryMatchImplTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/BinaryMatchImplTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/GraphTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/GraphTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/MatchTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/MatchTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/NeuralNetTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/NeuralNetTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/SubgraphMatcherTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/SubgraphMatcherTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TarjansImplTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TarjansImplTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TopoSortTest (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/TopoSortTest (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/inline_container_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/inline_container_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/time_observer_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/time_observer_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/ssa_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/ssa_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/boolean_unmask_ops_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/boolean_unmask_ops_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_transpose_op_mobile_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_transpose_op_mobile_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_boxes_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_boxes_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_nms_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/generate_proposals_op_util_nms_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/string_ops_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/string_ops_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/text_file_reader_utils_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/text_file_reader_utils_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_roi_align_op_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/int8_roi_align_op_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/backend_cutting_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/backend_cutting_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/converter_nomigraph_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/converter_nomigraph_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dead_code_elim_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/dead_code_elim_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/device_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/device_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/distributed_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/distributed_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/mobile_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/mobile_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/nnpack_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/nnpack_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/depthwise3x3_conv_op_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/depthwise3x3_conv_op_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_subexpression_elimination_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/common_subexpression_elimination_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_to_nnpack_transform_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_to_nnpack_transform_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/pattern_net_transform_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/pattern_net_transform_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/integer_divider_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_rng_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/apply_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/stream_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_half_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_optional_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cuda_packedtensoraccessor_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/cudnn_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/blob_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/context_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/event_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/net_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/math_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/conv_op_cache_cudnn_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/batch_matmul_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/elementwise_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/operator_fallback_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/reshape_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/roi_align_op_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/utility_ops_gpu_test (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin/torch_shm_manager (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_cpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_gpu_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/test/c10_utils_hip_test (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib (for architecture x86_64) option "-add_rpath @loader_path" would duplicate path, file already has LC_RPATH for: @loader_path
+ ls build.ninja
ls: build.ninja: No such file or directory
+ [[ ON == \O\N ]]
++ pwd
++ cd ..
++ pwd
+ echo 'Copying Caffe2 proto files from /Users/carlos/Downloads/pytorch/build/caffe2/proto to  /Users/carlos/Downloads/pytorch/caffe2/proto'
Copying Caffe2 proto files from /Users/carlos/Downloads/pytorch/build/caffe2/proto to  /Users/carlos/Downloads/pytorch/caffe2/proto
++ find caffe2/proto
+ echo 'All the files in caffe2/proto are caffe2/proto
caffe2/proto/caffe2_legacy.pb.cc
caffe2/proto/prof_dag_pb2.py
caffe2/proto/hsm.pb.cc
caffe2/proto/torch.pb.cc
caffe2/proto/CMakeFiles
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/DependInfo.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.internal
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/cmake_clean.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/progress.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/CXX.includecache
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/flags.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
caffe2/proto/CMakeFiles/progress.marks
caffe2/proto/CMakeFiles/CMakeDirectoryInformation.cmake
caffe2/proto/Makefile
caffe2/proto/hsm.pb.h
caffe2/proto/metanet.pb.cc
caffe2/proto/cmake_install.cmake
caffe2/proto/metanet_pb2.py
caffe2/proto/caffe2_legacy.pb.h
caffe2/proto/__init__.py
caffe2/proto/CTestTestfile.cmake
caffe2/proto/predictor_consts.pb.cc
caffe2/proto/metanet.pb.h
caffe2/proto/torch.pb.h
caffe2/proto/prof_dag.pb.cc
caffe2/proto/torch_pb2.py
caffe2/proto/caffe2_pb2.py
caffe2/proto/predictor_consts_pb2.py
caffe2/proto/caffe2.pb.cc
caffe2/proto/caffe2_legacy_pb2.py
caffe2/proto/caffe2.pb.h
caffe2/proto/hsm_pb2.py
caffe2/proto/predictor_consts.pb.h
caffe2/proto/prof_dag.pb.h'
All the files in caffe2/proto are caffe2/proto
caffe2/proto/caffe2_legacy.pb.cc
caffe2/proto/prof_dag_pb2.py
caffe2/proto/hsm.pb.cc
caffe2/proto/torch.pb.cc
caffe2/proto/CMakeFiles
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/DependInfo.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.internal
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/cmake_clean.cmake
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/progress.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/CXX.includecache
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/flags.make
caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
caffe2/proto/CMakeFiles/progress.marks
caffe2/proto/CMakeFiles/CMakeDirectoryInformation.cmake
caffe2/proto/Makefile
caffe2/proto/hsm.pb.h
caffe2/proto/metanet.pb.cc
caffe2/proto/cmake_install.cmake
caffe2/proto/metanet_pb2.py
caffe2/proto/caffe2_legacy.pb.h
caffe2/proto/__init__.py
caffe2/proto/CTestTestfile.cmake
caffe2/proto/predictor_consts.pb.cc
caffe2/proto/metanet.pb.h
caffe2/proto/torch.pb.h
caffe2/proto/prof_dag.pb.cc
caffe2/proto/torch_pb2.py
caffe2/proto/caffe2_pb2.py
caffe2/proto/predictor_consts_pb2.py
caffe2/proto/caffe2.pb.cc
caffe2/proto/caffe2_legacy_pb2.py
caffe2/proto/caffe2.pb.h
caffe2/proto/hsm_pb2.py
caffe2/proto/predictor_consts.pb.h
caffe2/proto/prof_dag.pb.h
++ pwd
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/__init__.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/caffe2_legacy_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/caffe2_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/hsm_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/metanet_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/predictor_consts_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/prof_dag_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
+ for proto_file in '$(pwd)/caffe2/proto/*.py'
++ pwd
+ cp /Users/carlos/Downloads/pytorch/build/caffe2/proto/torch_pb2.py /Users/carlos/Downloads/pytorch/build/../caffe2/proto/
++ uname
+ [[ Darwin == \D\a\r\w\i\n ]]
+ echo 'Updating all install_names in /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib'
Updating all install_names in /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib
+ pushd /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib
~/Downloads/pytorch/torch/lib/tmp_install/lib ~/Downloads/pytorch/build
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib
+ install_name_tool -id @rpath/libc10.dylib libc10.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib
+ install_name_tool -id @rpath/libc10_cuda.dylib libc10_cuda.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib
+ install_name_tool -id @rpath/libcaffe2.dylib libcaffe2.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib
+ install_name_tool -id @rpath/libcaffe2_detectron_ops_gpu.dylib libcaffe2_detectron_ops_gpu.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib
+ install_name_tool -id @rpath/libcaffe2_gpu.dylib libcaffe2_gpu.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib
+ install_name_tool -id @rpath/libcaffe2_module_test_dynamic.dylib libcaffe2_module_test_dynamic.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib
+ install_name_tool -id @rpath/libcaffe2_observers.dylib libcaffe2_observers.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib
+ install_name_tool -id @rpath/libiomp5.dylib libiomp5.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib
+ install_name_tool -id @rpath/libmkldnn.0.14.0.dylib libmkldnn.0.14.0.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib
+ install_name_tool -id @rpath/libmkldnn.0.dylib libmkldnn.0.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib
+ install_name_tool -id @rpath/libmkldnn.dylib libmkldnn.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib
+ install_name_tool -id @rpath/libmklml.dylib libmklml.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib
+ install_name_tool -id @rpath/libonnxifi.dylib libonnxifi.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib
+ install_name_tool -id @rpath/libonnxifi_dummy.dylib libonnxifi_dummy.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib
+ install_name_tool -id @rpath/libshm.dylib libshm.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib
+ install_name_tool -id @rpath/libtorch.1.dylib libtorch.1.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib
+ install_name_tool -id @rpath/libtorch.dylib libtorch.dylib
+ for lib in '*.dylib'
++ pwd
+ echo 'Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib'
Updating install_name for /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib
+ install_name_tool -id @rpath/libtorch_python.dylib libtorch_python.dylib
+ popd
~/Downloads/pytorch/build
+ pushd /Users/carlos/Downloads/pytorch/torch/lib
~/Downloads/pytorch/torch/lib ~/Downloads/pytorch/build
++ date
+ echo 'tools/build_pytorch_libs.sh succeeded at Sat Dec  1 17:57:01 EST 2018'
tools/build_pytorch_libs.sh succeeded at Sat Dec  1 17:57:01 EST 2018
+ echo 'removing /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake and /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python'
removing /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake and /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python
+ rm -rf /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/cmake
+ rm -rf /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libTHD.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libc10_cuda.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_detectron_ops_gpu.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_gpu.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_module_test_dynamic.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcaffe2_observers.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libclog.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libcpuinfo.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libiomp5.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.14.0.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.0.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmkldnn.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libmklml.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libnnpack.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnx_proto.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_dummy.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libonnxifi_loader.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf-lite.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotobuf.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libprotoc.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libpthreadpool.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libqnnpack.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libsleef.a /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.1.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/libtorch_python.dylib /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/pkgconfig /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6 .
+ '[' -d /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib64/ ']'
++ cd ../..
++ pwd
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/aten/src/generic/THNN.h to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/aten/src/generic/THNN.h to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD ../../aten/src/THNN/generic/THNN.h .
+ rsync -lptgoD ../../aten/src/THCUNN/generic/THCUNN.h .
++ pwd
+ echo 'Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include to /Users/carlos/Downloads/pytorch/torch/lib'
Copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include to /Users/carlos/Downloads/pytorch/torch/lib
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/include .
+ '[' -d /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin/ ']'
+ rsync -lptgoD -r /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin//protoc /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/bin//torch_shm_manager .
+ popd
~/Downloads/pytorch/build
copying torch/lib/tmp_install/share/cmake/ONNX/ONNXTargets-release.cmake -&gt; torch/share/cmake/ONNX
copying torch/lib/tmp_install/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; torch/share/cmake/Caffe2
running build
running build_py
setup.py::build_py::run()
running create_version_file
-- Building version 1.0.0a0+4c11dee
copying torch/version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/torch
copying caffe2/proto/prof_dag_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/metanet_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/torch_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/caffe2_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/predictor_consts_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/caffe2_legacy_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying caffe2/proto/hsm_pb2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/caffe2/proto
copying torch/lib/libtorch_python.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.0.14.0.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libtorch.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_gpu.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_observers.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libiomp5.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_module_test_dynamic.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libcaffe2_detectron_ops_gpu.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libonnxifi.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmkldnn.0.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libtorch.1.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libc10.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libshm.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libc10_cuda.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libmklml.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libonnxifi_dummy.dylib -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; build/lib.macosx-10.7-x86_64-3.6/torch/share/cmake/Caffe2
running build_ext
-- Building with NumPy bindings
-- Detected cuDNN at /usr/local/cuda/lib/libcudnn.7.dylib, /usr/local/cuda/include
-- Not using MIOpen
-- Detected CUDA at /usr/local/cuda
-- Using MKLDNN
-- Not using NCCL
-- Building with THD distributed package 
-- Building without c10d distributed package
Skipped writing torch/csrc/nn/THNN.cpp
Skipped writing torch/csrc/nn/THCUNN.cpp
WARNING: derivative ignored for _indices
WARNING: derivative ignored for _values
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableType.h
WARNING: derivative ignored for _indices
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp
WARNING: derivative ignored for _values
Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp
WARNING: derivative ignored for _indices
WARNING: derivative ignored for _values
WARNING: derivative ignored for indices
Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp
Skipped writing torch/csrc/autograd/generated/Functions.h
Skipped writing torch/csrc/autograd/generated/Functions.cpp
Skipped writing torch/csrc/autograd/generated/python_functions.h
Skipped writing torch/csrc/autograd/generated/python_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp
Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h
Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h
Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp
Skipped writing torch/csrc/autograd/generated/python_nn_functions.h
Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h
Skipped writing torch/csrc/autograd/generated/variable_factories.h
Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp
Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp
Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp
Skipped writing torch/csrc/jit/generated/aten_interned_strings.h

Copying extension caffe2.python.caffe2_pybind11_state
Copying caffe2.python.caffe2_pybind11_state from /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so to /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so
copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so -&gt; /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python

Copying extension caffe2.python.caffe2_pybind11_state_gpu
Copying caffe2.python.caffe2_pybind11_state_gpu from /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so to /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so
copying /Users/carlos/Downloads/pytorch/torch/lib/tmp_install/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so -&gt; /Users/carlos/Downloads/pytorch/build/lib.macosx-10.7-x86_64-3.6/caffe2/python
running install_lib
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/prof_dag_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/metanet_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/__init__.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/torch_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/caffe2_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/predictor_consts_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/caffe2_legacy_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/proto/hsm_pb2.py -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/proto
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-darwin.so -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/python
copying build/lib.macosx-10.7-x86_64-3.6/caffe2/python/caffe2_pybind11_state.cpython-36m-darwin.so -&gt; /anaconda3/lib/python3.6/site-packages/caffe2/python
copying build/lib.macosx-10.7-x86_64-3.6/torch/version.py -&gt; /anaconda3/lib/python3.6/site-packages/torch
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch_python.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.0.14.0.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_gpu.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_observers.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libiomp5.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_module_test_dynamic.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libcaffe2_detectron_ops_gpu.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libonnxifi.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmkldnn.0.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libtorch.1.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libc10.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libshm.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libc10_cuda.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libmklml.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/lib/libonnxifi_dummy.dylib -&gt; /anaconda3/lib/python3.6/site-packages/torch/lib
copying build/lib.macosx-10.7-x86_64-3.6/torch/share/cmake/Caffe2/Caffe2Targets-release.cmake -&gt; /anaconda3/lib/python3.6/site-packages/torch/share/cmake/Caffe2
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/prof_dag_pb2.py to prof_dag_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/metanet_pb2.py to metanet_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/__init__.py to __init__.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/torch_pb2.py to torch_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/caffe2_pb2.py to caffe2_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/predictor_consts_pb2.py to predictor_consts_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/caffe2_legacy_pb2.py to caffe2_legacy_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/caffe2/proto/hsm_pb2.py to hsm_pb2.cpython-36.pyc
byte-compiling /anaconda3/lib/python3.6/site-packages/torch/version.py to version.cpython-36.pyc
running install_egg_info
running egg_info
writing torch.egg-info/PKG-INFO
writing dependency_links to torch.egg-info/dependency_links.txt
writing entry points to torch.egg-info/entry_points.txt
writing top-level names to torch.egg-info/top_level.txt
reading manifest file 'torch.egg-info/SOURCES.txt'
writing manifest file 'torch.egg-info/SOURCES.txt'
removing '/anaconda3/lib/python3.6/site-packages/torch-1.0.0a0+4c11dee-py3.6.egg-info' (and everything under it)
Copying torch.egg-info to /anaconda3/lib/python3.6/site-packages/torch-1.0.0a0+4c11dee-py3.6.egg-info
running install_scripts
Installing convert-caffe2-to-onnx script to /anaconda3/bin
Installing convert-onnx-to-caffe2 script to /anaconda3/bin
</code></pre></div>
<h2 dir="auto">Environment</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collecting environment information...
PyTorch version: 1.0.0a0+4c11dee
Is debug build: No
CUDA used to build PyTorch: 10.0

OS: Mac OSX 10.14.1
GCC version: Could not collect
CMake version: version 3.13.0

Python version: 3.6
Is CUDA available: No
CUDA runtime version: 10.0.130
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/local/cuda/lib/libcudnn.7.dylib
/usr/local/cuda/lib/libcudnn.dylib
/usr/local/cuda/lib/libcudnn_static.a

Versions of relevant libraries:
[pip] Could not collect
[conda] torch                     1.0.0a0+4c11dee           &lt;pip&gt;
[conda] torchvision               0.2.0                     &lt;pip&gt;"><pre class="notranslate"><code class="notranslate">Collecting environment information...
PyTorch version: 1.0.0a0+4c11dee
Is debug build: No
CUDA used to build PyTorch: 10.0

OS: Mac OSX 10.14.1
GCC version: Could not collect
CMake version: version 3.13.0

Python version: 3.6
Is CUDA available: No
CUDA runtime version: 10.0.130
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/local/cuda/lib/libcudnn.7.dylib
/usr/local/cuda/lib/libcudnn.dylib
/usr/local/cuda/lib/libcudnn_static.a

Versions of relevant libraries:
[pip] Could not collect
[conda] torch                     1.0.0a0+4c11dee           &lt;pip&gt;
[conda] torchvision               0.2.0                     &lt;pip&gt;
</code></pre></div>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): 1.0.0a0+4c11dee</li>
<li>OS (e.g., Linux): Mac OSX 10.14.1</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): source</li>
<li>Build command you used (if compiling from source): <code class="notranslate">MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ python setup.py install</code></li>
<li>Python version: 3.6</li>
<li>CUDA/cuDNN version: CUDA 10.0.130, cuDNN 7.4.1</li>
<li>GPU models and configuration: NVIDIA GeForce GT 750M</li>
</ul>
<p dir="auto">Hi,<br>
I have the same problem as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="605193793" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/37124" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/37124/hovercard" href="https://github.com/pytorch/pytorch/issues/37124">#37124</a>  <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="608757641" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/37481" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/37481/hovercard" href="https://github.com/pytorch/pytorch/issues/37481">#37481</a>  <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="611495192" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/37741" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/37741/hovercard" href="https://github.com/pytorch/pytorch/issues/37741">#37741</a>. Now I try to create a dll by using libtorch library to provide a function for others. When I test the dll, I found I must add -INCLUDE:?warp_size@cuda@at@@YAHXZ if want to use CUDA. But it's not convenient for others to use dll. So can someone help me solve this?<br>
Also I want to know if these two methods can solve this:<br>
1.Use Cmake to create the VS project and  then generate dll, is it different with now?<br>
2.Use other version of libtorch(now 1.5) can help?<br>
Thank for help.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yf225/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yf225">@yf225</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/glaringlee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/glaringlee">@glaringlee</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/peterjc123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/peterjc123">@peterjc123</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/maxluk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maxluk">@maxluk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nbcsm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nbcsm">@nbcsm</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guyang3532/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guyang3532">@guyang3532</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gunandrose4u/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gunandrose4u">@gunandrose4u</a> @smartcat2010 <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mszhanyi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mszhanyi">@mszhanyi</a></p>