Pytorch is using system-installed mkl-dnn.
Labels: module: build, triaged

### 🐛 Describe the bug

As you can see from the build log of candidate look up, pytorch build is using system-installed MKLDNN, causing build failure recently when their latest release has moved to 3.0

```
root@0fa9f135c79b:/tmp/scratch/pytorch/build# cmake --build . -- -j1
[1/2] ccache /usr/bin/g++-10 -DGFLAGS_IS_A_DLL=0 -DGOOGLE_GLOG_DLL_DECL="" -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS="" -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DPROTOBUF_USE_DLLS -DUSE_C10D_GLOO -DUSE_C10D_MPI -DUSE_C10D_NCCL -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_FLASH_ATTENTION -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dcaffe2_pybind11_state_gpu_EXPORTS -I/tmp/scratch/pytorch/build/aten/src -I/tmp/scratch/pytorch/aten/src -I/tmp/scratch/pytorch/build -I/tmp/scratch/pytorch -I/tmp/scratch/pytorch/cmake/../third_party/benchmark/include -I/tmp/scratch/pytorch/cmake/../third_party/cudnn_frontend/include -I/tmp/scratch/pytorch/build/caffe2/contrib/aten -I/tmp/scratch/pytorch/third_party/onnx -I/tmp/scratch/pytorch/build/third_party/onnx -I/tmp/scratch/pytorch/third_party/foxi -I/tmp/scratch/pytorch/build/third_party/foxi -I/tmp/scratch/pytorch/build/caffe2/aten/src -I/tmp/scratch/pytorch/aten/../third_party/catch/single_include -I/tmp/scratch/pytorch/aten/src/ATen/.. -I/tmp/scratch/pytorch/third_party/miniz-2.1.0 -I/tmp/scratch/pytorch/caffe2/core/nomnigraph/include -I/tmp/scratch/pytorch/torch/csrc/api -I/tmp/scratch/pytorch/torch/csrc/api/include -I/tmp/scratch/pytorch/c10/.. -I/tmp/scratch/pytorch/c10/cuda/../.. -isystem /tmp/scratch/pytorch/build/third_party/gloo -isystem /tmp/scratch/pytorch/cmake/../third_party/gloo -isystem /tmp/scratch/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /tmp/scratch/pytorch/cmake/../third_party/googletest/googletest/include -isystem /opt/intel/oneapi/mkl/latest/include -isystem /tmp/scratch/pytorch/third_party/gemmlowp -isystem /tm
p/scratch/pytorch/third_party/neon2sse -isystem /tmp/scratch/pytorch/third_party/XNNPACK/include -isystem /usr/local/include/opencv4 -isystem /tmp/scratch/pytorch/third_party/ittapi/include -isystem /usr/local/include/eigen3 -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/local/cuda/include -isystem /tmp/scratch/pytorch/third_party/ideep/include -isystem /tmp/scratch/pytorch/third_party/ideep/mkl-dnn/include -isystem /usr/local/lib/python3.9/dist-packages/numpy/core/include -isystem /usr/include/python3.9 -isystem /tmp/scratch/pytorch/cmake/../third_party/pybind11/include -fdebug-prefix-map='/tmp/scratch'='/usr/local/src' -g1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wnarrowing -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 -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O3 -DNDEBUG -DNDEBUG -fPIC   -march=native -fvisibility=hidden -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DUSE_NUMPY -pthread -std=gnu++17 -MD -MT caffe2/CMakeFile
s/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o -MF caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o.d -o caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o -c /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc
FAILED: caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o
ccache /usr/bin/g++-10 -DGFLAGS_IS_A_DLL=0 -DGOOGLE_GLOG_DLL_DECL="" -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS="" -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DPROTOBUF_USE_DLLS -DUSE_C10D_GLOO -DUSE_C10D_MPI -DUSE_C10D_NCCL -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_FLASH_ATTENTION -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dcaffe2_pybind11_state_gpu_EXPORTS -I/tmp/scratch/pytorch/build/aten/src -I/tmp/scratch/pytorch/aten/src -I/tmp/scratch/pytorch/build -I/tmp/scratch/pytorch -I/tmp/scratch/pytorch/cmake/../third_party/benchmark/include -I/tmp/scratch/pytorch/cmake/../third_party/cudnn_frontend/include -I/tmp/scratch/pytorch/build/caffe2/contrib/aten -I/tmp/scratch/pytorch/third_party/onnx -I/tmp/scratch/pytorch/build/third_party/onnx -I/tmp/scratch/pytorch/third_party/foxi -I/tmp/scratch/pytorch/build/third_party/foxi -I/tmp/scratch/pytorch/build/caffe2/aten/src -I/tmp/scratch/pytorch/aten/../third_party/catch/single_include -I/tmp/scratch/pytorch/aten/src/ATen/.. -I/tmp/scratch/pytorch/third_party/miniz-2.1.0 -I/tmp/scratch/pytorch/caffe2/core/nomnigraph/include -I/tmp/scratch/pytorch/torch/csrc/api -I/tmp/scratch/pytorch/torch/csrc/api/include -I/tmp/scratch/pytorch/c10/.. -I/tmp/scratch/pytorch/c10/cuda/../.. -isystem /tmp/scratch/pytorch/build/third_party/gloo -isystem /tmp/scratch/pytorch/cmake/../third_party/gloo -isystem /tmp/scratch/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /tmp/scratch/pytorch/cmake/../third_party/googletest/googletest/include -isystem /opt/intel/oneapi/mkl/latest/include -isystem /tmp/scratch/pytorch/third_party/gemmlowp -isystem /tmp/scra
tch/pytorch/third_party/neon2sse -isystem /tmp/scratch/pytorch/third_party/XNNPACK/include -isystem /usr/local/include/opencv4 -isystem /tmp/scratch/pytorch/third_party/ittapi/include -isystem /usr/local/include/eigen3 -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/local/cuda/include -isystem /tmp/scratch/pytorch/third_party/ideep/include -isystem /tmp/scratch/pytorch/third_party/ideep/mkl-dnn/include -isystem /usr/local/lib/python3.9/dist-packages/numpy/core/include -isystem /usr/include/python3.9 -isystem /tmp/scratch/pytorch/cmake/../third_party/pybind11/include -fdebug-prefix-map='/tmp/scratch'='/usr/local/src' -g1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wnarrowing -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 -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O3 -DNDEBUG -DNDEBUG -fPIC   -march=native -fvisibility=hidden -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DUSE_NUMPY -pthread -std=gnu++17 -MD -MT caffe2/CMakeFiles/caff
e2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o -MF caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o.d -o caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_ideep.cc.o -c /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In constructor ‘ideep::attr_t::attr_t(int, const scale_t&)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:20:5: error: ‘set_output_scales’ was not declared in this scope; did you mean ‘get_output_scales’?
   20 |     set_output_scales(mask, scales);
      |     ^~~~~~~~~~~~~~~~~
      |     get_output_scales
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In member function ‘std::pair<std::vector<float>, int> ideep::attr_t::get_output_scales() const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:41:9: error: ‘dnnl_primitive_attr_get_output_scales’ was not declared in this scope; did you mean ‘dnnl_primitive_attr_get_post_ops’?
   41 |         dnnl_primitive_attr_get_output_scales(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         dnnl_primitive_attr_get_post_ops
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In member function ‘void ideep::attr_t::get_zero_points(int, int&, std::vector<int>&) const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:56:29: error: ‘get_zero_points’ is not a member of ‘dnnl::primitive_attr’
   56 |       dnnl::primitive_attr::get_zero_points(arg, mask, zero_points);
      |                             ^~~~~~~~~~~~~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_swish_sum(float, float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:75:85: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
   75 |     po.append_eltwise(swish_scale, algorithm::eltwise_swish, swish_alpha, swish_beta);
      |                                                                                     ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_relu(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:87:66: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
   87 |     po.append_eltwise(scale, algorithm::eltwise_relu, alpha, beta);
      |                                                                  ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_gelu(float, float, float, ideep::algorithm)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:99:52: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, ideep::algorithm&, float&, float&)’
   99 |     po.append_eltwise(scale, gelu_type, alpha, beta);
      |                                                    ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_elu(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:110:65: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  110 |     po.append_eltwise(scale, algorithm::eltwise_elu, alpha, beta);
      |                                                                 ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_sigmoid(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:121:70: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  121 |     po.append_eltwise(scale, algorithm::eltwise_logistic, alpha, beta);
      |                                                                      ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_swish(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:132:67: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  132 |     po.append_eltwise(scale, algorithm::eltwise_swish, alpha, beta);
      |                                                                   ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_tanh(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:143:66: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  143 |     po.append_eltwise(scale, algorithm::eltwise_tanh, alpha, beta);
      |                                                                  ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_mish(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:154:66: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  154 |     po.append_eltwise(scale, algorithm::eltwise_mish, alpha, beta);
      |                                                                  ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::residual(float, float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:167:71: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  167 |     po.append_eltwise(relu_scale, algorithm::eltwise_relu, alpha, beta);
      |                                                                       ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::residual_with_sum_zero_point(float, int32_t, float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:181:71: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  181 |     po.append_eltwise(relu_scale, algorithm::eltwise_relu, alpha, beta);
      |                                                                       ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_clamp(float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:189:77: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(double, dnnl::algorithm, float&, float&)’
  189 |     po.append_eltwise(1.0, algorithm::eltwise_clip, lower_bound, upper_bound);
      |                                                                             ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_hardswish(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:200:71: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  200 |     po.append_eltwise(scale, algorithm::eltwise_hardswish, alpha, beta);
      |                                                                       ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_abs(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:211:65: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  211 |     po.append_eltwise(scale, algorithm::eltwise_abs, alpha, beta);
      |                                                                 ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_exp(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:222:65: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  222 |     po.append_eltwise(scale, algorithm::eltwise_exp, alpha, beta);
      |                                                                 ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_square(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:233:68: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  233 |     po.append_eltwise(scale, algorithm::eltwise_square, alpha, beta);
      |                                                                    ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_log(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:244:65: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  244 |     po.append_eltwise(scale, algorithm::eltwise_log, alpha, beta);
      |                                                                 ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_round(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:255:67: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  255 |     po.append_eltwise(scale, algorithm::eltwise_round, alpha, beta);
      |                                                                   ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_sqrt(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:266:66: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  266 |     po.append_eltwise(scale, algorithm::eltwise_sqrt, alpha, beta);
      |                                                                  ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In static member function ‘static ideep::attr_t ideep::attr_t::fuse_pow(float, float, float)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:277:65: error: no matching function for call to ‘dnnl::post_ops::append_eltwise(float&, dnnl::algorithm, float&, float&)’
  277 |     po.append_eltwise(scale, algorithm::eltwise_pow, alpha, beta);
      |                                                                 ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note: candidate: ‘void dnnl::post_ops::append_eltwise(dnnl::algorithm, float, float)’
 2992 |     void append_eltwise(algorithm aalgorithm, float alpha, float beta) {
      |          ^~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:2992:10: note:   candidate expects 3 arguments, 4 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:4,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp: In member function ‘std::tuple<dnnl::primitive::kind, float, float, float, dnnl::algorithm, int> ideep::attr_t::get_params(int) const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/attributes.hpp:338:61: error: no matching function for call to ‘dnnl::post_ops::get_params_eltwise(int&, float&, ideep::algorithm&, float&, float&)’
  338 |         po.get_params_eltwise(index, scale, alg, alpha, beta);
      |                                                             ^
In file included from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl.hpp:3004:10: note: candidate: ‘void dnnl::post_ops::get_params_eltwise(int, dnnl::algorithm&, float&, float&) const’
 3004 |     void get_params_eltwise(
      |          ^~~~~~~~~~~~~~~~~~
/usr/local/include/oneapi/dnnl/dnnl.hpp:3004:10: note:   candidate expects 4 arguments, 5 provided
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: At global scope:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:14:27: error: ‘dnnl_blocking_desc_t’ does not name a type
   14 |   using blocking_desc_t = dnnl_blocking_desc_t;
      |                           ^~~~~~~~~~~~~~~~~~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:438:11: error: ‘blocking_desc_t’ does not name a type
  438 |     const blocking_desc_t& blocking_desc() const {
      |           ^~~~~~~~~~~~~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: In copy constructor ‘ideep::tensor::desc::desc(const ideep::tensor::desc&)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:27:50: error: ‘const struct ideep::tensor::desc’ has no member named ‘data’; did you mean ‘std::shared_ptr<dnnl_memory_desc> dnnl::handle<dnnl_memory_desc*>::data_’? (not accessible from this context)
   27 |     desc(const desc& adesc) : memory::desc(adesc.data) {
      |                                                  ^~~~
In file included from /usr/local/include/oneapi/dnnl/dnnl.hpp:35,
                 from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl_common.hpp:130:60: note: declared private here
  130 |     std::shared_ptr<typename std::remove_pointer<T>::type> data_ {0};
      |                                                            ^~~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: In constructor ‘ideep::tensor::desc::desc(const dnnl::memory::desc&, dnnl::memory::dim)’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:32:74: error: ‘const struct dnnl::memory::desc’ has no member named ‘data’; did you mean ‘std::shared_ptr<dnnl_memory_desc> dnnl::handle<dnnl_memory_desc*>::data_’? (not accessible from this context)
   32 |     desc(const memory::desc& adesc, dim groups = 1) : memory::desc(adesc.data) {
      |                                                                          ^~~~
In file included from /usr/local/include/oneapi/dnnl/dnnl.hpp:35,
                 from /usr/local/include/dnnl.hpp:20,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep/abstract_types.hpp:5,
                 from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:39,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/usr/local/include/oneapi/dnnl/dnnl_common.hpp:130:60: note: declared private here
  130 |     std::shared_ptr<typename std::remove_pointer<T>::type> data_ {0};
      |                                                            ^~~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: In member function ‘void ideep::tensor::desc::to_bytes(ideep::utils::bytestring&) const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:65:27: error: ‘data’ was not declared in this scope
   65 |       for (int i = 0; i < data.ndims; i++) {
      |                           ^~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:65:27: note: suggested alternatives:
In file included from /usr/include/c++/10/array:41,
                 from /usr/include/c++/10/tuple:39,
                 from /usr/include/c++/10/bits/hashtable_policy.h:34,
                 from /usr/include/c++/10/bits/hashtable.h:35,
                 from /usr/include/c++/10/unordered_map:46,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:3,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/usr/include/c++/10/bits/range_access.h:319:5: note:   ‘std::data’
  319 |     data(initializer_list<_Tp> __il) noexcept
      |     ^~~~
In file included from /tmp/scratch/pytorch/build/aten/src/ATen/MethodOperators.h:122,
                 from /tmp/scratch/pytorch/build/aten/src/ATen/core/TensorBody.h:40,
                 from /tmp/scratch/pytorch/caffe2/core/operator.h:36,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:10,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/tmp/scratch/pytorch/build/aten/src/ATen/ops/data_ops.h:17:18: note:   ‘at::_ops::data’
   17 | struct TORCH_API data {
      |                  ^~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:72:21: error: ‘blocking_desc’ was not declared in this scope; did you mean ‘is_blocking_desc’?
   72 |         auto& blk = blocking_desc();
      |                     ^~~~~~~~~~~~~
      |                     is_blocking_desc
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:74:29: error: ‘data’ was not declared in this scope
   74 |         for (int i = 0; i < data.ndims; i++) {
      |                             ^~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:74:29: note: suggested alternatives:
In file included from /usr/include/c++/10/array:41,
                 from /usr/include/c++/10/tuple:39,
                 from /usr/include/c++/10/bits/hashtable_policy.h:34,
                 from /usr/include/c++/10/bits/hashtable.h:35,
                 from /usr/include/c++/10/unordered_map:46,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:3,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/usr/include/c++/10/bits/range_access.h:319:5: note:   ‘std::data’
  319 |     data(initializer_list<_Tp> __il) noexcept
      |     ^~~~
In file included from /tmp/scratch/pytorch/build/aten/src/ATen/MethodOperators.h:122,
                 from /tmp/scratch/pytorch/build/aten/src/ATen/core/TensorBody.h:40,
                 from /tmp/scratch/pytorch/caffe2/core/operator.h:36,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:10,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/tmp/scratch/pytorch/build/aten/src/ATen/ops/data_ops.h:17:18: note:   ‘at::_ops::data’
   17 | struct TORCH_API data {
      |                  ^~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: In member function ‘int ideep::tensor::desc::get_ndims() const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:86:29: error: ‘data’ was not declared in this scope
   86 |       return is_grouped() ? data.ndims - 1 : data.ndims;
      |                             ^~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:86:29: note: suggested alternatives:
In file included from /usr/include/c++/10/array:41,
                 from /usr/include/c++/10/tuple:39,
                 from /usr/include/c++/10/bits/hashtable_policy.h:34,
                 from /usr/include/c++/10/bits/hashtable.h:35,
                 from /usr/include/c++/10/unordered_map:46,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:3,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/usr/include/c++/10/bits/range_access.h:319:5: note:   ‘std::data’
  319 |     data(initializer_list<_Tp> __il) noexcept
      |     ^~~~
In file included from /tmp/scratch/pytorch/build/aten/src/ATen/MethodOperators.h:122,
                 from /tmp/scratch/pytorch/build/aten/src/ATen/core/TensorBody.h:40,
                 from /tmp/scratch/pytorch/caffe2/core/operator.h:36,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:10,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/tmp/scratch/pytorch/build/aten/src/ATen/ops/data_ops.h:17:18: note:   ‘at::_ops::data’
   17 | struct TORCH_API data {
      |                  ^~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp: In member function ‘ideep::tensor::dim_t ideep::tensor::desc::get_dim(int) const’:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:92:35: error: ‘data’ was not declared in this scope
   92 |         if (index < 0 || index >= data.ndims)
      |                                   ^~~~
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:92:35: note: suggested alternatives:
In file included from /usr/include/c++/10/array:41,
                 from /usr/include/c++/10/tuple:39,
                 from /usr/include/c++/10/bits/hashtable_policy.h:34,
                 from /usr/include/c++/10/bits/hashtable.h:35,
                 from /usr/include/c++/10/unordered_map:46,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:3,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/usr/include/c++/10/bits/range_access.h:319:5: note:   ‘std::data’
  319 |     data(initializer_list<_Tp> __il) noexcept
      |     ^~~~
In file included from /tmp/scratch/pytorch/build/aten/src/ATen/MethodOperators.h:122,
                 from /tmp/scratch/pytorch/build/aten/src/ATen/core/TensorBody.h:40,
                 from /tmp/scratch/pytorch/caffe2/core/operator.h:36,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state.h:10,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:7:
/tmp/scratch/pytorch/build/aten/src/ATen/ops/data_ops.h:17:18: note:   ‘at::_ops::data’
   17 | struct TORCH_API data {
      |                  ^~~~
In file included from /tmp/scratch/pytorch/third_party/ideep/include/ideep.hpp:40,
                 from /tmp/scratch/pytorch/caffe2/ideep/ideep_utils.h:6,
                 from /tmp/scratch/pytorch/caffe2/python/pybind_state_ideep.cc:12:
/tmp/scratch/pytorch/third_party/ideep/include/ideep/tensor.hpp:94:16: error: ‘data’ was not declared in this scope
   94 |         return data.dims[index];
```

### Versions

Current master, on Debian 11/Ubuntu 22.04 with distro-stock python.

cc @malfet @seemethere