Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ pytorch git:(master) ✗ TORCH_CUDA_ARCH_LIST="7.5" NO_TEST=1 USE_MKLDNN=0 FULL_CAFFE2=1 python setup.py build -cmake
- Building wheel torch-1.13.0a0+gitfefff54
- -- Building version 1.13.0a0+gitfefff54
- cmake --build . --target install --config Release
- [0/1] Re-running CMake...
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/CMakeDependentOption.cmake:89 (message):
- Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
- Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
- cmake_policy command to set the policy and suppress this warning.
- Call Stack (most recent call first):
- CMakeLists.txt:255 (cmake_dependent_option)
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/CMakeDependentOption.cmake:89 (message):
- Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
- Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
- cmake_policy command to set the policy and suppress this warning.
- Call Stack (most recent call first):
- CMakeLists.txt:286 (cmake_dependent_option)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- std::exception_ptr is supported.
- -- Current compiler supports avx2 extension. Will build perfkernels.
- -- Current compiler supports avx512f extension. Will build fbgemm.
- -- Found CUDA: /usr/local/cuda (found version "11.6")
- -- Caffe2: CUDA detected: 11.6
- -- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
- -- Caffe2: CUDA toolkit directory: /usr/local/cuda
- -- Caffe2: Header version is: 11.6
- -- Found cuDNN: v8.4.1 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)
- -- /usr/local/cuda/lib64/libnvrtc.so shorthash is 4dd39364
- CMake Warning at cmake/public/utils.cmake:385 (message):
- In the future we will require one to explicitly pass TORCH_CUDA_ARCH_LIST
- to cmake instead of implicitly setting it as an env variable. This will
- become a FATAL_ERROR in future version of pytorch.
- Call Stack (most recent call first):
- cmake/public/cuda.cmake:440 (torch_cuda_get_nvcc_gencode_flag)
- cmake/Dependencies.cmake:43 (include)
- CMakeLists.txt:692 (include)
- -- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75
- -- Building using own protobuf under third_party per request.
- -- Use custom protobuf build.
- --
- -- 3.13.0.0
- -- Caffe2 protobuf include directory: $<BUILD_INTERFACE:......pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
- -- Trying to find preferred BLAS backend of choice: MKL
- -- MKL_THREADING = OMP
- -- MKL_THREADING = OMP
- CMake Warning at cmake/Dependencies.cmake:221 (message):
- MKL could not be found. Defaulting to Eigen
- Call Stack (most recent call first):
- CMakeLists.txt:692 (include)
- CMake Warning at cmake/Dependencies.cmake:254 (message):
- Preferred BLAS (MKL) cannot be found, now searching for a general BLAS
- library
- Call Stack (most recent call first):
- CMakeLists.txt:692 (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 [blis]
- -- Library blis: BLAS_blis_LIBRARY-NOTFOUND
- -- Checking for [Accelerate]
- -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
- -- Checking for [vecLib]
- -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
- -- Checking for [flexiblas]
- -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND
- -- Checking for [openblas]
- -- Library openblas: /usr/lib/x86_64-linux-gnu/libopenblas.so
- -- Found a library with BLAS API (open). Full path: (/usr/lib/x86_64-linux-gnu/libopenblas.so)
- -- Using pocketfft in directory: ......pytorch/third_party/pocketfft/
- -- Brace yourself, we are building NNPACK
- -- NNPACK backend is x86-64
- -- Failed to find LLVM FileCheck
- -- git version: v1.6.1 normalized to 1.6.1
- -- Version: 1.6.1
- -- Performing Test HAVE_STD_REGEX -- success
- -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
- -- Performing Test HAVE_POSIX_REGEX -- success
- -- Performing Test HAVE_STEADY_CLOCK -- success
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
- The package name passed to `find_package_handle_standard_args` (OpenMP_C)
- does not match the name of the calling package (OpenMP). This can lead to
- problems in calling code that expects `find_package` result variables
- (e.g., `_FOUND`) to follow a certain pattern.
- Call Stack (most recent call first):
- cmake/Modules/FindOpenMP.cmake:576 (find_package_handle_standard_args)
- third_party/fbgemm/CMakeLists.txt:61 (find_package)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- Found OpenMP_C: -fopenmp
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
- The package name passed to `find_package_handle_standard_args` (OpenMP_CXX)
- does not match the name of the calling package (OpenMP). This can lead to
- problems in calling code that expects `find_package` result variables
- (e.g., `_FOUND`) to follow a certain pattern.
- Call Stack (most recent call first):
- cmake/Modules/FindOpenMP.cmake:576 (find_package_handle_standard_args)
- third_party/fbgemm/CMakeLists.txt:61 (find_package)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- Found OpenMP_CXX: -fopenmp
- -- Found OpenMP: TRUE
- CMake Warning at third_party/fbgemm/CMakeLists.txt:63 (message):
- OpenMP found! OpenMP_C_INCLUDE_DIRS =
- CMake Warning at third_party/fbgemm/CMakeLists.txt:162 (message):
- ==========
- CMake Warning at third_party/fbgemm/CMakeLists.txt:163 (message):
- CMAKE_BUILD_TYPE = Release
- CMake Warning at third_party/fbgemm/CMakeLists.txt:164 (message):
- CMAKE_CXX_FLAGS_DEBUG is -g
- CMake Warning at third_party/fbgemm/CMakeLists.txt:165 (message):
- CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG
- CMake Warning at third_party/fbgemm/CMakeLists.txt:166 (message):
- ==========
- ** AsmJit Summary **
- ASMJIT_DIR=......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;-Wconversion;-fno-math-errno;-fno-threadsafe-statics;-fno-semantic-interposition;-DASMJIT_STATIC
- ASMJIT_PRIVATE_CFLAGS_DBG=
- ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants;-fno-enforce-eh-specs
- -- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)
- -- Using third party subdirectory Eigen.
- -- Found PythonInterp: /usr/bin/python (found suitable version "3.10.4", minimum required is "3.0")
- -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so.1.0 (found suitable version "3.10.4", minimum required is "3.0")
- -- Using third_party/pybind11.
- -- pybind11 include dirs: ......pytorch/cmake/../third_party/pybind11/include
- -- MPI support found
- -- MPI compile flags:
- -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
- -- MPI LINK flags path:
- -- 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:1139 (message):
- OpenMPI found, but it is not built with CUDA support.
- Call Stack (most recent call first):
- CMakeLists.txt:692 (include)
- -- Adding OpenMP CXX_FLAGS: -fopenmp
- -- No OpenMP library needs to be linked against
- CMake Warning at cmake/public/utils.cmake:385 (message):
- In the future we will require one to explicitly pass TORCH_CUDA_ARCH_LIST
- to cmake instead of implicitly setting it as an env variable. This will
- become a FATAL_ERROR in future version of pytorch.
- Call Stack (most recent call first):
- cmake/External/nccl.cmake:13 (torch_cuda_get_nvcc_gencode_flag)
- cmake/Dependencies.cmake:1347 (include)
- CMakeLists.txt:692 (include)
- CMake Warning at cmake/External/nccl.cmake:66 (message):
- Objcopy version is too old to support NCCL library slimming
- Call Stack (most recent call first):
- cmake/Dependencies.cmake:1347 (include)
- CMakeLists.txt:692 (include)
- -- Converting CMAKE_CUDA_FLAGS to CUDA_NVCC_FLAGS:
- CUDA_NVCC_FLAGS = -Xfatbin;-compress-all;-DONNX_NAMESPACE=onnx_torch;-gencode;arch=compute_75,code=sm_75;-Xcudafe;--diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl;--expt-relaxed-constexpr;--expt-extended-lambda
- CUDA_NVCC_FLAGS_DEBUG = -g;-g;-lineinfo;--source-in-ptx
- CUDA_NVCC_FLAGS_RELEASE = -O3;-DNDEBUG
- CUDA_NVCC_FLAGS_RELWITHDEBINFO = -O2;-g;-DNDEBUG;-g;-lineinfo;--source-in-ptx
- CUDA_NVCC_FLAGS_MINSIZEREL = -O1;-DNDEBUG
- -- summary of build options:
- Install prefix: ......pytorch/torch
- Target system: Linux
- Compiler:
- C compiler: /usr/bin/cc
- CFLAGS: -fopenmp
- -- Converting CMAKE_CUDA_FLAGS to CUDA_NVCC_FLAGS:
- CUDA_NVCC_FLAGS = -Xfatbin;-compress-all;-DONNX_NAMESPACE=onnx_torch;-gencode;arch=compute_75,code=sm_75;-Xcudafe;--diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl;--expt-relaxed-constexpr;--expt-extended-lambda
- CUDA_NVCC_FLAGS_DEBUG = -g;-g;-lineinfo;--source-in-ptx
- CUDA_NVCC_FLAGS_RELEASE = -O3;-DNDEBUG
- CUDA_NVCC_FLAGS_RELWITHDEBINFO = -O2;-g;-DNDEBUG;-g;-lineinfo;--source-in-ptx
- CUDA_NVCC_FLAGS_MINSIZEREL = -O1;-DNDEBUG
- -- Gloo build as SHARED library
- -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
- -- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
- -- Found CUDA: /usr/local/cuda (found suitable version "11.6", minimum required is "7.0")
- -- CUDA detected: 11.6
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
- The package name passed to `find_package_handle_standard_args` (NCCL) does
- not match the name of the calling package (nccl). This can lead to
- problems in calling code that expects `find_package` result variables
- (e.g., `_FOUND`) to follow a certain pattern.
- Call Stack (most recent call first):
- third_party/gloo/cmake/Modules/Findnccl.cmake:45 (find_package_handle_standard_args)
- third_party/gloo/cmake/Dependencies.cmake:128 (find_package)
- third_party/gloo/CMakeLists.txt:109 (include)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- Determining NCCL version from the header file: /usr/local/cuda/include/nccl.h
- -- NCCL_MAJOR_VERSION: 2
- -- Found NCCL (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libnccl.so)
- -- Found PythonInterp: /usr/bin/python (found version "3.10.4")
- -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so.1.0 (found version "3.10.4")
- Generated: ......pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
- Generated: ......pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
- Generated: ......pytorch/build/third_party/onnx/onnx/onnx-data_onnx_torch.proto
- --
- -- ******** Summary ********
- -- CMake version : 3.23.1
- -- CMake command : /usr/local/bin/cmake
- -- System : Linux
- -- C++ compiler : /usr/bin/c++
- -- C++ compiler version : 11.2.0
- -- CXX flags : -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -Wnon-virtual-dtor
- -- Build type : Release
- -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;__STDC_FORMAT_MACROS
- -- CMAKE_PREFIX_PATH : /usr/local/lib/python3.10/dist-packages;/usr/local/cuda
- -- CMAKE_INSTALL_PREFIX : ......pytorch/torch
- -- CMAKE_MODULE_PATH : ......pytorch/cmake/Modules;......pytorch/cmake/public/../Modules_CUDA_fix
- --
- -- ONNX version : 1.11.0
- -- ONNX NAMESPACE : onnx_torch
- -- ONNX_USE_LITE_PROTO : OFF
- -- USE_PROTOBUF_SHARED_LIBS : OFF
- -- Protobuf_USE_STATIC_LIBS : ON
- -- ONNX_DISABLE_EXCEPTIONS : OFF
- -- ONNX_WERROR : OFF
- -- ONNX_BUILD_TESTS : OFF
- -- ONNX_BUILD_BENCHMARKS : OFF
- -- ONNXIFI_DUMMY_BACKEND : OFF
- -- ONNXIFI_ENABLE_EXT : OFF
- --
- -- Protobuf compiler :
- -- Protobuf includes :
- -- Protobuf libraries :
- -- BUILD_ONNX_PYTHON : OFF
- --
- -- ******** Summary ********
- -- CMake version : 3.23.1
- -- CMake command : /usr/local/bin/cmake
- -- System : Linux
- -- C++ compiler : /usr/bin/c++
- -- C++ compiler version : 11.2.0
- -- CXX flags : -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -Wnon-virtual-dtor
- -- Build type : Release
- -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1
- -- CMAKE_PREFIX_PATH : /usr/local/lib/python3.10/dist-packages;/usr/local/cuda
- -- CMAKE_INSTALL_PREFIX : ......pytorch/torch
- -- CMAKE_MODULE_PATH : ......pytorch/cmake/Modules;......pytorch/cmake/public/../Modules_CUDA_fix
- --
- -- 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
- -- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
- -- Adding -DNDEBUG to 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.
- -- Found a library with LAPACK API (open).
- disabling ROCM because NOT USE_ROCM is set
- -- MIOpen not found. Compiling without MIOpen support
- disabling MKLDNN because USE_MKLDNN is not set
- -- Version: 7.0.3
- -- Build type: Release
- -- CXX_STANDARD: 14
- -- Required features: cxx_variadic_templates
- -- Using Kineto with CUPTI support
- -- Configuring Kineto dependency:
- -- KINETO_SOURCE_DIR = ......pytorch/third_party/kineto/libkineto
- -- KINETO_BUILD_TESTS = OFF
- -- KINETO_LIBRARY_TYPE = static
- -- CUDA_SOURCE_DIR = /usr/local/cuda
- -- CUDA_INCLUDE_DIRS = /usr/local/cuda/include
- -- CUPTI_INCLUDE_DIR = /usr/local/cuda/extras/CUPTI/include
- -- CUDA_cupti_LIBRARY = /usr/local/cuda/extras/CUPTI/lib64/libcupti.so
- -- Found CUPTI
- INFO ROCM_SOURCE_DIR =
- -- Kineto: FMT_SOURCE_DIR = ......pytorch/third_party/fmt
- -- Kineto: FMT_INCLUDE_DIR = ......pytorch/third_party/fmt/include
- INFO CUPTI_INCLUDE_DIR = /usr/local/cuda/extras/CUPTI/include
- INFO ROCTRACER_INCLUDE_DIR = /roctracer/include
- -- Configured Kineto
- -- GCC 11.2.0: Adding gcc and gcc_s libs to link line
- -- NUMA paths:
- -- /usr/include
- -- /usr/lib/x86_64-linux-gnu/libnuma.so
- -- headers outputs:
- -- sources outputs:
- -- declarations_yaml outputs:
- -- Using ATen parallel backend: OMP
- CMake Warning (dev) at aten/src/ATen/CMakeLists.txt:124:
- Syntax Warning in cmake code at column 79
- Argument not separated from preceding token by whitespace.
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Deprecation Warning at third_party/sleef/CMakeLists.txt:91 (cmake_policy):
- The OLD behavior for policy CMP0066 will be removed from a future version
- of CMake.
- The cmake-policies(7) manual explains that the OLD behaviors of all
- policies are deprecated and that a policy should be set to OLD only under
- specific short-term circumstances. Projects should be ported to the NEW
- behavior and not rely on setting a policy to OLD.
- -- Found OpenMP_C: -fopenmp (found version "4.5")
- -- Found OpenMP_CXX: -fopenmp (found version "4.5")
- -- Found OpenMP: TRUE (found version "4.5")
- -- Configuring build for SLEEF-v3.6.0
- Target system: Linux-5.15.0-35-generic
- Target processor: x86_64
- Host system: Linux-5.15.0-35-generic
- Host processor: x86_64
- Detected C compiler: GNU @ /usr/bin/cc
- CMake: 3.23.1
- Make program: ~/.local/bin/ninja
- -- 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
- -- Building static test bins: OFF
- -- MPFR : /usr/lib/x86_64-linux-gnu/libmpfr.so
- -- MPFR header file in /usr/include
- -- GMP : /usr/lib/x86_64-linux-gnu/libgmp.so
- -- RT : /usr/lib/x86_64-linux-gnu/librt.a
- -- FFTW3 : /usr/lib/x86_64-linux-gnu/libfftw3.so
- -- OPENSSL : 3.0.2
- -- SDE : SDE_COMMAND-NOTFOUND
- -- RUNNING_ON_TRAVIS :
- -- COMPILER_SUPPORTS_OPENMP : 1
- AT_INSTALL_INCLUDE_DIR include/ATen/core
- core header install: ......pytorch/build/aten/src/ATen/core/TensorBody.h
- core header install: ......pytorch/build/aten/src/ATen/core/aten_interned_strings.h
- -- /usr/bin/c++ ......pytorch/torch/abi-check.cpp -o ......pytorch/build/abi-check
- -- Determined _GLIBCXX_USE_CXX11_ABI=1
- CMake Warning (dev) at torch/CMakeLists.txt:449:
- Syntax Warning in cmake code at column 107
- Argument not separated from preceding token by whitespace.
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at torch/CMakeLists.txt:449:
- Syntax Warning in cmake code at column 115
- Argument not separated from preceding token by whitespace.
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning at cmake/public/utils.cmake:385 (message):
- In the future we will require one to explicitly pass TORCH_CUDA_ARCH_LIST
- to cmake instead of implicitly setting it as an env variable. This will
- become a FATAL_ERROR in future version of pytorch.
- Call Stack (most recent call first):
- torch/CMakeLists.txt:406 (torch_cuda_get_nvcc_gencode_flag)
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
- The package name passed to `find_package_handle_standard_args` (OpenMP_C)
- does not match the name of the calling package (OpenMP). This can lead to
- problems in calling code that expects `find_package` result variables
- (e.g., `_FOUND`) to follow a certain pattern.
- Call Stack (most recent call first):
- cmake/Modules/FindOpenMP.cmake:576 (find_package_handle_standard_args)
- caffe2/CMakeLists.txt:1253 (find_package)
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
- The package name passed to `find_package_handle_standard_args` (OpenMP_CXX)
- does not match the name of the calling package (OpenMP). This can lead to
- problems in calling code that expects `find_package` result variables
- (e.g., `_FOUND`) to follow a certain pattern.
- Call Stack (most recent call first):
- cmake/Modules/FindOpenMP.cmake:576 (find_package_handle_standard_args)
- caffe2/CMakeLists.txt:1253 (find_package)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- pytorch is compiling with OpenMP.
- OpenMP CXX_FLAGS: -fopenmp.
- OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/11/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.a.
- -- Caffe2 is compiling with OpenMP.
- OpenMP CXX_FLAGS: -fopenmp.
- OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/11/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.a.
- -- Using lib/python3.10/dist-packages as python relative installation path
- CMake Warning at CMakeLists.txt:1051 (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.23.1
- -- CMake command : /usr/local/bin/cmake
- -- System : Linux
- -- C++ compiler : /usr/bin/c++
- -- C++ compiler id : GNU
- -- C++ compiler version : 11.2.0
- -- Using ccache if found : ON
- -- Found ccache : /usr/bin/ccache
- -- CXX flags : -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -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 -Werror=format -Werror=cast-function-type -Wno-stringop-overflow
- -- Build type : Release
- -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=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;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS
- -- CMAKE_PREFIX_PATH : /usr/local/lib/python3.10/dist-packages;/usr/local/cuda
- -- CMAKE_INSTALL_PREFIX : ......pytorch/torch
- -- USE_GOLD_LINKER : OFF
- --
- -- TORCH_VERSION : 1.13.0
- -- CAFFE2_VERSION : 1.13.0
- -- BUILD_CAFFE2 : OFF
- -- BUILD_CAFFE2_OPS : OFF
- -- BUILD_CAFFE2_MOBILE : OFF
- -- BUILD_STATIC_RUNTIME_BENCHMARK: OFF
- -- BUILD_TENSOREXPR_BENCHMARK: OFF
- -- BUILD_NVFUSER_BENCHMARK: ON
- -- BUILD_BINARY : OFF
- -- BUILD_CUSTOM_PROTOBUF : ON
- -- Link local protobuf : ON
- -- BUILD_DOCS : OFF
- -- BUILD_PYTHON : True
- -- Python version : 3.10.4
- -- Python executable : /usr/bin/python
- -- Pythonlibs version : 3.10.4
- -- Python library : /usr/lib/x86_64-linux-gnu/libpython3.10.so.1.0
- -- Python includes : /usr/include/python3.10
- -- Python site-packages: lib/python3.10/dist-packages
- -- BUILD_SHARED_LIBS : ON
- -- CAFFE2_USE_MSVC_STATIC_RUNTIME : OFF
- -- BUILD_TEST : True
- -- BUILD_JNI : OFF
- -- BUILD_MOBILE_AUTOGRAD : OFF
- -- BUILD_LITE_INTERPRETER: OFF
- -- INTERN_BUILD_MOBILE :
- -- USE_BLAS : 1
- -- BLAS : open
- -- BLAS_HAS_SBGEMM :
- -- USE_LAPACK : 1
- -- LAPACK : open
- -- USE_ASAN : OFF
- -- USE_CPP_CODE_COVERAGE : OFF
- -- USE_CUDA : ON
- -- Split CUDA : OFF
- -- CUDA static link : OFF
- -- USE_CUDNN : ON
- -- USE_EXPERIMENTAL_CUDNN_V8_API: ON
- -- CUDA version : 11.6
- -- cuDNN version : 8.4.1
- -- CUDA root directory : /usr/local/cuda
- -- CUDA library : /usr/local/cuda/lib64/stubs/libcuda.so
- -- cudart library : /usr/local/cuda/lib64/libcudart.so
- -- cublas library : /usr/local/cuda/lib64/libcublas.so
- -- cufft library : /usr/local/cuda/lib64/libcufft.so
- -- curand library : /usr/local/cuda/lib64/libcurand.so
- -- cuDNN library : /usr/local/cuda/lib64/libcudnn.so
- -- nvrtc : /usr/local/cuda/lib64/libnvrtc.so
- -- CUDA include path : /usr/local/cuda/include
- -- NVCC executable : /usr/local/cuda/bin/nvcc
- -- CUDA compiler : /usr/local/cuda/bin/nvcc
- -- CUDA flags : -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__
- -- CUDA host compiler :
- -- CUDA --device-c : OFF
- -- USE_TENSORRT : OFF
- -- USE_ROCM : OFF
- -- USE_EIGEN_FOR_BLAS : ON
- -- USE_FBGEMM : ON
- -- USE_FAKELOWP : OFF
- -- USE_KINETO : ON
- -- USE_FFMPEG : OFF
- -- USE_GFLAGS : OFF
- -- USE_GLOG : OFF
- -- USE_LEVELDB : OFF
- -- USE_LITE_PROTO : OFF
- -- USE_LMDB : OFF
- -- USE_METAL : OFF
- -- USE_PYTORCH_METAL : OFF
- -- USE_PYTORCH_METAL_EXPORT : OFF
- -- USE_MPS : OFF
- -- USE_FFTW : ON
- -- USE_MKL : OFF
- -- USE_MKLDNN : 0
- -- USE_NCCL : ON
- -- USE_SYSTEM_NCCL : OFF
- -- USE_NCCL_WITH_UCC : OFF
- -- USE_NNPACK : ON
- -- USE_NUMPY : ON
- -- USE_OBSERVERS : ON
- -- USE_OPENCL : OFF
- -- USE_OPENCV : OFF
- -- USE_OPENMP : ON
- -- USE_TBB : OFF
- -- USE_VULKAN : OFF
- -- USE_PROF : OFF
- -- USE_QNNPACK : ON
- -- USE_PYTORCH_QNNPACK : ON
- -- USE_XNNPACK : ON
- -- USE_REDIS : OFF
- -- USE_ROCKSDB : OFF
- -- USE_ZMQ : OFF
- -- USE_DISTRIBUTED : ON
- -- USE_MPI : ON
- -- USE_GLOO : ON
- -- USE_GLOO_WITH_OPENSSL : OFF
- -- USE_TENSORPIPE : ON
- -- USE_DEPLOY : OFF
- -- Public Dependencies : caffe2::Threads
- -- Private Dependencies : pthreadpool;cpuinfo;qnnpack;pytorch_qnnpack;nnpack;XNNPACK;fbgemm;/usr/lib/x86_64-linux-gnu/libnuma.so;fp16;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so;tensorpipe;gloo;foxi_loader;rt;fmt::fmt-header-only;kineto;gcc_s;gcc;dl
- -- USE_COREML_DELEGATE : OFF
- -- BUILD_LAZY_TS_BACKEND : ON
- -- Configuring done
- -- Generating done
- -- Build files have been written to: ......pytorch/build
- [11/65] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/Logger.cpp.o
- ......pytorch/third_party/kineto/libkineto/src/Logger.cpp:28:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
- 28 | #pragma GCC diagnostic ignored "-Wglobal-constructors"
- | ^~~~~~~~~~~~~~~~~~~~~~~
- ......pytorch/third_party/kineto/libkineto/src/Logger.cpp:28:32: note: did you mean ‘-felide-constructors’?
- [64/65] Install the project...
- -- Install configuration: "Release"
- -- Set runtime path of "......pytorch/torch/lib/libtorch_cuda_linalg.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libtorchbind_test.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libjitbackend_test.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libbackend_with_compiler.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/bin/test_jit" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/test_tensorexpr" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/tutorial_tensorexpr" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/FileStoreTest" to "$ORIGIN"
- -- Set runtime path of "......pytorch/torch/bin/TCPStoreTest" to "$ORIGIN"
- -- Set runtime path of "......pytorch/torch/bin/HashStoreTest" to "$ORIGIN"
- -- Set runtime path of "......pytorch/torch/bin/ProcessGroupGlooTest" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/bin/ProcessGroupNCCLTest" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/bin/ProcessGroupNCCLErrorsTest" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libc10d_cuda_test.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/bin/ProcessGroupMPITest" to "$ORIGIN:/usr/lib/x86_64-linux-gnu/openmpi/lib"
- -- Set runtime path of "......pytorch/torch/bin/test_dist_autograd" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/test_cpp_rpc" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/test_api" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/bin/test_lazy" to "$ORIGIN:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs"
- -- Set runtime path of "......pytorch/torch/lib/libshm.so" to "$ORIGIN:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/bin/torch_shm_manager" to "$ORIGIN/../lib:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libtorch_python.so" to "$ORIGIN:/usr/lib/x86_64-linux-gnu/openmpi/lib:/usr/local/cuda/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libtorch_cpu.so" to "$ORIGIN:/usr/lib/x86_64-linux-gnu/openmpi/lib:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
- -- Set runtime path of "......pytorch/torch/lib/libtorch_cuda.so" to "$ORIGIN:/usr/local/cuda/lib64:/usr/lib/x86_64-linux-gnu/openmpi/lib"
- -- Set runtime path of "......pytorch/torch/lib/libtorch.so" to "$ORIGIN:/usr/local/cuda/lib64"
- running build
- running build_py
- copying caffe2/proto/torch_pb2.py -> build/lib.linux-x86_64-cpython-310/caffe2/proto
- copying caffe2/proto/caffe2_pb2.py -> build/lib.linux-x86_64-cpython-310/caffe2/proto
- copying torch/bin/ProcessGroupNCCLErrorsTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/HashStoreTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/FileStoreTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/torch_shm_manager -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/TCPStoreTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/ProcessGroupNCCLTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_tensorexpr -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/ProcessGroupMPITest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_lazy -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_cpp_rpc -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_api -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_jit -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/test_dist_autograd -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/ProcessGroupGlooTest -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/bin/tutorial_tensorexpr -> build/lib.linux-x86_64-cpython-310/torch/bin
- copying torch/lib/libtorch.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libc10d_cuda_test.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libshm.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libjitbackend_test.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libtorch_python.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libtorchbind_test.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libtorch_cuda_linalg.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libbackend_with_compiler.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libtorch_cuda.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torch/lib/libtorch_cpu.so -> build/lib.linux-x86_64-cpython-310/torch/lib
- copying torchgen/packaged/ATen/native/native_functions.yaml -> build/lib.linux-x86_64-cpython-310/torchgen/packaged/ATen/native
- copying torchgen/packaged/ATen/native/tags.yaml -> build/lib.linux-x86_64-cpython-310/torchgen/packaged/ATen/native
- running build_ext
- -- Building with NumPy bindings
- -- Detected cuDNN at /usr/local/cuda/lib64/libcudnn.so, /usr/local/cuda/include
- -- Detected CUDA at /usr/local/cuda
- -- Not using MKLDNN
- -- Building NCCL library
- -- Building with distributed package:
- -- USE_TENSORPIPE=True
- -- USE_GLOO=True
- -- USE_MPI=False
- error: don't know how to compile C/C++ code on platform 'posix' with 'make' compiler
- ➜ pytorch git:(master) ✗
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement