microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.73k stars 2.94k forks source link

error when compile with ComputeLibrary-21.08 #9174

Open Newer2019 opened 3 years ago

Newer2019 commented 3 years ago

onnxruntime 1.8.0 ComputeLibrary-21.08

after compile acl, then run: ./build.sh --config Release --build_shared_lib --parallel --use_acl \ --acl_home $HOME_BUILD/ComputeLibrary-21.08 \ --acl_libs $HOME_BUILD/ComputeLibrary-21.08/build

onnxruntime/onnxruntime/core/providers/acl/nn/conv.cc:32:10: fatal error: arm_compute/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.h: 没有那个文件或目录

include "arm_compute/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

there is no assembly/NEDepthwiseConvolutionAssemblyDispatch.h in v21.08 and v21.05

when i compile with acl 19.08, it works.

please help, how to compile with acl 21.08??

Newer2019 commented 3 years ago

it seems that ACL version above v20.02, all failed.

jywu-msft commented 3 years ago

ACL integration supports 19.02, 19.05, 19.08 and 20.02 https://github.com/microsoft/onnxruntime/blob/fd91bf91c943ac11f1963ec12a558a45372b084e/cmake/CMakeLists.txt#L93 feel free to contribute to help support newer versions.

timorkal commented 1 month ago

shame... ACL is already on v24.08.1 and ONNXruntime support is stuck at 20.02 which was released back in "Feb 28, 2020".

jywu-msft commented 1 month ago

see https://github.com/microsoft/onnxruntime/pull/22032 which updated ACL support to 24.07