Issue 1:
🐛 Bug

I'm trying to build on a system with a Radeon VII and Ryzen 3800x running Ubuntu 19.04 with ROCm installed from AMD's repository as described here (without dkms, just using the upstream kernel and udev rules as outlined). I see the following when I try to build:

Building wheel torch-1.3.0a0+105fbb9
-- Building version 1.3.0a0+105fbb9
cmake -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/luke/Builds/pytorch/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3/dist-packages -DNUMPY_INCLUDE_DIR=/home/luke/.local/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.3.0a0+105fbb9 -DUSE_CUDA=False -DUSE_DISTRIBUTED=True -DUSE_LMDB=1 -DUSE_NUMPY=True -DUSE_OPENCV=1 -DUSE_ROCM=1 /home/luke/Builds/pytorch
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Not forcing any particular BLAS to be found
-- Performing Test COMPILER_WORKS
-- Performing Test COMPILER_WORKS - Success
-- Performing Test SUPPORT_GLIBCXX_USE_C99
-- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success
-- std::exception_ptr is supported.
-- Performing Test CAFFE2_IS_NUMA_AVAILABLE
-- Performing Test CAFFE2_IS_NUMA_AVAILABLE - Success
-- NUMA is available
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Success
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Caffe2 protobuf include directory: $<BUILD_INTERFACE:/home/luke/Builds/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
-- Trying to find preferred BLAS backend of choice: MKL
-- MKL_THREADING = OMP
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- MKL_THREADING = OMP
CMake Warning at cmake/Dependencies.cmake:143 (message):
MKL could not be found. Defaulting to Eigen
Call Stack (most recent call first):
CMakeLists.txt:308 (include)

CMake Warning at cmake/Dependencies.cmake:162 (message):
Preferred BLAS (MKL) cannot be found, now searching for a general BLAS
library
Call Stack (most recent call first):
CMakeLists.txt:308 (include)

-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
-- MKL library not found
-- Checking for [Accelerate]
-- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
-- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [openblas]
-- Library openblas: /usr/lib/x86_64-linux-gnu/libopenblas.so
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Success
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Found a library with BLAS API (open).
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Brace yourself, we are building NNPACK
-- Performing Test NNPACK_ARCH_IS_X86_32
-- Performing Test NNPACK_ARCH_IS_X86_32 - Failed
-- Found PythonInterp: /usr/bin/python3 (found version "3.7.3")
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- Found Git: /usr/bin/git (found version "2.20.1")
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test COMPILER_SUPPORTS_AVX512
-- Performing Test COMPILER_SUPPORTS_AVX512 - Success
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test __CxxFlag__fmerge_all_constants
-- Performing Test __CxxFlag__fmerge_all_constants - Success
** AsmJit Summary **
ASMJIT_DIR=/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit
ASMJIT_TEST=FALSE
ASMJIT_TARGET_TYPE=STATIC
ASMJIT_DEPS=pthread;rt
ASMJIT_LIBS=asmjit;pthread;rt
ASMJIT_CFLAGS=-DASMJIT_STATIC
ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-fno-math-errno;-fno-threadsafe-statics;-DASMJIT_STATIC
ASMJIT_PRIVATE_CFLAGS_DBG=
ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants
-- Found LMDB: /usr/include
-- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found Numa: /usr/include
-- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)
-- OpenCV found (/usr/share/OpenCV)
-- Using third party subdirectory Eigen.
Python 3.7.3
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "2.7")
-- Found PythonLibs: /usr/lib/libpython3.7m.so.1.0 (found suitable version "3.7.3", 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 MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- MPI support found
-- MPI compile flags:
-- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include
-- MPI LINK flags path: -pthread
-- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
CMake Warning at cmake/Dependencies.cmake:738 (message):
OpenMPI found, but it is not built with CUDA support.
Call Stack (most recent call first):
CMakeLists.txt:308 (include)

-- Adding OpenMP CXX_FLAGS: -fopenmp
-- Will link against OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so
-- Found HIP: /opt/rocm (found suitable version "1.5.19284", minimum required is "1.0")
HIP VERSION: 1.5.19284

***** Library versions from dpkg *****

rocm-dev VERSION: 2.7.22
rocm-device-libs VERSION: 0.0.1
rocm-libs VERSION: 2.7.22
hsakmt-roct VERSION: 1.0.9-194-gbcfdf35
hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35
hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876
hsa-rocr-dev VERSION: 1.1.9-99-g835b876
hcc VERSION: 2.7.19315
hip_base VERSION: 1.5.19284
hip_hcc VERSION: 1.5.19284

***** Library versions from cmake find_package *****

rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa
hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa
-- Found HIP: /opt/rocm (found version "1.5.19284")
rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271
miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83
rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e
hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400
INFOCompiling with HIP for AMD.
CMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'BUILD_BENCHMARK'.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at third_party/gloo/CMakeLists.txt:32 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'USE_NCCL'.
This warning is for project developers. Use -Wno-dev to suppress it.

-- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include
-- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
-- Found HIP: /opt/rocm (found suitable version "1.5.19284", minimum required is "1.0")
Successfully preprocessed all matching files.
CMake Warning at cmake/Dependencies.cmake:1012 (message):
Metal is only used in ios builds.
Call Stack (most recent call first):
CMakeLists.txt:308 (include)

--
-- ******** Summary ********
-- CMake version : 3.15.2
-- CMake command : /usr/local/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 8.3.0
-- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
-- Build type : Release
-- Compile definitions : NDEBUG;ONNX_ML=1
-- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages
-- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch
-- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules
--
-- ONNX version : 1.5.0
-- ONNX NAMESPACE : onnx_torch
-- ONNX_BUILD_TESTS : OFF
-- ONNX_BUILD_BENCHMARKS : OFF
-- ONNX_USE_LITE_PROTO : OFF
-- ONNXIFI_DUMMY_BACKEND : OFF
-- ONNXIFI_ENABLE_EXT : OFF
--
-- Protobuf compiler :
-- Protobuf includes :
-- Protobuf libraries :
-- BUILD_ONNX_PYTHON : OFF
--
-- ******** Summary ********
-- CMake version : 3.15.2
-- CMake command : /usr/local/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 8.3.0
-- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor
-- Build type : Release
-- Compile definitions : NDEBUG;ONNX_ML=1
-- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages
-- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch
-- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules
--
-- ONNX version : 1.4.1
-- 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
-- Could not find CUDA with FP16 support, compiling without torch.CudaHalfTensor
-- 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.
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test NO_GCC_EBX_FPIC_BUG
-- Performing Test NO_GCC_EBX_FPIC_BUG - Success
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- AVX compiler support found
-- AVX2 compiler support found
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found a library with LAPACK API (open).
disabling CUDA because NOT USE_CUDA is set
-- CuDNN not found. Compiling without CuDNN support
-- MKLDNN_THREADING =
CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/options.cmake:33 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'MKLDNN_ENABLE_CONCURRENT_EXEC'.
Call Stack (most recent call first):
third_party/ideep/mkl-dnn/cmake/utils.cmake:24 (include)
third_party/ideep/mkl-dnn/CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- This is a product build
-- Detecting Intel(R) MKL: trying mklml_intel
-- Intel(R) MKL: include /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/include
-- Intel(R) MKL: lib /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libmklml_intel.so
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- OpenMP lib: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libiomp5.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- VTune profiling environment is unset
CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/utils.cmake:120 (target_link_libraries):
Policy CMP0023 is not set: Plain and keyword target_link_libraries
signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

The plain signature for target_link_libraries has already been used with
the target "mkldnn". All uses of target_link_libraries with a target
should be either all-keyword or all-plain.

The uses of the plain signature are here:

* third_party/ideep/mkl-dnn/cmake/utils.cmake:111 (target_link_libraries)

Call Stack (most recent call first):
third_party/ideep/mkl-dnn/src/CMakeLists.txt:108 (target_link_libraries_install)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found MKL-DNN: TRUE
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test C_HAS_THREAD
-- Performing Test C_HAS_THREAD - Success
-- GCC 8.3.0: Adding gcc and gcc_s libs to link line
-- NUMA paths:
-- /usr/include
-- /usr/lib/x86_64-linux-gnu/libnuma.so
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
HIP VERSION: 1.5.19284

***** Library versions from dpkg *****

rocm-dev VERSION: 2.7.22
rocm-device-libs VERSION: 0.0.1
rocm-libs VERSION: 2.7.22
hsakmt-roct VERSION: 1.0.9-194-gbcfdf35
hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35
hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876
hsa-rocr-dev VERSION: 1.1.9-99-g835b876
hcc VERSION: 2.7.19315
hip_base VERSION: 1.5.19284
hip_hcc VERSION: 1.5.19284

***** Library versions from cmake find_package *****

rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa
hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa
-- Found HIP: /opt/rocm (found version "1.5.19284")
rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271
miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83
rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e
hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400
ROCm is enabled.
-- Check size of long double
-- Check size of long double - done
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success
-- Performing Test COMPILER_SUPPORTS_FLOAT128
-- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success
-- Performing Test COMPILER_SUPPORTS_SSE2
-- Performing Test COMPILER_SUPPORTS_SSE2 - Success
-- Performing Test COMPILER_SUPPORTS_SSE4
-- Performing Test COMPILER_SUPPORTS_SSE4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX
-- Performing Test COMPILER_SUPPORTS_AVX - Success
-- Performing Test COMPILER_SUPPORTS_FMA4
-- Performing Test COMPILER_SUPPORTS_FMA4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_SVE
-- Performing Test COMPILER_SUPPORTS_SVE - Failed
-- Performing Test COMPILER_SUPPORTS_AVX512F
-- Performing Test COMPILER_SUPPORTS_AVX512F - Success
-- Performing Test COMPILER_SUPPORTS_OPENMP
-- Performing Test COMPILER_SUPPORTS_OPENMP - Success
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success
-- Configuring build for SLEEF-v3.2
Target system: Linux-5.0.0-25-generic
Target processor: x86_64
Host system: Linux-5.0.0-25-generic
Host processor: x86_64
Detected C compiler: GNU @ /usr/bin/cc
-- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef
-- Building shared libs : OFF
-- MPFR : LIB_MPFR-NOTFOUND
-- GMP : LIBGMP-NOTFOUND
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
-- NCCL operators skipped due to no CUDA support
-- Including IDEEP operators
-- Including image processing operators
-- Excluding video processing operators due to no opencv
-- Include Observer library
-- /usr/bin/c++ /home/luke/Builds/pytorch/caffe2/../torch/abi-check.cpp -o /home/luke/Builds/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- MPI_INCLUDE_PATH: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include
-- MPI_LIBRARIES: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
-- MPIEXEC: /usr/bin/mpiexec
-- pytorch is compiling with OpenMP.
OpenMP CXX_FLAGS: -fopenmp.
OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so.
-- Caffe2 is compiling with OpenMP.
OpenMP CXX_FLAGS: -fopenmp.
OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so.
-- Using ATen parallel backend: OMP
-- Using lib/python3/dist-packages as python relative installation path
CMake Warning at CMakeLists.txt:530 (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.15.2
-- CMake command : /usr/local/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler id : GNU
-- C++ compiler version : 8.3.0
-- BLAS : MKL
-- CXX flags : -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -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-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow
-- Build type : Release
-- Compile definitions : NDEBUG;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
-- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages
-- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch
--
-- TORCH_VERSION : 1.3.0
-- CAFFE2_VERSION : 1.3.0
-- BUILD_CAFFE2_MOBILE : ON
-- USE_STATIC_DISPATCH : OFF
-- BUILD_ATEN_ONLY : OFF
-- BUILD_BINARY : OFF
-- BUILD_CUSTOM_PROTOBUF : ON
-- Link local protobuf : ON
-- BUILD_DOCS : OFF
-- BUILD_PYTHON : True
-- Python version : 3.7.3
-- Python executable : /usr/bin/python3
-- Pythonlibs version : 3.7.3
-- Python library : /usr/lib/libpython3.7m.so.1.0
-- Python includes : /usr/include/python3.7m
-- Python site-packages: lib/python3/dist-packages
-- BUILD_CAFFE2_OPS : ON
-- BUILD_SHARED_LIBS : ON
-- BUILD_TEST : True
-- INTERN_BUILD_MOBILE :
-- USE_ASAN : OFF
-- USE_CUDA : False
-- USE_ROCM : ON
-- USE_EIGEN_FOR_BLAS : ON
-- USE_FBGEMM : ON
-- USE_FFMPEG : OFF
-- USE_GFLAGS : OFF
-- USE_GLOG : OFF
-- USE_LEVELDB : OFF
-- USE_LITE_PROTO : OFF
-- USE_LMDB : 1
-- LMDB version : 0.9.23
-- USE_METAL : OFF
-- USE_MKL : OFF
-- USE_MKLDNN : ON
-- USE_MKLDNN_CBLAS : OFF
-- USE_NCCL : OFF
-- USE_NNPACK : ON
-- USE_NUMPY : ON
-- USE_OBSERVERS : ON
-- USE_OPENCL : OFF
-- USE_OPENCV : 1
-- OpenCV version : 3.2.0
-- USE_OPENMP : ON
-- USE_TBB : OFF
-- USE_PROF : OFF
-- USE_QNNPACK : ON
-- USE_REDIS : OFF
-- USE_ROCKSDB : OFF
-- USE_ZMQ : OFF
-- USE_DISTRIBUTED : True
-- USE_MPI : ON
-- USE_GLOO : ON
-- USE_GLOO_IBVERBS : OFF
-- BUILD_NAMEDTENSOR : OFF
-- Public Dependencies : Threads::Threads;caffe2::mkldnn
-- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_video;fp16;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl
-- Configuring done
CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable):
Cannot generate a safe linker search path for target FileStoreTest because
files in some directories may conflict with libraries in implicit
directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
torch/lib/c10d/test/CMakeLists.txt:16 (c10d_add_test)

CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable):
Cannot generate a safe linker search path for target TCPStoreTest because
files in some directories may conflict with libraries in implicit
directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
torch/lib/c10d/test/CMakeLists.txt:17 (c10d_add_test)

CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable):
Cannot generate a safe linker search path for target ProcessGroupGlooTest
because files in some directories may conflict with libraries in implicit
directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
torch/lib/c10d/test/CMakeLists.txt:30 (c10d_add_test)

CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable):
Cannot generate a safe linker search path for target ProcessGroupMPITest
because files in some directories may conflict with libraries in implicit
directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
torch/lib/c10d/test/CMakeLists.txt:36 (c10d_add_test)

CMake Warning at torch/lib/libshm/CMakeLists.txt:33 (ADD_EXECUTABLE):
Cannot generate a safe linker search path for target torch_shm_manager
because files in some directories may conflict with libraries in implicit
directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.

CMake Warning at torch/lib/libshm/CMakeLists.txt:25 (ADD_LIBRARY):
Cannot generate a safe linker search path for target shm because files in
some directories may conflict with libraries in implicit directories:

link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib

Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /home/luke/Builds/pytorch/build
cmake --build . --target install --config Release -- -j 8
Scanning dependencies of target gtest
Scanning dependencies of target fbgemm_avx2
Scanning dependencies of target clog
Scanning dependencies of target pthreadpool
Scanning dependencies of target libprotobuf-lite
Scanning dependencies of target benchmark
Scanning dependencies of target fbgemm_generic
Scanning dependencies of target libprotobuf
[ 0%] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o
[ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’:
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c:120:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’:
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c:196:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’:
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c:272:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’:
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c:348:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’:
/home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c:424:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arena.cc.o
[ 0%] Linking C static library ../../lib/libclog.a
[ 0%] Built target clog
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arenastring.cc.o
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernel.cc.o
[ 0%] Linking C static library ../../lib/libpthreadpool.a
[ 0%] Built target pthreadpool
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arena.cc.o
Scanning dependencies of target fbgemm_avx512
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 9]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
posix_memalign(
~~~~~~~~~~~~~~^
(void**)&pmat_,
~~~~~~~~~~~~~~~
64,
~~~
((K + 31) / 32) * KERNEL_PROD_ALIGNED * 32 * sizeof(int8_t));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 27]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 1]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 2]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 3]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 4]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 5]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 10]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix<KERNEL_PROD>::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 11]’:
/home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernelU8S8.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arenastring.cc.o
[ 0%] Built target fbgemm_avx512
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o
[ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o
[ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_util.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_util.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/implicit_weak_message.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/coded_stream.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/implicit_weak_message.cc.o
[ 0%] Linking CXX static library ../../../../lib/libgtest.a
[ 0%] Built target gtest
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/coded_stream.cc.o
[ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o
Scanning dependencies of target asmjit
[ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o
[ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/arch.cpp.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o
[ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/assembler.cpp.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o
[ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o
[ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/builder.cpp.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/message_lite.cc.o
[ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o
[ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message_lite.cc.o
[ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/callconv.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/codeholder.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/compiler.cpp.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/bytestream.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/bytestream.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/constpool.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/cpuinfo.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/emitter.cpp.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/common.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/func.cpp.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/int128.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/io_win32.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/io_win32.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/status.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/statusor.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/statusor.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringpiece.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringpiece.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringprintf.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringprintf.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/strutil.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/strutil.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/time.cc.o
[ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/time.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/wire_format_lite.cc.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmFP16.cc.o
Scanning dependencies of target gloo
[ 2%] Linking CXX static library ../../../lib/libbenchmark.a
[ 2%] Built target benchmark
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.cc.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/globals.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/inst.cpp.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitallocator.cpp.o
[ 2%] Linking CXX static library ../../../lib/libprotobuf-lite.a
[ 2%] Built target libprotobuf-lite
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitruntime.cpp.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/OptimizedKernelsAvx2.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/api.pb.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/logging.cpp.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/QuantUtilsAvx2.cc.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmConv.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/operand.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/osutils.cpp.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/UtilsAvx2.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/ralocal.cpp.o
/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp: In member function ‘asmjit::Error asmjit::RALocalAllocator::allocBranch(asmjit::InstNode*, asmjit::RABlock*, asmjit::RABlock*)’:
/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp:833:79: warning: unused parameter ‘cont’ [-Wunused-parameter]
Error RALocalAllocator::allocBranch(InstNode* node, RABlock* target, RABlock* cont) noexcept {
~~~~~~~~~^~~~
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rapass.cpp.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/importer.cc.o
[ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/parser.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rastack.cpp.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmI8Spmdm.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/string.cpp.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16.cc.o
[ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/support.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/target.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/type.cpp.o
Scanning dependencies of target mkldnn
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/virtmem.cpp.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zone.cpp.o
[ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonehash.cpp.o
[ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o
[ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonelist.cpp.o
[ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonestack.cpp.o
[ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonetree.cpp.o
[ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonevector.cpp.o
[ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o
[ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o
[ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o
[ 3%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o
[ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o
[ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o
[ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o
[ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/mpi/context.cc.o
Scanning dependencies of target c10
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o
In file included from /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:16:
/home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc: In destructor ‘gloo::mpi::MPIScope::~MPIScope()’:
/home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate]
r.get_message_and_free(MakeString(__VA_ARGS__))); \
^
/home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’
GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’
GLOO_ENFORCE_EQ(rv, MPI_SUCCESS);
^~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept
r.get_message_and_free(MakeString(__VA_ARGS__))); \
^
/home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’
GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’
GLOO_ENFORCE_EQ(rv, MPI_SUCCESS);
^~~~~~~~~~~~~~~
[ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512VNNI.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o
[ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o
[ 4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o
[ 4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.pb.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o
[ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o
[ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o
[ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o
[ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o
[ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o
[ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o
[ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o
[ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o
[ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86callconv.cpp.o
[ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512.cc.o
[ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86compiler.cpp.o
[ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeId.cpp.o
[ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512VNNI.cc.o
[ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeIdRegistration.cpp.o
[ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o
[ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor_database.cc.o
[ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o
[ 6%] Linking CXX static library ../../../lib/libgloo.a
[ 6%] Built target gloo
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o
[ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o
[ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_memory.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/duration.pb.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/dynamic_message.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86features.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86internal.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instdb.cpp.o
[ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GroupwiseConvAcc32Avx2.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o
[ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAMatrix.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/empty.pb.cc.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o
[ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithIm2Col.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Type.cpp.o
[ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_reflection.cc.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instapi.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86logging.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o
/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp: In function ‘asmjit::Error asmjit::x86::LoggingInternal::formatInstruction(asmjit::String&, uint32_t, const asmjit::BaseEmitter*, uint32_t, const asmjit::BaseInst&, const asmjit::Operand_*, uint32_t)’:
/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp:677:29: warning: unused variable ‘instInfo’ [-Wunused-variable]
const InstDB::InstInfo& instInfo = InstDB::infoById(instId);
^~~~~~~~
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o
/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86internal.cpp:1337:13: warning: ‘void asmjit::x86::dumpAssignment(asmjit::String&, const asmjit::x86::X86FuncArgsContext&)’ defined but not used [-Wunused-function]
static void dumpAssignment(String& sb, const X86FuncArgsContext& ctx) noexcept {
^~~~~~~~~~~~~~
[ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86rapass.cpp.o
[ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o
[ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_primitive.cpp.o
[ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackBMatrix.cc.o
[ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven.cc.o
[ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o
[ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o
[ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/gzip_stream.cc.o
[ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackMatrix.cc.o
[ 7%] Linking CXX shared library ../lib/libc10.so
[ 7%] Built target c10
[ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithQuantRowOffset.cc.o
[ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/printer.cc.o
[ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/strtod.cc.o
[ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithRowOffset.cc.o
[ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reducer.cpp.o
[ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reorder.cpp.o
[ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/tokenizer.cc.o
[ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightMatrixForGConv.cc.o
[ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl.cc.o
[ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightsForConv.cc.o
[ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/map_field.cc.o
[ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message.cc.o
[ 8%] Linking CXX static library ../../../lib/libasmjit.a
[ 8%] Built target asmjit
Scanning dependencies of target python_copy_files
[ 8%] Generating __init__.py
[ 9%] Generating contrib/__init__.py
[ 9%] Generating contrib/aten/__init__.py
[ 9%] Generating contrib/aten/aten_test.py
[ 9%] Generating contrib/aten/docs/__init__.py
[ 9%] Generating contrib/aten/docs/sample.py
[ 9%] Generating contrib/aten/gen_op.py
[ 9%] Generating contrib/gloo/__init__.py
[ 9%] Generating contrib/gloo/gloo_test.py
[ 9%] Generating contrib/nccl/__init__.py
[ 9%] Generating contrib/nccl/nccl_ops_test.py
[ 9%] Generating contrib/nnpack/__init__.py
[ 9%] Generating contrib/nnpack/nnpack_ops_test.py
[ 9%] Generating contrib/playground/AnyExp.py
[ 9%] Generating contrib/playground/AnyExpOnTerm.py
[ 9%] Generating contrib/playground/ModuleRegister.py
[ 9%] Generating contrib/playground/__init__.py
[ 9%] Generating contrib/playground/checkpoint.py
[ 9%] Generating contrib/playground/compute_loss.py
[ 9%] Generating contrib/playground/compute_topk_accuracy.py
[ 9%] Generating contrib/playground/meter.py
[ 9%] Generating contrib/playground/module_map.py
[ 9%] Generating contrib/playground/output_generator.py
[ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet.py
[ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py
[ 9%] Generating contrib/playground/resnetdemo/__init__.py
[ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py
[ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py
[ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py
[ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py
[ 9%] Generating contrib/playground/resnetdemo/gfs_IN1k.py
[ 9%] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py
[ 9%] Generating contrib/playground/resnetdemo/rendezvous_filestore.py
[ 10%] Generating contrib/prof/__init__.py
[ 10%] Generating contrib/prof/cuda_profile_ops_test.py
[ 10%] Generating contrib/script/__init__.py
[ 10%] Generating contrib/script/examples/__init__.py
[ 10%] Generating contrib/tensorboard/__init__.py
[ 10%] Generating contrib/tensorboard/tensorboard.py
[ 10%] Generating contrib/tensorboard/tensorboard_exporter.py
[ 10%] Generating contrib/tensorboard/tensorboard_exporter_test.py
[ 10%] Generating contrib/tensorboard/tensorboard_test.py
[ 10%] Generating contrib/warpctc/__init__.py
[ 10%] Generating contrib/warpctc/ctc_ops_test.py
[ 10%] Generating core/__init__.py
[ 10%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/QuantUtils.cc.o
[ 10%] Generating core/nomnigraph/__init__.py
[ 10%] Generating core/nomnigraph/op_gen.py
[ 10%] Generating distributed/__init__.py
[ 10%] Generating distributed/file_store_handler_op_test.py
[ 10%] Generating distributed/redis_store_handler_op_test.py
[ 10%] Generating distributed/store_ops_test_util.py
[ 10%] Generating experiments/__init__.py
[ 10%] Generating experiments/python/SparseTransformer.py
[ 10%] Generating experiments/python/__init__.py
[ 10%] Generating experiments/python/convnet_benchmarks.py
[ 10%] Generating experiments/python/device_reduce_sum_bench.py
[ 10%] Generating experiments/python/funhash_op_test.py
[ 10%] Generating experiments/python/net_construct_bench.py
[ 10%] Generating experiments/python/sparse_funhash_op_test.py
[ 10%] Generating experiments/python/sparse_reshape_op_test.py
[ 10%] Generating experiments/python/tt_contraction_op_test.py
[ 10%] Generating experiments/python/tt_pad_op_test.py
[ 10%] Generating perfkernels/__init__.py
[ 10%] Generating perfkernels/hp_emblookup_codegen.py
[ 10%] Generating proto/__init__.py
[ 11%] Generating python/__init__.py
[ 11%] Generating python/_import_c_extension.py
[ 11%] Generating python/allcompare_test.py
[ 11%] Generating python/attention.py
[ 11%] Generating python/benchmark_generator.py
[ 11%] Generating python/binarysize.py
[ 11%] Generating python/brew.py
[ 11%] Generating python/brew_test.py
[ 11%] Generating python/build.py
[ 11%] Generating python/cached_reader.py
[ 11%] Generating python/caffe_translator.py
[ 11%] Generating python/caffe_translator_test.py
[ 11%] Generating python/checkpoint.py
[ 11%] Generating python/checkpoint_test.py
[ 11%] Generating python/cnn.py
[ 11%] Generating python/compatibility.py
[ 11%] Generating python/context.py
[ 11%] Generating python/context_test.py
[ 11%] Generating python/control.py
[ 11%] Generating python/control_ops_grad.py
[ 11%] Generating python/control_ops_grad_test.py
[ 11%] Generating python/control_ops_util.py
[ 11%] Generating python/control_test.py
[ 11%] Generating python/convert.py
[ 11%] Generating python/convert_test.py
[ 11%] Generating python/convnet_benchmarks.py
[ 11%] Generating python/convnet_benchmarks_test.py
[ 11%] Generating python/core.py
[ 11%] Generating python/core_gradients_test.py
[ 11%] Generating python/core_test.py
[ 11%] Generating python/crf.py
[ 11%] Generating python/crf_predict.py
[ 12%] Generating python/crf_viterbi_test.py
[ 12%] Generating python/data_parallel_model.py
[ 12%] Generating python/data_parallel_model_test.py
[ 12%] Generating python/data_workers.py
[ 12%] Generating python/data_workers_test.py
[ 12%] Generating python/dataio.py
[ 12%] Generating python/dataio_test.py
[ 12%] Generating python/dataset.py
[ 12%] Generating python/db_file_reader.py
[ 12%] Generating python/db_test.py
[ 12%] Generating python/device_checker.py
[ 12%] Generating python/docs/__init__.py
[ 12%] Generating python/docs/formatter.py
[ 12%] Generating python/docs/generator.py
[ 12%] Generating python/docs/github.py
[ 12%] Generating python/docs/parser.py
[ 12%] Generating python/dyndep.py
[ 12%] Generating python/embedding_generation_benchmark.py
[ 12%] Generating python/examples/__init__.py
[ 12%] Generating python/examples/char_rnn.py
[ 12%] Generating python/examples/imagenet_trainer.py
[ 12%] Generating python/examples/lmdb_create_example.py
[ 12%] Generating python/examples/resnet50_trainer.py
[ 12%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/RefImplementations.cc.o
[ 12%] Generating python/experiment_util.py
[ 12%] Generating python/extension_loader.py
[ 12%] Generating python/filler_test.py
[ 12%] Generating python/functional.py
[ 12%] Generating python/functional_test.py
[ 12%] Generating python/fused_8bit_rowwise_conversion_ops_test.py
[ 12%] Generating python/gradient_check_test.py
[ 12%] Generating python/gradient_checker.py
[ 12%] Generating python/gru_cell.py
[ 13%] Generating python/helpers/__init__.py
[ 13%] Generating python/helpers/algebra.py
[ 13%] Generating python/helpers/arg_scope.py
[ 13%] Generating python/helpers/array_helpers.py
[ 13%] Generating python/helpers/control_ops.py
[ 13%] Generating python/helpers/conv.py
[ 13%] Generating python/helpers/db_input.py
[ 13%] Generating python/helpers/dropout.py
[ 13%] Generating python/helpers/elementwise_linear.py
[ 13%] Generating python/helpers/fc.py
[ 13%] Generating python/helpers/nonlinearity.py
[ 13%] Generating python/helpers/normalization.py
[ 13%] Generating python/helpers/pooling.py
[ 13%] Generating python/helpers/tools.py
[ 13%] Generating python/helpers/train.py
[ 13%] Generating python/hip_test_util.py
[ 13%] Generating python/hsm_util.py
[ 13%] Generating python/hypothesis_test.py
[ 13%] Generating python/hypothesis_test_util.py
[ 13%] Generating python/ideep/LRN_op_test.py
[ 13%] Generating python/ideep/__init__.py
[ 13%] Generating python/ideep/adam_op_test.py
[ 13%] Generating python/ideep/blobs_queue_db_test.py
[ 13%] Generating python/ideep/channel_shuffle_op_test.py
[ 13%] Generating python/ideep/concat_split_op_test.py
[ 13%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/reflection_ops.cc.o
[ 13%] Generating python/ideep/conv_op_test.py
[ 13%] Generating python/ideep/conv_transpose_test.py
[ 13%] Generating python/ideep/convfusion_op_test.py
[ 13%] Generating python/ideep/copy_op_test.py
[ 13%] Generating python/ideep/dropout_op_test.py
[ 13%] Generating python/ideep/elementwise_sum_op_test.py
[ 14%] Generating python/ideep/expanddims_squeeze_op_test.py
[ 14%] Generating python/ideep/fc_op_test.py
[ 14%] Generating python/ideep/leaky_relu_op_test.py
[ 14%] Generating python/ideep/moment_sgd_op_test.py
[ 14%] Generating python/ideep/operator_fallback_op_test.py
[ 14%] Generating python/ideep/order_switch_op_test.py
[ 14%] Generating python/ideep/pool_op_test.py
[ 14%] Generating python/ideep/pre_convert_test.py
[ 14%] Generating python/ideep/relu_op_test.py
[ 14%] Generating python/ideep/reshape_op_test.py
[ 14%] Generating python/ideep/shape_op_test.py
[ 14%] Generating python/ideep/sigmoid_op_test.py
[ 14%] Generating python/ideep/softmax_op_test.py
[ 14%] Generating python/ideep/spatial_bn_op_test.py
[ 14%] Generating python/ideep/test_ideep_net.py
[ 14%] Generating python/ideep/transform_ideep_net.py
[ 14%] Generating python/ideep/transpose_op_test.py
[ 14%] Generating python/ideep/weightedsum_op_test.py
[ 14%] Generating python/ideep_test_util.py
[ 14%] Generating python/layer_model_helper.py
[ 14%] Generating python/layer_model_instantiator.py
[ 14%] Generating python/layer_parameter_sharing_test.py
[ 14%] Generating python/layer_test_util.py
[ 14%] Generating python/layers/__init__.py
[ 14%] Generating python/layers/adaptive_weight.py
[ 14%] Generating python/layers/add_bias.py
[ 14%] Generating python/layers/arc_cosine_feature_map.py
[ 14%] Generating python/layers/batch_huber_loss.py
[ 14%] Generating python/layers/batch_lr_loss.py
[ 14%] Generating python/layers/batch_mse_loss.py
[ 14%] Generating python/layers/batch_normalization.py
[ 14%] Generating python/layers/batch_sigmoid_cross_entropy_loss.py
[ 15%] Generating python/layers/batch_softmax_loss.py
[ 15%] Generating python/layers/blob_weighted_sum.py
[ 15%] Generating python/layers/bpr_loss.py
[ 15%] Generating python/layers/bucket_weighted.py
[ 15%] Generating python/layers/build_index.py
[ 15%] Generating python/layers/concat.py
[ 15%] Generating python/layers/constant_weight.py
[ 15%] Generating python/layers/conv.py
[ 15%] Generating python/layers/dropout.py
[ 15%] Generating python/layers/fc.py
[ 15%] Generating python/layers/fc_without_bias.py
[ 15%] Generating python/layers/feature_sparse_to_dense.py
[ 15%] Generating python/layers/functional.py
[ 15%] Generating python/layers/gather_record.py
[ 15%] Generating python/layers/homotopy_weight.py
[ 15%] Generating python/layers/label_smooth.py
[ 15%] Generating python/layers/last_n_window_collector.py
[ 15%] Generating python/layers/layer_normalization.py
[ 15%] Generating python/layers/layers.py
[ 15%] Generating python/layers/margin_rank_loss.py
[ 15%] Generating python/layers/merge_id_lists.py
[ 15%] Generating python/layers/pairwise_similarity.py
[ 15%] Generating python/layers/position_weighted.py
[ 15%] Generating python/layers/random_fourier_features.py
[ 15%] Generating python/layers/reservoir_sampling.py
[ 15%] Generating python/layers/sampling_train.py
[ 15%] Generating python/layers/sampling_trainable_mixin.py
[ 15%] Generating python/layers/select_record_by_context.py
[ 15%] Generating python/layers/semi_random_features.py
[ 15%] Generating python/layers/sparse_dropout_with_replacement.py
[ 15%] Generating python/layers/sparse_feature_hash.py
[ 15%] Generating python/layers/sparse_lookup.py
[ 16%] Generating python/layers/split.py
[ 16%] Generating python/layers/tags.py
[ 16%] Generating python/layers/uniform_sampling.py
[ 16%] Generating python/layers_test.py
[ 16%] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py
[ 16%] Generating python/lengths_reducer_rowwise_8bit_ops_test.py
[ 16%] Generating python/lstm_benchmark.py
[ 16%] Generating python/memonger.py
[ 16%] Generating python/memonger_test.py
[ 16%] Generating python/mint/__init__.py
[ 16%] Generating python/mint/app.py
[ 16%] Generating python/mkl/__init__.py
[ 16%] Generating python/mkl/mkl_LRN_op_test.py
[ 16%] Generating python/mkl/mkl_LRN_speed_test.py
[ 16%] Generating python/mkl/mkl_concat_op_test.py
[ 16%] Generating python/mkl/mkl_conv_op_test.py
[ 16%] Generating python/mkl/mkl_copy_op_test.py
[ 16%] Generating python/mkl/mkl_elementwise_add_op_test.py
[ 16%] Generating python/mkl/mkl_elementwise_sum_op_test.py
[ 16%] Generating python/mkl/mkl_fc_op_test.py
[ 16%] Generating python/mkl/mkl_fc_speed_test.py
[ 16%] Generating python/mkl/mkl_fill_op_test.py
[ 16%] Generating python/mkl/mkl_pool_op_test.py
[ 16%] Generating python/mkl/mkl_pool_speed_test.py
[ 16%] Generating python/mkl/mkl_relu_op_test.py
[ 16%] Generating python/mkl/mkl_sbn_op_test.py
[ 16%] Generating python/mkl/mkl_sbn_speed_test.py
[ 16%] Generating python/mkl/mkl_sigmoid_op_test.py
[ 16%] Generating python/mkl/mkl_speed_test.py
[ 16%] Generating python/mkl/mkl_squeeze_op_test.py
[ 16%] Generating python/mkl/rewrite_graph.py
[ 16%] Generating python/mkl/rewrite_graph_test.py
[ 17%] Generating python/mkl_test_util.py
[ 17%] Generating python/model_device_test.py
[ 17%] Generating python/model_helper.py
[ 17%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Utils.cc.o
[ 17%] Generating python/model_helper_test.py
[ 17%] Generating python/modeling/__init__.py
[ 17%] Generating python/modeling/compute_histogram_for_blobs.py
[ 17%] Generating python/modeling/compute_histogram_for_blobs_test.py
[ 17%] Generating python/modeling/compute_norm_for_blobs.py
[ 17%] Generating python/modeling/compute_norm_for_blobs_test.py
[ 17%] Generating python/modeling/compute_statistics_for_blobs.py
[ 17%] Generating python/modeling/compute_statistics_for_blobs_test.py
[ 17%] Generating python/modeling/get_entry_from_blobs.py
[ 17%] Generating python/modeling/get_entry_from_blobs_test.py
[ 17%] Generating python/modeling/gradient_clipping.py
[ 17%] Generating python/modeling/gradient_clipping_test.py
[ 17%] Generating python/modeling/initializers.py
[ 17%] Generating python/modeling/initializers_test.py
[ 17%] Generating python/modeling/net_modifier.py
[ 17%] Generating python/modeling/parameter_info.py
[ 17%] Generating python/modeling/parameter_sharing.py
[ 17%] Generating python/modeling/parameter_sharing_test.py
[ 17%] Generating python/models/__init__.py
[ 17%] Generating python/models/__sym_init__.py
[ 17%] Generating python/models/download.py
[ 17%] Generating python/models/imagenet_trainer_test_utils.py
[ 17%] Generating python/models/resnet.py
[ 17%] Generating python/models/resnet_test.py
[ 17%] Generating python/models/seq2seq/__init__.py
[ 17%] Generating python/models/seq2seq/beam_search.py
[ 17%] Generating python/models/seq2seq/seq2seq_beam_search_test.py
[ 17%] Generating python/models/seq2seq/seq2seq_model_helper.py
[ 17%] Generating python/models/seq2seq/seq2seq_model_helper_test.py
[ 18%] Generating python/models/seq2seq/seq2seq_util.py
[ 18%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_sum.cpp.o
[ 18%] Generating python/models/seq2seq/train.py
[ 18%] Generating python/models/seq2seq/translate.py
[ 18%] Generating python/models/shufflenet.py
[ 18%] Generating python/models/shufflenet_test.py
[ 18%] Generating python/modifier_context.py
[ 18%] Generating python/muji.py
[ 18%] Generating python/muji_test.py
[ 18%] Generating python/net_builder.py
[ 18%] Generating python/net_builder_test.py
[ 18%] Generating python/net_drawer.py
[ 18%] Generating python/net_printer.py
[ 18%] Generating python/net_printer_test.py
[ 18%] Generating python/nomnigraph.py
[ 18%] Generating python/nomnigraph_test.py
[ 18%] Generating python/nomnigraph_transformations.py
[ 18%] Generating python/nomnigraph_transformations_test.py
[ 18%] Generating python/normalizer.py
[ 18%] Generating python/normalizer_context.py
[ 18%] Generating python/normalizer_test.py
[ 18%] Generating python/numa_benchmark.py
[ 18%] Generating python/numa_test.py
[ 18%] Generating python/observer_test.py
[ 18%] Generating python/onnx/__init__.py
[ 18%] Generating python/onnx/backend.py
[ 18%] Generating python/onnx/backend_cpp_rep.py
[ 18%] Generating python/onnx/backend_rep.py
[ 18%] Generating python/onnx/bin/__init__.py
[ 18%] Generating python/onnx/bin/conversion.py
[ 18%] Generating python/onnx/error.py
[ 18%] Generating python/onnx/frontend.py
[ 18%] Generating python/onnx/helper.py
[ 19%] Generating python/onnx/onnxifi.py
[ 19%] Generating python/onnx/test_onnxifi.py
[ 19%] Generating python/onnx/tests/__init__.py
[ 19%] Generating python/onnx/tests/c2_ref_test.py
[ 19%] Generating python/onnx/tests/conversion_test.py
[ 19%] Generating python/onnx/tests/helper_test.py
[ 19%] Generating python/onnx/tests/onnx_backend_test.py
[ 19%] Generating python/onnx/tests/ssa_test.py
[ 19%] Generating python/onnx/tests/test_utils.py
[ 19%] Generating python/onnx/workspace.py
[ 19%] Generating python/operator_fp_exceptions_test.py
[ 19%] Generating python/operator_test/__init__.py
[ 19%] Generating python/operator_test/activation_ops_test.py
[ 19%] Generating python/operator_test/adadelta_test.py
[ 19%] Generating python/operator_test/adagrad_test.py
[ 19%] Generating python/operator_test/adagrad_test_helper.py
[ 19%] Generating python/operator_test/adam_test.py
[ 19%] Generating python/operator_test/affine_channel_op_test.py
[ 19%] Generating python/operator_test/apmeter_test.py
[ 19%] Generating python/operator_test/arg_ops_test.py
[ 19%] Generating python/operator_test/assert_test.py
[ 19%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/service.cc.o
[ 19%] Generating python/operator_test/atomic_ops_test.py
[ 19%] Built target fbgemm_generic
[ 19%] Generating python/operator_test/basic_rnn_test.py
[ 19%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/gemm_utils_f32.cpp.o
[ 19%] Generating python/operator_test/batch_box_cox_test.py
[ 19%] Generating python/operator_test/batch_bucketize_op_test.py
[ 19%] Generating python/operator_test/batch_moments_op_test.py
[ 19%] Generating python/operator_test/batch_sparse_to_dense_op_test.py
[ 19%] Generating python/operator_test/bbox_transform_test.py
[ 19%] Generating python/operator_test/bisect_percentile_op_test.py
[ 19%] Generating python/operator_test/blobs_queue_db_test.py
[ 19%] Generating python/operator_test/boolean_mask_test.py
[ 19%] Generating python/operator_test/boolean_unmask_test.py
[ 20%] Generating python/operator_test/box_with_nms_limit_op_test.py
[ 20%] Generating python/operator_test/bucketize_op_test.py
[ 20%] Generating python/operator_test/cast_op_test.py
[ 20%] Generating python/operator_test/ceil_op_test.py
[ 20%] Generating python/operator_test/channel_backprop_stats_op_test.py
[ 20%] Generating python/operator_test/channel_shuffle_test.py
[ 20%] Generating python/operator_test/channel_stats_op_test.py
[ 20%] Generating python/operator_test/checkpoint_test.py
[ 20%] Generating python/operator_test/clip_op_test.py
[ 20%] Generating python/operator_test/clip_tensor_op_test.py
[ 20%] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py
[ 20%] Generating python/operator_test/concat_split_op_test.py
[ 20%] Generating python/operator_test/conditional_test.py
[ 20%] Generating python/operator_test/conftest.py
[ 20%] Generating python/operator_test/conv_test.py
[ 20%] Generating python/operator_test/conv_transpose_test.py
[ 20%] Generating python/operator_test/copy_ops_test.py
[ 20%] Generating python/operator_test/copy_rows_to_tensor_op_test.py
[ 20%] Generating python/operator_test/cosine_embedding_criterion_op_test.py
[ 20%] Generating python/operator_test/counter_ops_test.py
[ 20%] Generating python/operator_test/crf_test.py
[ 20%] Generating python/operator_test/cross_entropy_ops_test.py
[ 21%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx512_common_gemm_f32.cpp.o
[ 21%] Generating python/operator_test/ctc_beam_search_decoder_op_test.py
[ 21%] Generating python/operator_test/ctc_greedy_decoder_op_test.py
[ 21%] Generating python/operator_test/cudnn_recurrent_test.py
[ 21%] Generating python/operator_test/data_couple_op_test.py
[ 21%] Generating python/operator_test/dataset_ops_test.py
[ 21%] Generating python/operator_test/deform_conv_test.py
[ 21%] Generating python/operator_test/dense_vector_to_id_list_op_test.py
[ 21%] Generating python/operator_test/depthwise_3x3_conv_test.py
[ 21%] Generating python/operator_test/detectron_keypoints.py
[ 22%] Generating python/operator_test/distance_op_test.py
[ 22%] Generating python/operator_test/dropout_op_test.py
[ 22%] Generating python/operator_test/duplicate_operands_test.py
[ 22%] Generating python/operator_test/elementwise_linear_op_test.py
[ 22%] Generating python/operator_test/elementwise_logical_ops_test.py
[ 22%] Generating python/operator_test/elementwise_op_broadcast_test.py
[ 22%] Generating python/operator_test/elementwise_ops_test.py
[ 22%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/source_context.pb.cc.o
[ 22%] Generating python/operator_test/emptysample_ops_test.py
[ 22%] Generating python/operator_test/enforce_finite_op_test.py
[ 22%] Generating python/operator_test/ensure_clipped_test.py
[ 22%] Generating python/operator_test/ensure_cpu_output_op_test.py
[ 22%] Generating python/operator_test/erf_op_test.py
[ 22%] Generating python/operator_test/expand_op_test.py
[ 22%] Generating python/operator_test/fc_operator_test.py
[ 22%] Generating python/operator_test/feature_maps_ops_test.py
[ 22%] Generating python/operator_test/filler_ops_test.py
[ 22%] Generating python/operator_test/find_op_test.py
[ 22%] Generating python/operator_test/flatten_op_test.py
[ 22%] Generating python/operator_test/flexible_top_k_test.py
[ 22%] Generating python/operator_test/floor_op_test.py
[ 22%] Generating python/operator_test/gather_ops_test.py
[ 22%] Generating python/operator_test/gather_ranges_op_test.py
[ 22%] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py
[ 22%] Generating python/operator_test/given_tensor_fill_op_test.py
[ 22%] Generating python/operator_test/glu_op_test.py
[ 22%] Generating python/operator_test/group_conv_test.py
[ 22%] Generating python/operator_test/group_norm_op_test.py
[ 22%] Generating python/operator_test/gru_test.py
[ 22%] Generating python/operator_test/heatmap_max_keypoint_op_test.py
[ 22%] Generating python/operator_test/hsm_test.py
[ 22%] Generating python/operator_test/hyperbolic_ops_test.py
[ 22%] Generating python/operator_test/im2col_col2im_test.py
[ 23%] Generating python/operator_test/image_input_op_test.py
[ 23%] Generating python/operator_test/index_hash_ops_test.py
[ 23%] Generating python/operator_test/index_ops_test.py
[ 23%] Generating python/operator_test/instance_norm_test.py
[ 23%] Generating python/operator_test/integral_image_ops_test.py
[ 23%] Generating python/operator_test/jsd_ops_test.py
[ 23%] Generating python/operator_test/key_split_ops_test.py
[ 23%] Generating python/operator_test/lars_test.py
[ 23%] Generating python/operator_test/layer_norm_op_test.py
[ 23%] Generating python/operator_test/leaky_relu_test.py
[ 23%] Generating python/operator_test/learning_rate_adaption_op_test.py
[ 23%] Generating python/operator_test/learning_rate_op_test.py
[ 23%] Generating python/operator_test/length_split_op_test.py
[ 23%] Generating python/operator_test/lengths_pad_op_test.py
[ 23%] Generating python/operator_test/lengths_tile_op_test.py
[ 23%] Generating python/operator_test/lengths_top_k_ops_test.py
[ 23%] Generating python/operator_test/listwise_l2r_operator_test.py
[ 23%] Generating python/operator_test/load_save_test.py
[ 23%] Generating python/operator_test/locally_connected_op_test.py
[ 23%] Generating python/operator_test/loss_ops_test.py
[ 23%] Generating python/operator_test/lpnorm_op_test.py
[ 23%] Generating python/operator_test/map_ops_test.py
[ 23%] Generating python/operator_test/margin_ranking_criterion_op_test.py
[ 23%] Generating python/operator_test/math_ops_test.py
[ 23%] Generating python/operator_test/matmul_op_test.py
[ 23%] Generating python/operator_test/mean_op_test.py
[ 23%] Generating python/operator_test/merge_id_lists_op_test.py
[ 23%] Generating python/operator_test/mkl_conv_op_test.py
[ 23%] Generating python/operator_test/mkl_packed_fc_op_test.py
[ 23%] Generating python/operator_test/mkl_speed_test.py
[ 23%] Generating python/operator_test/mod_op_test.py
[ 23%] Generating python/operator_test/moments_op_test.py
[ 24%] Generating python/operator_test/momentum_sgd_test.py
[ 24%] Generating python/operator_test/mpi_test.py
[ 24%] Generating python/operator_test/negate_gradient_op_test.py
[ 24%] Generating python/operator_test/ngram_ops_test.py
[ 24%] Generating python/operator_test/normalize_op_test.py
[ 24%] Generating python/operator_test/numpy_tile_op_test.py
[ 24%] Generating python/operator_test/one_hot_ops_test.py
[ 24%] Generating python/operator_test/onnx_while_test.py
[ 24%] Generating python/operator_test/order_switch_test.py
[ 24%] Generating python/operator_test/pack_ops_test.py
[ 24%] Generating python/operator_test/pack_rnn_sequence_op_test.py
[ 24%] Generating python/operator_test/pad_test.py
[ 24%] Generating python/operator_test/partition_ops_test.py
[ 24%] Generating python/operator_test/percentile_op_test.py
[ 24%] Generating python/operator_test/piecewise_linear_transform_test.py
[ 24%] Generating python/operator_test/pooling_test.py
[ 24%] Generating python/operator_test/prepend_dim_test.py
[ 24%] Generating python/operator_test/python_op_test.py
[ 24%] Generating python/operator_test/rand_quantization_op_speed_test.py
[ 24%] Generating python/operator_test/rand_quantization_op_test.py
[ 24%] Generating python/operator_test/rank_loss_operator_test.py
[ 24%] Generating python/operator_test/rebatching_queue_test.py
[ 24%] Generating python/operator_test/record_queue_test.py
[ 24%] Generating python/operator_test/recurrent_net_executor_test.py
[ 24%] Generating python/operator_test/recurrent_network_test.py
[ 24%] Generating python/operator_test/reduce_ops_test.py
[ 24%] Generating python/operator_test/reduction_ops_test.py
[ 24%] Generating python/operator_test/reshape_ops_test.py
[ 24%] Generating python/operator_test/resize_op_test.py
[ 24%] Generating python/operator_test/rmac_regions_op_test.py
[ 24%] Generating python/operator_test/rnn_cell_test.py
[ 24%] Generating python/operator_test/roi_align_rotated_op_test.py
[ 25%] Generating python/operator_test/scale_op_test.py
[ 25%] Generating python/operator_test/segment_ops_test.py
[ 25%] Generating python/operator_test/selu_op_test.py
[ 25%] Generating python/operator_test/sequence_ops_test.py
[ 25%] Generating python/operator_test/shape_inference_test.py
[ 25%] Generating python/operator_test/sinusoid_position_encoding_op_test.py
[ 25%] Generating python/operator_test/softmax_ops_test.py
[ 25%] Generating python/operator_test/softplus_op_test.py
[ 25%] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py
[ 25%] Generating python/operator_test/sparse_gradient_checker_test.py
[ 25%] Generating python/operator_test/sparse_lengths_sum_benchmark.py
[ 25%] Generating python/operator_test/sparse_normalize_test.py
[ 25%] Generating python/operator_test/sparse_ops_test.py
[ 25%] Generating python/operator_test/sparse_to_dense_mask_op_test.py
[ 25%] Generating python/operator_test/spatial_bn_op_test.py
[ 25%] Generating python/operator_test/specialized_segment_ops_test.py
[ 25%] Generating python/operator_test/square_root_divide_op_test.py
[ 25%] Generating python/operator_test/stats_ops_test.py
[ 25%] Generating python/operator_test/stats_put_ops_test.py
[ 25%] Generating python/operator_test/string_ops_test.py
[ 25%] Generating python/operator_test/text_file_reader_test.py
[ 25%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/struct.pb.cc.o
[ 25%] Generating python/operator_test/thresholded_relu_op_test.py
[ 25%] Generating python/operator_test/tile_op_test.py
[ 25%] Generating python/operator_test/top_k_test.py
[ 25%] Generating python/operator_test/torch_integration_test.py
[ 25%] Generating python/operator_test/transpose_op_test.py
[ 25%] Generating python/operator_test/trigonometric_op_test.py
[ 25%] Generating python/operator_test/unique_ops_test.py
[ 25%] Generating python/operator_test/unique_uniform_fill_op_test.py
[ 25%] Generating python/operator_test/upsample_op_test.py
[ 25%] Generating python/operator_test/utility_ops_test.py
[ 25%] Generating python/operator_test/video_input_op_test.py
[ 26%] Generating python/operator_test/weighted_multi_sample_test.py
[ 26%] Generating python/operator_test/weighted_sample_test.py
[ 26%] Generating python/operator_test/weighted_sum_test.py
[ 26%] Generating python/operator_test/wngrad_test.py
[ 26%] Generating python/optimizer.py
[ 26%] Generating python/optimizer_context.py
[ 26%] Generating python/optimizer_test.py
[ 26%] Generating python/optimizer_test_util.py
[ 26%] Generating python/parallel_workers.py
[ 26%] Generating python/parallel_workers_test.py
[ 26%] Generating python/parallelize_bmuf_distributed_test.py
[ 26%] Generating python/pipeline.py
[ 26%] Generating python/pipeline_test.py
[ 26%] Generating python/predictor/__init__.py
[ 26%] Generating python/predictor/mobile_exporter.py
[ 26%] Generating python/predictor/mobile_exporter_test.py
[ 26%] Generating python/predictor/predictor_exporter.py
[ 26%] Generating python/predictor/predictor_exporter_test.py
[ 26%] Generating python/predictor/predictor_py_utils.py
[ 26%] Generating python/predictor/predictor_test.py
[ 26%] Generating python/predictor/serde.py
[ 26%] Generating python/predictor_constants.py
[ 26%] Generating python/python_op_test.py
[ 26%] Generating python/queue_util.py
[ 26%] Generating python/record_queue.py
[ 26%] Generating python/recurrent.py
[ 26%] Generating python/regularizer.py
Scanning dependencies of target foxi_loader
[ 26%] Generating python/regularizer_context.py
[ 26%] Generating python/regularizer_test.py
[ 26%] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o
[ 26%] Generating python/rnn/__init__.py
[ 26%] Generating python/rnn/lstm_comparison.py
[ 26%] Generating python/rnn/rnn_cell_test_util.py
[ 27%] Generating python/rnn_cell.py
[ 27%] Generating python/schema.py
[ 27%] Generating python/schema_test.py
[ 27%] Generating python/scope.py
[ 27%] Generating python/scope_test.py
[ 27%] Linking C static library ../../lib/libfoxi_loader.a
[ 27%] Generating python/serialized_test/__init__.py
[ 27%] Generating python/serialized_test/coverage.py
[ 27%] Built target foxi_loader
[ 27%] Generating python/session.py
[ 27%] Generating python/serialized_test/serialized_test_util.py
[ 27%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx_gemm_f32.cpp.o
[ 27%] Generating python/session_test.py
[ 27%] Generating python/sparse_to_dense_mask_test.py
[ 27%] Generating python/sparse_to_dense_test.py
[ 27%] Generating python/task.py
[ 27%] Generating python/task_test.py
[ 27%] Generating python/test/__init__.py
[ 27%] Generating python/test/blob_deallocation_test.py
[ 27%] Generating python/test/do_op_test.py
[ 27%] Generating python/test/executor_test.py
[ 27%] Generating python/test/executor_test_util.py
[ 27%] Generating python/test/inference_lstm_op_test.py
[ 27%] Generating python/test/python_protobuf_test.py
[ 27%] Generating python/test_util.py
[ 27%] Generating python/text_file_reader.py
[ 27%] Generating python/timeout_guard.py
[ 27%] Generating python/toy_regression_test.py
[ 27%] Generating python/transformations.py
[ 27%] Generating python/transformations_test.py
[ 27%] Generating python/trt/__init__.py
[ 27%] Generating python/trt/test_trt.py
[ 27%] Generating python/trt/transform.py
[ 27%] Generating python/tt_core.py
[ 27%] Generating python/tt_core_test.py
[ 28%] Generating python/utils.py
[ 28%] Generating python/utils_test.py
[ 28%] Generating python/visualize.py
[ 28%] Generating python/workspace.py
[ 28%] Generating python/workspace_test.py
[ 28%] Generating quantization/__init__.py
[ 28%] Generating quantization/server/__init__.py
[ 28%] Generating quantization/server/batch_matmul_dnnlowp_op_test.py
[ 28%] Generating quantization/server/batch_permutation_dnnlowp_op_test.py
[ 28%] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py
[ 28%] Generating quantization/server/concat_dnnlowp_op_test.py
[ 28%] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py
[ 28%] Generating quantization/server/conv_dnnlowp_acc16_op_test.py
[ 28%] Generating quantization/server/conv_dnnlowp_op_test.py
[ 28%] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py
[ 28%] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py
[ 28%] Generating quantization/server/dequantize_dnnlowp_op_test.py
[ 28%] Generating quantization/server/dnnlowp_test_utils.py
[ 28%] Generating quantization/server/elementwise_add_dnnlowp_op_test.py
[ 28%] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py
[ 28%] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py
[ 28%] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py
[ 28%] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py
[ 28%] Generating quantization/server/fully_connected_dnnlowp_op_test.py
[ 28%] Generating quantization/server/fully_connected_fp16_test.py
[ 28%] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py
[ 28%] Generating quantization/server/gather_dnnlowp_op_test.py
[ 28%] Generating quantization/server/group_norm_dnnlowp_op_test.py
[ 28%] Generating quantization/server/lstm_unit_dnnlowp_op_test.py
[ 28%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/ref_gemm_f32.cpp.o
[ 28%] Generating quantization/server/observer_test.py
[ 28%] Generating quantization/server/pool_dnnlowp_op_test.py
[ 29%] Generating quantization/server/quantize_dnnlowp_op_test.py
[ 29%] Generating quantization/server/relu_dnnlowp_op_test.py
[ 29%] Generating quantization/server/resize_nearest_dnnlowp_op_test.py
[ 29%] Generating quantization/server/sigmoid_dnnlowp_op_test.py
[ 29%] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py
[ 29%] Generating quantization/server/tanh_dnnlowp_op_test.py
[ 29%] Generating quantization/server/utils.py
[ 29%] Built target python_copy_files
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/gemm.cpp.o
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8s8s32.cpp.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/mathlimits.cc.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/substitute.cc.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/text_format.cc.o
Scanning dependencies of target ATEN_CUDA_FILES_GEN_TARGET
[ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.h, ../aten/src/ATen/MkldnnCPUType.cpp, ../aten/src/ATen/MkldnnCPUType.h, ../aten/src/ATen/NativeFunctions.h, ../aten/src/ATen/QuantizedCPUType.cpp, ../aten/src/ATen/QuantizedCPUType.h, ../aten/src/ATen/RegistrationDeclarations.h, ../aten/src/ATen/SparseCPUType.cpp, ../aten/src/ATen/SparseCPUType.h, ../aten/src/ATen/TypeDefault.cpp, ../aten/src/ATen/TypeDefault.h, ../aten/src/ATen/CUDAType.cpp, ../aten/src/ATen/CUDAType.h, ../aten/src/ATen/LegacyTHFunctionsCUDA.cpp, ../aten/src/ATen/LegacyTHFunctionsCUDA.h, ../aten/src/ATen/SparseCUDAType.cpp, ../aten/src/ATen/SparseCUDAType.h
Scanning dependencies of target ATEN_CPU_FILES_GEN_TARGET
[ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.h, ../aten/src/ATen/MkldnnCPUType.cpp, ../aten/src/ATen/MkldnnCPUType.h, ../aten/src/ATen/NativeFunctions.h, ../aten/src/ATen/QuantizedCPUType.cpp, ../aten/src/ATen/QuantizedCPUType.h, ../aten/src/ATen/RegistrationDeclarations.h, ../aten/src/ATen/SparseCPUType.cpp, ../aten/src/ATen/SparseCPUType.h, ../aten/src/ATen/TypeDefault.cpp, ../aten/src/ATen/TypeDefault.h, ../aten/src/ATen/CUDAType.cpp, ../aten/src/ATen/CUDAType.h, ../aten/src/ATen/LegacyTHFunctionsCUDA.cpp, ../aten/src/ATen/LegacyTHFunctionsCUDA.h, ../aten/src/ATen/SparseCUDAType.cpp, ../aten/src/ATen/SparseCUDAType.h
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/timestamp.pb.cc.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/type.pb.cc.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o
Scanning dependencies of target common
[ 29%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o
Scanning dependencies of target mkrename
[ 29%] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o
[ 29%] Built target common
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32_kern.cpp.o
[ 29%] Linking C executable ../../bin/mkrename
[ 29%] Built target mkrename
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemv_s8u8s32.cpp.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/delimited_message_util.cc.o
Scanning dependencies of target mkalias
[ 29%] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o
[ 29%] Linking C executable ../../bin/mkalias
[ 29%] Built target mkalias
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_kernel_gemv_s8u8s32_kern.cpp.o
Scanning dependencies of target renameAVX512F.h_generated
[ 29%] Generating include/renameavx512f.h
Generating renameavx512f.h: mkrename 8 16 avx512f
[ 29%] Built target renameAVX512F.h_generated
Scanning dependencies of target mkdisp
[ 29%] Building C object sleef/src/libm/CMakeFiles/mkdisp.dir/mkdisp.c.o
[ 29%] Linking C executable ../../bin/mkdisp
[ 29%] Built target mkdisp
[ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_an_kern.cpp.o
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_comparator.cc.o
[ 29%] Built target ATEN_CUDA_FILES_GEN_TARGET
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_mask_util.cc.o
[ 29%] Built target ATEN_CPU_FILES_GEN_TARGET
[ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o
Scanning dependencies of target headers
[ 29%] Generating ../../../include/sleef.h
Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__
Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse2
Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse4
Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__
Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ avx
Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ fma4
Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i __m256i __AVX__ avx2
Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ avx2128
Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__
Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__ avx512f
[ 29%] Generating include/renameavx2.h
Generating renameavx2.h: mkrename 4 8 avx2
[ 29%] Generating include/renameavx2128.h
Generating renameavx2128.h: mkrename 2 4 avx2128
[ 29%] Generating include/renamefma4.h
Generating renamefma4.h: mkrename 4 8 fma4
[ 30%] Generating include/renameavx.h
Generating renameavx.h: mkrename 4 8 avx
[ 30%] Generating include/renamesse4.h
Generating renamesse4.h: mkrename 2 4 sse4
[ 30%] Generating include/renamesse2.h
Generating renamesse2.h: mkrename 2 4 sse2
[ 30%] Built target headers
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_at_kern.cpp.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bn_kern.cpp.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o
Scanning dependencies of target renamedsp128.h_generated
[ 30%] Generating renamedsp128.h
[ 30%] Built target renamedsp128.h_generated
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bt_kern.cpp.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_an_kern.cpp.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/field_mask_utility.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_escaping.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_objectwriter.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_stream_parser.cc.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_at_kern.cpp.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bn_kern.cpp.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/object_writer.cc.o
Scanning dependencies of target renamedsp256.h_generated
[ 30%] Generating renamedsp256.h
[ 30%] Built target renamedsp256.h_generated
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/proto_writer.cc.o
Scanning dependencies of target dispavx.c_generated
[ 30%] Generating dispavx.c
[ 30%] Built target dispavx.c_generated
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectsource.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectwriter.cc.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bt_kern.cpp.o
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o
Scanning dependencies of target renameSSE2.h_generated
[ 30%] Built target renameSSE2.h_generated
[ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o
Scanning dependencies of target renameFMA4.h_generated
[ 30%] Built target renameFMA4.h_generated
[ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution.cpp.o
[ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o
Scanning dependencies of target renameAVX2.h_generated
[ 31%] Built target renameAVX2.h_generated
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution_utils.cpp.o
Scanning dependencies of target renameAVX2128.h_generated
[ 31%] Built target renameAVX2128.h_generated
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_convolution.cpp.o
[ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o
[ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o
[ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o
Scanning dependencies of target renameSSE4.h_generated
[ 31%] Built target renameSSE4.h_generated
[ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_inner_product.cpp.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o
[ 31%] Linking CXX static library ../../../lib/libprotobuf.a
[ 31%] Built target libprotobuf
Scanning dependencies of target caffe2_nvrtc
[ 31%] Building CXX object caffe2/CMakeFiles/caffe2_nvrtc.dir/__/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp.o
In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations]
_(hipCtxGetCurrent) \
^~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’
#define CREATE_MEMBER(name) decltype(&name) name;
^~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’
AT_FORALL_NVRTC(CREATE_MEMBER)
^~~~~~~~~~~~~~~
In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323,
from /opt/rocm/hip/include/hip/hip_runtime.h:64,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here
hipError_t hipCtxGetCurrent(hipCtx_t* ctx);
^~~~~~~~~~~~~~~~
In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations]
_(hipCtxGetCurrent) \
^~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’
#define CREATE_MEMBER(name) decltype(&name) name;
^~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’
AT_FORALL_NVRTC(CREATE_MEMBER)
^~~~~~~~~~~~~~~
In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323,
from /opt/rocm/hip/include/hip/hip_runtime.h:64,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here
hipError_t hipCtxGetCurrent(hipCtx_t* ctx);
^~~~~~~~~~~~~~~~
Scanning dependencies of target mkrename_gnuabi
[ 31%] Building C object sleef/src/libm/CMakeFiles/mkrename_gnuabi.dir/mkrename_gnuabi.c.o
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp: In function ‘at::cuda::NVRTC* at::cuda::load_nvrtc()’:
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations]
_(hipCtxGetCurrent) \
^~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’
#define CREATE_ASSIGN(name) self->name = name;
^~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’
AT_FORALL_NVRTC(CREATE_ASSIGN)
^~~~~~~~~~~~~~~
In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323,
from /opt/rocm/hip/include/hip/hip_runtime.h:64,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here
hipError_t hipCtxGetCurrent(hipCtx_t* ctx);
^~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations]
_(hipCtxGetCurrent) \
^~~~~~~~~~~~~~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’
#define CREATE_ASSIGN(name) self->name = name;
^~~~
/home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’
AT_FORALL_NVRTC(CREATE_ASSIGN)
^~~~~~~~~~~~~~~
In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323,
from /opt/rocm/hip/include/hip/hip_runtime.h:64,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3,
from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1:
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here
hipError_t hipCtxGetCurrent(hipCtx_t* ctx);
^~~~~~~~~~~~~~~~
[ 31%] Linking CXX shared library ../lib/libcaffe2_nvrtc.so
[ 31%] Linking C executable ../../bin/mkrename_gnuabi
[ 31%] Built target mkrename_gnuabi
Scanning dependencies of target mkmasked_gnuabi
[ 31%] Building C object sleef/src/libm/CMakeFiles/mkmasked_gnuabi.dir/mkmasked_gnuabi.c.o
[ 31%] Built target caffe2_nvrtc
Scanning dependencies of target arraymap
[ 31%] Building C object sleef/src/common/CMakeFiles/arraymap.dir/arraymap.c.o
[ 31%] Linking C executable ../../bin/mkmasked_gnuabi
[ 31%] Built target mkmasked_gnuabi
Scanning dependencies of target generate-torch-sources
[ 31%] Generating ../../torch/csrc/autograd/generated/Functions.cpp, ../../torch/csrc/autograd/generated/VariableType_0.cpp, ../../torch/csrc/autograd/generated/VariableType_1.cpp, ../../torch/csrc/autograd/generated/VariableType_2.cpp, ../../torch/csrc/autograd/generated/VariableType_3.cpp, ../../torch/csrc/autograd/generated/VariableType_4.cpp, ../../torch/csrc/jit/generated/register_aten_ops_0.cpp, ../../torch/csrc/jit/generated/register_aten_ops_1.cpp, ../../torch/csrc/jit/generated/register_aten_ops_2.cpp, ../../torch/csrc/nn/THNN.cpp, ../../torch/csrc/nn/THCUNN.cpp, ../../torch/csrc/autograd/generated/VariableType.h, ../../torch/csrc/autograd/generated/Functions.h, ../../torch/csrc/autograd/generated/variable_factories.h, ../../torch/csrc/autograd/generated/python_functions.cpp, ../../torch/csrc/autograd/generated/python_variable_methods.cpp, ../../torch/csrc/autograd/generated/python_torch_functions.cpp, ../../torch/csrc/autograd/generated/python_nn_functions.cpp, ../../torch/csrc/autograd/generated/python_functions.h, ../../torch/csrc/autograd/generated/python_variable_methods_dispatch.h, ../../torch/csrc/autograd/generated/python_torch_functions_dispatch.h, ../../torch/csrc/autograd/generated/python_nn_functions.h, ../../torch/csrc/autograd/generated/python_nn_functions_dispatch.h
[ 31%] Built target arraymap
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o
Skipped writing torch/csrc/nn/THNN.cpp
Skipped writing torch/csrc/nn/THCUNN.cpp
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_conv_kernel.cpp.o
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_convolution.cpp.o
Skipped writing torch/csrc/autograd/generated/python_functions.h
Skipped writing torch/csrc/autograd/generated/python_functions.cpp
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_kernel.cpp.o
Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp
Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_winograd_kernel_f32.cpp.o
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
Scanning dependencies of target torch_python_stubs
[ 31%] Generating ../../../torch/__init__.pyi, ../../../torch/nn/functional.pyi
[ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution.cpp.o
Skipped writing torch/csrc/autograd/generated/VariableType.h
Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp
Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp
Skipped writing ./torch/__init__.pyi
Skipped writing ./torch/nn/functional.pyi
Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp
[ 31%] Built target torch_python_stubs
[ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution_winograd.cpp.o
Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp
Scanning dependencies of target libprotoc
[ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_lrn.cpp.o
[ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o
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/variable_factories.h
[ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/command_line_interface.cc.o
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
[ 32%] Built target generate-torch-sources
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum.cc.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o
[ 33%] Built target fbgemm_avx2
Scanning dependencies of target cpuinfo
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_extension.cc.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_field.cc.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/current.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_file.cc.o
[ 33%] Linking C static library ../../lib/libcpuinfo.a
[ 33%] Built target cpuinfo
[ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_generator.cc.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o
[ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o
[ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o
Scanning dependencies of target cpuinfo_internals
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/api.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/info.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o
[ 33%] Generating src/x86_64-fma/2d-fourier-8x8.py.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o
[ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/init.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/cpuinfo.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/current.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o
[ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o
[ 34%] Linking C static library ../../lib/libcpuinfo_internals.a
[ 34%] Built target cpuinfo_internals
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_convolution.cpp.o
[ 34%] Generating src/x86_64-fma/2d-fourier-16x16.py.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_conv_kernel.cpp.o
Scanning dependencies of target nnpack_reference_layers
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-input-gradient.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o
[ 34%] Linking C static library ../../lib/libnnpack_reference_layers.a
[ 34%] Built target nnpack_reference_layers
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o
Scanning dependencies of target gmock
[ 34%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_service.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o
Scanning dependencies of target gtest_main
[ 34%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
Scanning dependencies of target benchmark_main
[ 34%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o
[ 34%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 34%] Built target gtest_main
Scanning dependencies of target fbgemm
[ 34%] Linking CXX static library ../../lib/libfbgemm.a
[ 34%] Built target fbgemm
[ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/nccl/gloo_hip_generated_nccl.hip.o
[ 34%] Linking CXX static library ../../../lib/libbenchmark_main.a
[ 34%] Built target benchmark_main
[ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip.hip.o
[ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_bcube.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o
[ 34%] Linking CXX static library ../../../lib/libgmock.a
[ 34%] Built target gmock
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o
[ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_halving_doubling.cc.o
[ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_local.cc.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_conv_kernel_f32.cpp.o
[ 34%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_generator.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o
[ 34%] Generating src/x86_64-fma/blas/s8gemm.py.o
[ 34%] Generating src/x86_64-fma/blas/c8gemm.py.o
[ 34%] Generating src/x86_64-fma/blas/s4c6gemm.py.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_convolution.cpp.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o
[ 34%] Generating src/x86_64-fma/blas/conv1x1.py.o
[ 34%] Generating src/x86_64-fma/blas/sgemm.py.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_conv_kernel_f32.cpp.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message.cc.o
[ 34%] Generating src/x86_64-fma/max-pooling.py.o
[ 34%] Generating src/x86_64-fma/relu.py.o
[ 34%] Generating src/x86_64-fma/softmax.py.o
[ 34%] Generating src/x86_64-fma/blas/sdotxf.py.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o
[ 34%] Generating src/x86_64-fma/blas/shdotxf.py.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_convolution.cpp.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o
[ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_transpose_src_utils.cpp.o
Scanning dependencies of target nnpack
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o
[ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/pooling-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/softmax-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-output.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-input-gradient.c.o
[ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-input-gradient.c.o
[ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-kernel-gradient.c.o
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o
[ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-output.c.o
[ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/x86_64-fma/softmax.c.o
[ 35%] Linking C static library ../../lib/libnnpack.a
[ 35%] Built target nnpack
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o
[ 35%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o
Scanning dependencies of target c10_hip
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o
[ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPCachingAllocator.cpp.o
cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_context.cc.o
cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’
cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’
[ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPStream.cpp.o
cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++
[ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_doc_comment.cc.o
cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’
cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’
[ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum.cc.o
[ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPGuardImpl.cpp.o
cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++
cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’
cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’
[ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPTest.cpp.o
cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++
[ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field.cc.o
[ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_conv_kernel_f32.cpp.o
cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’
cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’
[ 36%] Linking CXX shared library ../../lib/libc10_hip.so
[ 36%] Built target c10_hip
[ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_convolution.cpp.o
Scanning dependencies of target __aten_op_header_gen
[ 37%] Generating contrib/aten/aten_op.h
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o
Skipping backward Because of Ret: void (void)
Skipping backward Because of Ret: void (void)
Skipping backward Because of Ret: void (void)
Skipping backward Because of Ret: void (void)
Skipping set_data Because of Ret: void (void)
Skipping _cudnn_rnn_backward Because of Arg: std::array<bool,4> (std::array<bool,4>)
Skipping _cudnn_init_dropout_state because it is a factory method
Skipping _fused_dropout Because of Arg: Generator * (Generator *)
Skipping _sobol_engine_draw Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping arange because it is a factory method
Skipping argmax Because of Arg: c10::optional<int64_t> (int64_t)
Skipping argmax Because of Arg: c10::optional<int64_t> (int64_t)
Skipping argmin Because of Arg: c10::optional<int64_t> (int64_t)
Skipping argmin Because of Arg: c10::optional<int64_t> (int64_t)
Skipping as_strided Because of Arg: c10::optional<int64_t> (int64_t)
Skipping bartlett_window because it is a factory method
Skipping bernoulli Because of Arg: Generator * (Generator *)
Skipping bernoulli Because of Arg: Generator * (Generator *)
Skipping blackman_window because it is a factory method
Skipping clamp Because of Arg: c10::optional<Scalar> (Scalar)
Skipping clamp Because of Arg: c10::optional<Scalar> (Scalar)
Skipping contiguous Because of Arg: MemoryFormat (MemoryFormat)
Skipping cumsum Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping cumprod Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping einsum Because of Arg: std::string (std::string)
Skipping empty because it is a factory method
Skipping _empty_affine_quantized because it is a factory method
Skipping _empty_per_channel_affine_quantized_like because it is a factory method
Skipping empty_like because it is a factory method
Skipping empty_strided because it is a factory method
Skipping eye because it is a factory method
Skipping full because it is a factory method
Skipping full_like because it is a factory method
Skipping from_file because it is a factory method
Skipping hann_window because it is a factory method
Skipping hamming_window because it is a factory method
Skipping _cufft_set_plan_cache_max_size Because of Ret: void (void)
Skipping _cufft_clear_plan_cache Because of Ret: void (void)
Skipping fbgemm_linear_quantize_weight Because of Ret: double (double)
Skipping linspace because it is a factory method
Skipping logspace because it is a factory method
Skipping log_softmax Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping mean Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping mean Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping miopen_rnn_backward Because of Arg: std::array<bool,4> (std::array<bool,4>)
Skipping ones because it is a factory method
Skipping ones_like because it is a factory method
Skipping scalar_tensor because it is a factory method
Skipping rand because it is a factory method
Skipping rand_like because it is a factory method
Skipping randint because it is a factory method
Skipping randint_like because it is a factory method
Skipping randn because it is a factory method
Skipping randn_like because it is a factory method
Skipping randperm because it is a factory method
Skipping range because it is a factory method
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t)
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t)
Skipping rrelu Because of Arg: Generator * (Generator *)
Skipping softmax Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t)
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t)
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t)
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t)
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t)
Skipping sum Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping sum Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping prod Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping prod Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping unique_consecutive Because of Arg: c10::optional<int64_t> (int64_t)
Skipping zeros because it is a factory method
Skipping zeros_like because it is a factory method
Skipping _standard_gamma Because of Arg: Generator * (Generator *)
Skipping _sample_dirichlet Because of Arg: Generator * (Generator *)
Skipping poisson Because of Arg: Generator * (Generator *)
Skipping _sparse_sum Because of Arg: ScalarType (ScalarType)
Skipping _sparse_sum Because of Arg: ScalarType (ScalarType)
Skipping norm Because of Arg: c10::optional<Scalar> (Scalar)
Skipping norm Because of Arg: c10::optional<Scalar> (Scalar)
Skipping norm Because of Arg: c10::optional<Scalar> (Scalar)
Skipping norm Because of Arg: c10::optional<Scalar> (Scalar)
Skipping sparse_coo_tensor because it is a factory method
Skipping _sparse_coo_tensor_unsafe because it is a factory method
Skipping _sparse_coo_tensor_with_dims because it is a factory method
Skipping _sparse_coo_tensor_with_dims_and_tensors because it is a factory method
Skipping quantize_linear Because of Arg: ScalarType (ScalarType)
Skipping quantize_linear_per_channel Because of Arg: ScalarType (ScalarType)
Skipping _dequantize_linear Because of Arg: ScalarType (ScalarType)
Skipping q_scale Because of Ret: double (double)
Skipping qscheme Because of Ret: QScheme (QScheme)
Skipping to because it is a factory method
Skipping quantized_lstm Because of Arg: c10::optional<ScalarType> (ScalarType)
Skipping cross Because of Arg: c10::optional<int64_t> (int64_t)
Skipping tril_indices because it is a factory method
Skipping triu_indices because it is a factory method
Skipping multinomial Because of Arg: Generator * (Generator *)
Skipping _multinomial_alias_draw Because of Arg: Generator * (Generator *)
Skipping normal because it is a factory method
Skipping rrelu_with_noise Because of Arg: Generator * (Generator *)
Skipping avg_pool2d Because of Arg: c10::optional<int64_t> (int64_t)
Skipping avg_pool2d_backward Because of Arg: c10::optional<int64_t> (int64_t)
Skipping avg_pool3d Because of Arg: c10::optional<int64_t> (int64_t)
Skipping avg_pool3d_backward Because of Arg: c10::optional<int64_t> (int64_t)
[ 37%] Built target __aten_op_header_gen
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_eltwise.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_lite.cc.o
Scanning dependencies of target renameAVX.h_generated
[ 37%] Built target renameAVX.h_generated
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_i8i8_pooling.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension_lite.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_field.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn.cpp.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn_kernel_f32.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_file.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator.cc.o
[ 37%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator_factory.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_helpers.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field_lite.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message.cc.o
Scanning dependencies of target alias_avx512f.h_generated
[ 37%] Generating alias_avx512f.h
[ 37%] Built target alias_avx512f.h_generated
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder.cc.o
Scanning dependencies of target dispsse.c_generated
[ 37%] Generating dispsse.c
[ 37%] Built target dispsse.c_generated
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder_utils.cpp.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nchw_pooling.cpp.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ncsp_batch_normalization.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nhwc_pooling.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field_lite.cc.o
Scanning dependencies of target dispavx_obj
[ 37%] Building C object sleef/src/libm/CMakeFiles/dispavx_obj.dir/dispavx.c.o
Scanning dependencies of target sleefsse2
[ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimdsp.c.o
[ 37%] Built target dispavx_obj
[ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimddp.c.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nspc_batch_normalization.cpp.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_lite.cc.o
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_name_resolver.cc.o
[ 37%] Built target sleefsse2
[ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field.cc.o
[ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_deconvolution.cpp.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_service.cc.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_eltwise.cpp.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.cc.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field_lite.cc.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/js_generator.cc.o
[ 38%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring_chunked.cc.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/well_known_types_embed.cc.o
[ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o
[ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_shuffle.cpp.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_common.cpp.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru.cpp.o
[ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_broadcast_one_to_all.cc.o
[ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o
Scanning dependencies of target sleeffma4
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimdsp.c.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru_lbr.cpp.o
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimddp.c.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_lstm.cpp.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_rnn.cpp.o
[ 39%] Built target sleeffma4
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/ref_rnn.cpp.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/rnn_utils.cpp.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_concat.cpp.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o
Scanning dependencies of target sleefavx2
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimdsp.c.o
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimddp.c.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o
Scanning dependencies of target sleefavx2128
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimdsp.c.o
[ 39%] Built target sleefavx2
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimddp.c.o
[ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_sum.cpp.o
Scanning dependencies of target sleefsse4
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimdsp.c.o
[ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimddp.c.o
[ 39%] Built target sleefavx2128
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o
Scanning dependencies of target qnnpack
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o
[ 39%] Linking CXX static library ../../../../lib/libmkldnn.a
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o
[ 39%] Built target sleefsse4
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o
Scanning dependencies of target gmock_main
[ 39%] Built target mkldnn
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o
[ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o
[ 39%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o
Scanning dependencies of target c10_TypeList_test
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o
[ 39%] Building CXX object c10/test/CMakeFiles/c10_TypeList_test.dir/util/TypeList_test.cpp.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o
Scanning dependencies of target c10_TensorTypeId_test
[ 39%] Building CXX object c10/test/CMakeFiles/c10_TensorTypeId_test.dir/core/TensorTypeId_test.cpp.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o
Scanning dependencies of target c10_flags_test
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o
[ 39%] Building CXX object c10/test/CMakeFiles/c10_flags_test.dir/util/flags_test.cpp.o
[ 39%] Linking CXX static library ../../../lib/libgmock_main.a
[ 39%] Built target gmock_main
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o
Scanning dependencies of target c10_LeftRight_test
[ 39%] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o
[ 39%] Linking CXX executable ../../bin/c10_TypeList_test
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o
[ 39%] Built target c10_TypeList_test
Scanning dependencies of target c10_registry_test
[ 39%] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o
[ 39%] Linking CXX executable ../../bin/c10_TensorTypeId_test
[ 39%] Linking CXX static library ../../../lib/libprotoc.a
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o
[ 39%] Built target libprotoc
[ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o
[ 39%] Built target c10_TensorTypeId_test
Scanning dependencies of target c10_Half_test
[ 39%] Building CXX object c10/test/CMakeFiles/c10_Half_test.dir/util/Half_test.cpp.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o
[ 40%] Linking CXX executable ../../bin/c10_flags_test
Scanning dependencies of target c10_Array_test
[ 40%] Built target c10_flags_test
Scanning dependencies of target c10_tempfile_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_Array_test.dir/util/Array_test.cpp.o
[ 40%] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o
[ 40%] Linking CXX executable ../../bin/c10_Half_test
[ 40%] Built target c10_Half_test
Scanning dependencies of target c10_StreamGuard_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o
[ 40%] Linking CXX executable ../../bin/c10_Array_test
[ 40%] Built target c10_Array_test
Scanning dependencies of target c10_TypeTraits_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o
[ 40%] Linking CXX executable ../../bin/c10_registry_test
[ 40%] Linking CXX executable ../../bin/c10_LeftRight_test
[ 40%] Built target c10_registry_test
Scanning dependencies of target c10_Metaprogramming_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_Metaprogramming_test.dir/util/Metaprogramming_test.cpp.o
[ 40%] Linking CXX executable ../../bin/c10_StreamGuard_test
[ 40%] Built target c10_LeftRight_test
Scanning dependencies of target c10_DeviceGuard_test
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o
[ 40%] Building CXX object c10/test/CMakeFiles/c10_DeviceGuard_test.dir/core/DeviceGuard_test.cpp.o
[ 40%] Built target c10_StreamGuard_test
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o
[ 40%] Linking CXX executable ../../bin/c10_tempfile_test
Scanning dependencies of target c10_InlineDeviceGuard_test
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o
[ 40%] Built target c10_tempfile_test
Scanning dependencies of target c10_InlineStreamGuard_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineDeviceGuard_test.dir/core/impl/InlineDeviceGuard_test.cpp.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o
[ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineStreamGuard_test.dir/core/impl/InlineStreamGuard_test.cpp.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o
[ 40%] Linking CXX executable ../../bin/c10_TypeTraits_test
[ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o
[ 40%] Built target c10_TypeTraits_test
[ 40%] Linking C static library ../../lib/libqnnpack.a
Scanning dependencies of target c10_bfloat16_test
[ 40%] Built target qnnpack
Scanning dependencies of target c10_intrusive_ptr_test
[ 40%] Building CXX object c10/test/CMakeFiles/c10_bfloat16_test.dir/util/bfloat16_test.cpp.o
[ 41%] Building CXX object c10/test/CMakeFiles/c10_intrusive_ptr_test.dir/util/intrusive_ptr_test.cpp.o
[ 41%] Linking CXX executable ../../bin/c10_Metaprogramming_test
[ 41%] Linking CXX executable ../../bin/c10_bfloat16_test
[ 41%] Built target c10_Metaprogramming_test
Scanning dependencies of target c10_either_test
[ 41%] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o
[ 41%] Built target c10_bfloat16_test
Scanning dependencies of target c10_logging_test
[ 42%] Linking CXX executable ../../bin/c10_DeviceGuard_test
[ 42%] Building CXX object c10/test/CMakeFiles/c10_logging_test.dir/util/logging_test.cpp.o
[ 42%] Built target c10_DeviceGuard_test
Scanning dependencies of target c10_typeid_test
[ 42%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o
[ 42%] Linking CXX executable ../../bin/c10_InlineDeviceGuard_test
[ 42%] Linking CXX executable ../../bin/c10_InlineStreamGuard_test
[ 42%] Built target c10_InlineDeviceGuard_test
Scanning dependencies of target c10_hip_HIPTest
[ 42%] Building CXX object c10/hip/test/CMakeFiles/c10_hip_HIPTest.dir/impl/HIPTest.cpp.o
[ 42%] Built target c10_InlineStreamGuard_test
Scanning dependencies of target sleefavx
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimdsp.c.o
[ 42%] Linking CXX executable ../../../bin/c10_hip_HIPTest
[ 42%] Built target c10_hip_HIPTest
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimddp.c.o
[ 42%] Linking CXX executable ../../bin/c10_logging_test
[ 42%] Built target c10_logging_test
Scanning dependencies of target sleefavx512f
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimdsp.c.o
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimddp.c.o
[ 42%] Linking CXX executable ../../bin/c10_typeid_test
[ 42%] Built target c10_typeid_test
Scanning dependencies of target dispsse_obj
[ 42%] Building C object sleef/src/libm/CMakeFiles/dispsse_obj.dir/dispsse.c.o
[ 42%] Built target sleefavx
Scanning dependencies of target protoc
[ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/protoc.dir/__/src/google/protobuf/compiler/main.cc.o
[ 42%] Built target sleefavx512f
[ 42%] Linking CXX executable ../../../bin/protoc
[ 42%] Built target protoc
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/torch.proto
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2.proto
Scanning dependencies of target gen_onnx_proto
[ 42%] Running gen_proto.py on onnx/onnx.in.proto
Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx.in.proto
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto3
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-ml.pb.h
generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_pb.py
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2_legacy.proto
[ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/metanet.proto
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/hsm.proto
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/predictor_consts.proto
[ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/prof_dag.proto
Scanning dependencies of target Caffe2_PROTO
[ 42%] Built target dispsse_obj
Scanning dependencies of target sleef
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefsp.c.o
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefdp.c.o
[ 42%] Built target gen_onnx_proto
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefld.c.o
[ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
[ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
[ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefqp.c.o
[ 42%] Running gen_proto.py on onnx/onnx-operators.in.proto
Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx-operators.in.proto
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto3
Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators-ml.pb.h
generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_operators_pb.py
[ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
[ 42%] Linking C static library ../../lib/libsleef.a
[ 42%] Built target sleef
[ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
Scanning dependencies of target onnx_proto
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o
[ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o
[ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
[ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
[ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
[ 43%] Linking CXX executable ../../bin/c10_either_test
[ 43%] Built target c10_either_test
[ 43%] Linking CXX static library ../../lib/libonnx_proto.a
[ 43%] Built target onnx_proto
Scanning dependencies of target onnx
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o
[ 43%] Built target Caffe2_PROTO
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o
Scanning dependencies of target gloo_hip
[ 43%] Linking CXX static library ../../../lib/libgloo_hip.a
[ 43%] Built target gloo_hip
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o
[ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o
Scanning dependencies of target caffe2_dnnlowp_avx2_ops
[ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o
[ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o
[ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o
Scanning dependencies of target caffe2_protos
[ 43%] Linking CXX static library ../lib/libcaffe2_protos.a
Scanning dependencies of target Caffe2_perfkernels_avx512
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o
[ 44%] Built target caffe2_protos
[ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o
[ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o
[ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx512.a
[ 44%] Built target Caffe2_perfkernels_avx512
[ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o
Scanning dependencies of target Caffe2_perfkernels_avx
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/adagrad_avx.cc.o
[ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o
[ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o
Scanning dependencies of target Caffe2_perfkernels_avx2
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o
[ 44%] Linking CXX executable ../../bin/c10_intrusive_ptr_test
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o
[ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o
[ 44%] Built target c10_intrusive_ptr_test
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o
[ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o
[ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o
[ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o
[ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx.a
[ 44%] Built target Caffe2_perfkernels_avx
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o
[ 45%] Built target caffe2_dnnlowp_avx2_ops
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o
[ 45%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx2.a
[ 45%] Built target Caffe2_perfkernels_avx2
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o
[ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o
[ 45%] Linking CXX static library ../../lib/libonnx.a
[ 45%] Built target onnx
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHBlas.hip.o
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorageCopy.hip.o
[ 45%] Generating ../../torch/csrc/autograd/generated/Functions.cpp, ../../torch/csrc/autograd/generated/VariableType_0.cpp, ../../torch/csrc/autograd/generated/VariableType_1.cpp, ../../torch/csrc/autograd/generated/VariableType_2.cpp, ../../torch/csrc/autograd/generated/VariableType_3.cpp, ../../torch/csrc/autograd/generated/VariableType_4.cpp, ../../torch/csrc/jit/generated/register_aten_ops_0.cpp, ../../torch/csrc/jit/generated/register_aten_ops_1.cpp, ../../torch/csrc/jit/generated/register_aten_ops_2.cpp, ../../torch/csrc/nn/THNN.cpp, ../../torch/csrc/nn/THCUNN.cpp, ../../torch/csrc/autograd/generated/VariableType.h, ../../torch/csrc/autograd/generated/Functions.h, ../../torch/csrc/autograd/generated/variable_factories.h, ../../torch/csrc/autograd/generated/python_functions.cpp, ../../torch/csrc/autograd/generated/python_variable_methods.cpp, ../../torch/csrc/autograd/generated/python_torch_functions.cpp, ../../torch/csrc/autograd/generated/python_nn_functions.cpp, ../../torch/csrc/autograd/generated/python_functions.h, ../../torch/csrc/autograd/generated/python_variable_methods_dispatch.h, ../../torch/csrc/autograd/generated/python_torch_functions_dispatch.h, ../../torch/csrc/autograd/generated/python_nn_functions.h, ../../torch/csrc/autograd/generated/python_nn_functions_dispatch.h
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHSleep.hip.o
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHReduceApplyUtils.hip.o
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensor.hip.o
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorCopy.hip.o
Skipped writing torch/csrc/nn/THNN.cpp
Skipped writing torch/csrc/nn/THCUNN.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
/home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages]
THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k,
^
/opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex'
ROCBLAS_VA_OPT_PRAGMA(GCC warning "rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored", __VA_ARGS__) \
^
/opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA'
ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__))
^
/opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL'
#define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count)
^
/opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2'
#define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma)
^
<scratch space>:51:1: note: expanded from here
ROCBLAS_VA_OPT_PRAGMA_SELECTN
^
/opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN'
#define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t'
__host__ __device__ inline cudaStream_t default_stream()
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy'
return cudaStreamLegacy;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t'
cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t'
cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'?
cudaDeviceSynchronize();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here
hipError_t hipDeviceSynchronize(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t'
cudaStream_t stream;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t'
execute_on_stream_base(cudaStream_t stream_ = default_stream())
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &s) const
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t'
friend cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t'
friend cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t'
execute_on_stream(cudaStream_t stream) : base_t(stream){};
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base<thrust::cuda_cub::execute_on_stream>') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream'
execute_on_stream() : base_t(){};
^~~~~~
/opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &stream) const
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError'
cudaError status;
^
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'?
status = cuda_cub::trivial_copy_to_device(dst,
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here
trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'?
cuda_cub::stream(device_s));
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here
__host__ __device__ hipStream_t stream(execution_policy<Derived>& policy)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'?
cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H->D: failed");
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here
static void __host__ __device__ throw_on_error(hipError_t status, char const* msg)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
1 warning generated.
Skipped writing torch/csrc/autograd/generated/VariableType.h
Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp
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
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/variable_factories.h
/home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages]
THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k,
^
/opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex'
ROCBLAS_VA_OPT_PRAGMA(GCC warning "rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored", __VA_ARGS__) \
^
/opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA'
ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__))
^
/opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL'
#define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count)
^
/opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2'
#define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma)
^
<scratch space>:51:1: note: expanded from here
ROCBLAS_VA_OPT_PRAGMA_SELECTN
^
/opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN'
#define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t'
__host__ __device__ inline cudaStream_t default_stream()
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy'
return cudaStreamLegacy;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t'
cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t'
cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'?
cudaDeviceSynchronize();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here
hipError_t hipDeviceSynchronize(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t'
cudaStream_t stream;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t'
execute_on_stream_base(cudaStream_t stream_ = default_stream())
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &s) const
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t'
friend cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t'
friend cudaError_t THRUST_RUNTIME_FUNCTION
^
[ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o
/opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t'
execute_on_stream(cudaStream_t stream) : base_t(stream){};
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base<thrust::cuda_cub::execute_on_stream>') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream'
execute_on_stream() : base_t(){};
^~~~~~
/opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &stream) const
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError'
cudaError status;
^
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'?
status = cuda_cub::trivial_copy_to_device(dst,
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here
trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'?
cuda_cub::stream(device_s));
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here
__host__ __device__ hipStream_t stream(execution_policy<Derived>& policy)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'?
cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H->D: failed");
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here
static void __host__ __device__ throw_on_error(hipError_t status, char const* msg)
^
Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp
Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp
20 errors generated.
CMake Error at torch_generated_THHStorage.hip.o.cmake:174 (message):
Error generating file
/home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHStorage.hip.o

make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:86: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 warning generated.
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t'
__host__ __device__ inline cudaStream_t default_stream()
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy'
return cudaStreamLegacy;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t'
cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t'
cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'?
cudaDeviceSynchronize();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here
hipError_t hipDeviceSynchronize(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t'
cudaStream_t stream;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t'
execute_on_stream_base(cudaStream_t stream_ = default_stream())
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &s) const
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t'
friend cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t'
friend cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t'
execute_on_stream(cudaStream_t stream) : base_t(stream){};
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base<thrust::cuda_cub::execute_on_stream>') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream'
execute_on_stream() : base_t(){};
^~~~~~
/opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &stream) const
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError'
cudaError status;
^
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'?
status = cuda_cub::trivial_copy_to_device(dst,
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here
trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'?
cuda_cub::stream(device_s));
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here
__host__ __device__ hipStream_t stream(execution_policy<Derived>& policy)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'?
cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H->D: failed");
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here
static void __host__ __device__ throw_on_error(hipError_t status, char const* msg)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t'
__host__ __device__ inline cudaStream_t default_stream()
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy'
return cudaStreamLegacy;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t'
cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t'
cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'?
cudaDeviceSynchronize();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here
hipError_t hipDeviceSynchronize(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t'
cudaStream_t stream;
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t'
execute_on_stream_base(cudaStream_t stream_ = default_stream())
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &s) const
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t'
friend cudaStream_t __host__ __device__
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t'
friend cudaError_t THRUST_RUNTIME_FUNCTION
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'?
return cudaGetLastError();
^
/opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here
hipError_t hipGetLastError(void);
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34:
/opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t'
execute_on_stream(cudaStream_t stream) : base_t(stream){};
^
/opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base<thrust::cuda_cub::execute_on_stream>') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream'
execute_on_stream() : base_t(){};
^~~~~~
/opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t'
on(cudaStream_t const &stream) const
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError'
cudaError status;
^
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'?
status = cuda_cub::trivial_copy_to_device(dst,
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here
trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'?
cuda_cub::stream(device_s));
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here
__host__ __device__ hipStream_t stream(execution_policy<Derived>& policy)
^
In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21:
In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39:
In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99:
/opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'?
cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H->D: failed");
^~~~~~~~~~
/opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here
static void __host__ __device__ throw_on_error(hipError_t status, char const* msg)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
CMake Error at torch_generated_THHTensorMath.hip.o.cmake:174 (message):
Error generating file
/home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHTensorMath.hip.o

make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:114: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4459: caffe2/CMakeFiles/torch.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Traceback (most recent call last):
File "setup.py", line 759, in <module>
build_deps()
File "setup.py", line 321, in build_deps
cmake=cmake)
File "/home/luke/Builds/pytorch/tools/build_pytorch_libs.py", line 63, in build_caffe2
cmake.build(my_env)
File "/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py", line 330, in build
self.run(build_args, my_env)
File "/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py", line 143, in run
check_call(command, cwd=self.build_dir, env=env)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 2.

I'm not sure if this belongs here or the ROCm fork of this repository, but I see the same errors on each.

To Reproduce

Steps to reproduce the behavior:

Have a supported AMD card and install ROCm.

"hipify" the source with python3 tools/amd_build/build_amd.py

Try to build with USE_ROCM=1 USE_LMDB=1 USE_OPENCV=1 MAX_JOBS=8 python3 setup.py install --user

Expected behavior

I expect it to build.

Environment

PyTorch version: N/A

Is debug build: N/A

CUDA used to build PyTorch: N/A

OS: Ubuntu 19.04

GCC version: (Ubuntu 8.3.0-6ubuntu1) 8.3.0

CMake version: version 3.15.2

Python version: 3.7

Is CUDA available: N/A

CUDA runtime version: Could not collect

GPU models and configuration: Could not collect

Nvidia driver version: Could not collect

cuDNN version: Could not collect

Versions of relevant libraries:

[pip3] numpy==1.17.0

[conda] Could not collect

PyTorch Version: master

OS: Ubuntu 19.04

How you installed PyTorch: source

Build command you used: USE_ROCM=1 USE_LMDB=1 USE_OPENCV=1 MAX_JOBS=8 python3 setup.py install --user

Python version: 3.7.3

CUDA/cuDNN version: ROCm 2.7.22

GPU models and configuration: Radeon VII

Issue 2:
🐛 Bug

Tensor.expand does not detach when called inside torch.no_grad().

To Reproduce

x = torch.tensor(0., requires_grad=True)
with torch.no_grad():
y = x.expand(1)
assert not y.requires_grad # fails

Expected behavior

Like all other torch operations, .expand() should respect torch.no_grad().

Environment

$ python ~/pytorch/torch/utils/collect_env.py
Collecting environment information...
PyTorch version: 1.2.0
Is debug build: No
CUDA used to build PyTorch: None

OS: Mac OSX 10.14.5
GCC version: Could not collect
CMake version: version 3.12.0

Python version: 3.7
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA

Versions of relevant libraries:
[pip] numpy==1.17.1
[pip] torch==1.2.0
[pip] torchfile==0.1.0
[pip] torchvision==0.4.0
[conda] torch 1.2.0 pypi_0 pypi
[conda] torchfile 0.1.0 pypi_0 pypi
[conda] torchvision 0.4.0 pypi_0 pypi

cc @ezyang @ssnl @albanD @zou3519