I follow instructions from github installation guide
here are my console installing info
--
-- ******** Summary ********
-- General:
-- CMake version : 3.22.1
-- CMake command : /home/siyu/software/anaconda3/envs/python38/bin/cmake
-- System : Linux
-- C++ compiler : /home/siyu/software/anaconda3/envs/python38/bin/x86_64-conda-linux-gnu-c++
-- C++ compiler id : GNU
-- C++ compiler version : 12.2.0
-- Using ccache if found : ON
-- Found ccache : CCACHE_PROGRAM-NOTFOUND
-- CXX flags : -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/siyu/software/anaconda3/envs/python38/include -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -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 -Werror=non-virtual-dtor -Werror=range-loop-construct -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -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;IDEEP_USE_MKL;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 : /home/siyu/software/anaconda3/envs/python38/lib/python3.8/site-packages;/home/siyu/software/anaconda3/envs/python38:/home/siyu/software/anaconda3/envs/python38/x86_64-conda-linux-gnu/sysroot/usr
-- CMAKE_INSTALL_PREFIX : /home/siyu/software/pytorch/torch
-- USE_GOLD_LINKER : OFF
--
-- TORCH_VERSION : 1.14.0
-- CAFFE2_VERSION : 1.14.0
-- BUILD_CAFFE2 : OFF
-- BUILD_CAFFE2_OPS : OFF
-- BUILD_STATIC_RUNTIME_BENCHMARK: OFF
-- BUILD_TENSOREXPR_BENCHMARK: OFF
-- BUILD_NVFUSER_BENCHMARK: OFF
-- BUILD_BINARY : OFF
-- BUILD_CUSTOM_PROTOBUF : ON
-- Link local protobuf : ON
-- BUILD_DOCS : OFF
-- BUILD_PYTHON : True
-- Python version : 3.8.13
-- Python executable : /home/siyu/software/anaconda3/envs/python38/bin/python
-- Pythonlibs version : 3.8.13
-- Python library : /home/siyu/software/anaconda3/envs/python38/lib/libpython3.8.a
-- Python includes : /home/siyu/software/anaconda3/envs/python38/include/python3.8
-- Python site-packages: lib/python3.8/site-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 :
-- TRACING_BASED : OFF
-- USE_BLAS : 1
-- BLAS : mkl
-- BLAS_HAS_SBGEMM :
-- USE_LAPACK : 1
-- LAPACK : mkl
-- USE_ASAN : OFF
-- USE_TSAN : OFF
-- USE_CPP_CODE_COVERAGE : OFF
-- USE_CUDA : OFF
-- USE_ROCM : OFF
-- USE_EIGEN_FOR_BLAS :
-- 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 : OFF
-- USE_MKL : ON
-- USE_MKLDNN : ON
-- USE_MKLDNN_ACL : OFF
-- USE_MKLDNN_CBLAS : OFF
-- USE_UCC : OFF
-- USE_ITT : ON
-- USE_NCCL : 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 : OFF
-- USE_GLOO : ON
-- USE_GLOO_WITH_OPENSSL : OFF
-- USE_TENSORPIPE : ON
-- Public Dependencies : caffe2::Threads;caffe2::mkl
-- Private Dependencies : pthreadpool;cpuinfo;qnnpack;pytorch_qnnpack;nnpack;XNNPACK;fbgemm;ittnotify;fp16;tensorpipe;gloo;foxi_loader;rt;fmt::fmt-header-only;kineto;gcc_s;gcc;dl
-- USE_COREML_DELEGATE : OFF
-- BUILD_LAZY_TS_BACKEND : ON
-- TORCH_DISABLE_GPU_ASSERTS : ON
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_ARGS
-- Build files have been written to: /home/siyu/software/pytorch/build
cmake --build . --target install --config Release
[3/4] Generating ATen sources
[23/6418] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o
In file included from /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.cc:35:
omit some info
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = unsigned int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long unsigned int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = double]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[55/6418] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o
In file included from /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.cc:35:
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = bool]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = bool]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = bool]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = bool]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = bool]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 1 and 2147483647 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = unsigned int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long unsigned int]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = double]',
inlined from 'void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
inlined from 'void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
inlined from 'void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
inlined from 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]' at /home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/siyu/software/pytorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: 'void* memcpy(void*, const void*, size_t)' reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1641 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3904/6418] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmSparseDenseInt8Avx2.cc.o
FAILED: third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmSparseDenseInt8Avx2.cc.o
/home/siyu/software/anaconda3/envs/python38/bin/x86_64-conda-linux-gnu-c++ -DFBGEMM_STATIC -I/home/siyu/software/pytorch/third_party/cpuinfo/include -I/home/siyu/software/pytorch/third_party/fbgemm/third_party/asmjit/src -I/home/siyu/software/pytorch/third_party/fbgemm/include -I/home/siyu/software/pytorch/third_party/fbgemm -I/home/siyu/software/pytorch/cmake/../third_party/benchmark/include -isystem /home/siyu/software/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /home/siyu/software/pytorch/cmake/../third_party/googletest/googletest/include -isystem /home/siyu/software/pytorch/third_party/protobuf/src -isystem /home/siyu/software/pytorch/third_party/gemmlowp -isystem /home/siyu/software/pytorch/third_party/neon2sse -isystem /home/siyu/software/pytorch/third_party/XNNPACK/include -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/siyu/software/anaconda3/envs/python38/include -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -Wall -Wextra -Werror -Wno-deprecated-declarations -O3 -DNDEBUG -fPIC -fvisibility=hidden -m64 -mavx2 -mf16c -mfma -std=c++14 -MD -MT third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmSparseDenseInt8Avx2.cc.o -MF third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmSparseDenseInt8Avx2.cc.o.d -o third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmSparseDenseInt8Avx2.cc.o -c /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc
In file included from /home/siyu/software/anaconda3/envs/python38/lib/gcc/x86_64-conda-linux-gnu/12.2.0/include/immintrin.h:47,
from /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:13:
In function 'void _mm256_maskstore_epi32(int*, __m256i, __m256i)',
inlined from 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = true; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::TENSOR]' at /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:193:35:
/home/siyu/software/anaconda3/envs/python38/lib/gcc/x86_64-conda-linux-gnu/12.2.0/include/avx2intrin.h:1155:32: error: 'mask_int32_v' may be used uninitialized [-Werror=maybe-uninitialized]
1155 | __builtin_ia32_maskstored256 ((__v8si *)__X, (__v8si)__M, (__v8si)__Y);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc: In function 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = true; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::TENSOR]':
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:168:19: note: 'mask_int32_v' was declared here
168 | __m256i mask_int32_v;
| ^~~~~~~~~~~~
In function 'void _mm256_maskstore_epi32(int*, __m256i, __m256i)',
inlined from 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = true; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::OUT_CHANNEL]' at /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:193:35:
/home/siyu/software/anaconda3/envs/python38/lib/gcc/x86_64-conda-linux-gnu/12.2.0/include/avx2intrin.h:1155:32: error: 'mask_int32_v' may be used uninitialized [-Werror=maybe-uninitialized]
1155 | __builtin_ia32_maskstored256 ((__v8si *)__X, (__v8si)__M, (__v8si)__Y);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc: In function 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = true; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::OUT_CHANNEL]':
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:168:19: note: 'mask_int32_v' was declared here
168 | __m256i mask_int32_v;
| ^~~~~~~~~~~~
In function 'void _mm256_maskstore_epi32(int*, __m256i, __m256i)',
inlined from 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = false; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::TENSOR]' at /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:193:35:
/home/siyu/software/anaconda3/envs/python38/lib/gcc/x86_64-conda-linux-gnu/12.2.0/include/avx2intrin.h:1155:32: error: 'mask_int32_v' may be used uninitialized [-Werror=maybe-uninitialized]
1155 | __builtin_ia32_maskstored256 ((__v8si *)__X, (__v8si)__M, (__v8si)__Y);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc: In function 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = false; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::TENSOR]':
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:168:19: note: 'mask_int32_v' was declared here
168 | __m256i mask_int32_v;
| ^~~~~~~~~~~~
In function 'void _mm256_maskstore_epi32(int*, __m256i, __m256i)',
inlined from 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = false; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::OUT_CHANNEL]' at /home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:193:35:
/home/siyu/software/anaconda3/envs/python38/lib/gcc/x86_64-conda-linux-gnu/12.2.0/include/avx2intrin.h:1155:32: error: 'mask_int32_v' may be used uninitialized [-Werror=maybe-uninitialized]
1155 | __builtin_ia32_maskstored256 ((__v8si *)__X, (__v8si)__M, (__v8si)__Y);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc: In function 'void fbgemm::internal::SparseDenseInt8MMAvx2(int, const std::unique_ptr<fbgemm::BCSRMatrix<> >&, const uint8_t*, int, int32_t*, uint8_t*, int, fbgemm::trRequantizationParams_t&, bool, int, int) [with bool FUSE_RELU = false; fbgemm::QuantizationGranularity Q_GRAN = fbgemm::QuantizationGranularity::OUT_CHANNEL]':
/home/siyu/software/pytorch/third_party/fbgemm/src/FbgemmSparseDenseInt8Avx2.cc:168:19: note: 'mask_int32_v' was declared here
168 | __m256i mask_int32_v;
| ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[3911/6418] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o
ninja: build stopped: subcommand failed.
I need help, Thank you