onnxruntime-linux-aarch64 with gpu support #11226
-
I am trying to run a yolo-based model converted to Onnx format on Nvidia jetson nano. My code works well on a ubuntu 20 PC the only thing i changed is, instead of onnxruntime-linux-x64-gpu-1.11.0 for the PC, i am using onnxruntime-linux-aarch64 for jetson. It works but I got "GPU is not supported by your ONNXRuntime build. Fallback to CPU" and of course, very slow. my question is, is there any version of gpu support for onnxruntime-linux-aarch64? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Seconded! Looking for onnxruntime-linux-arm64-gpu to take advantage of GPUs on aarch devices, notably Jetson devices from nvidia. Their forums (https://forums.developer.nvidia.com/t/how-can-i-run-onnxruntime-c-api-in-jetson-os/201722/4) repeatedly refer to https://elinux.org/Jetson_Zoo#ONNX_Runtime, which is very python-oriented, not c/c++. Is there a workaround? Do I need to build onnx from source on my target system? |
Beta Was this translation helpful? Give feedback.
-
Our team doesn't maintain or publish packages for Nvidia Jetson devices. However, you get one from https://elinux.org/Jetson_Zoo#ONNX_Runtime . |
Beta Was this translation helpful? Give feedback.
I ended up solving this for my situation, at least for now.
References:
I did the build on the Jetson Target (AGX Orin in my situation).
Assuming you have a default filesystem layout, steps to recreate:
./build.sh --config Release --update --build --parallel --build_wheel --build_shared_lib --use_tensorrt --cuda_home /usr/local/cuda --cudnn_home /usr/lib/aarch64-linux-gnu/ --…