-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executorch Vulkan delegate fails to build vulkan_executor_runner without NDK #7343
Comments
Edit. Apologize, the log error below is the correct one. It fails on the Building CXX object backends/vulkan/CMakeFiles/vulkan_backend.dir/runtime/graph/containers/Types.cpp.o
|
I was able to run the compilation command with verbose, to give more visibility to the problem. See below the log output:
|
cc @SS-JIA |
@alexggener Thanks for raising the issue! First, I would encourage you to try out building from Just to establish a baseline, can you try to build and run the Vulkan backend from the current
You should see some output like the below:
I was able to test these instructions on the current master branch, on the following commit:
|
Hi @SS-JIA, Thanks a lot for your fast response. I was able to update to the master branch. However, same error appeared. I was able to fix it adding the
Also, other things to consider are:
I've fixed it changing the NIGHTLY_VERSION to Thanks for your help and let me know if you want me to open these issues in another report. Alex. |
Ah, sorry about that :p this is a quirk of my development machine which must access the internet via a proxy. You are correct in removing it.
Interesting, this is somewhat unexpected. It could have arisen due to torchvision changing the requirements of their nightly version recently, as I would have expected to encounter this error when I tried to reproduce. In any case, #7273 was landed recently which updates the pinned commits of these dependencies so hopefully this issue will be fixed if you fast forward.
Once you added that include, was the binary able to build and run successfully? Just want to confirm that it fixes the issue; I can put up a PR to add the include to the file. |
Yes. Binaries worked perfectly, see below the output of the vulkan_compute_api_test
I've also tested a quick add example with vulkan_executor_runner and worked as well. See output below.
Thanks for your help. |
🐛 Describe the bug
Trying to use executorch Vulkan delegate 0.4.0 on a Jetson Orin with Vulkan installed.
Successfully installed executorch and tested without Vulkan delegate.
Configured CMAKE as:
CMAKE summary config is:
But failed when building the vulkan_executor_runner. See below the verbose log output of the error:
Seems like C++17 standard was not well configured, but it can be seen in the command that the flags
-std=c++17 -O0 -g -std=gnu++17
are set.Extra information about the device:
Ubuntu 22.04
Jetpack 6.1
GCC-13.1
Python 3.10
Vulkan 1.3.204
glslc info:
shaderc 2023.2-1
spirv-tools 2022.4+1.3.236.0-1
glslang 11.13.0-1
Target: SPIR-V 1.0
Versions
The text was updated successfully, but these errors were encountered: