Open Bahar-BM opened 3 days ago
To build onnxruntime-genai
from source on main, you need the latest onnxruntime
headers. You can get the 1.20 headers from here https://github.com/microsoft/onnxruntime/releases/download/v1.20.0/onnxruntime-linux-aarch64-1.20.0.tgz.
You can then put the headers inside examples/c/include
and try building again with the same command. Alternatively, you could avoid passing in the ort_home arg, and onnxruntime-genai
will try to download the necessary dependencies by itself.
Thank you for the quick response! It's good to know! You might want to update the README in examples/c, as your sample uses ONNX Runtime 1.19.2 and instructs users to build onnxruntime-genai from source code.
By the way, do you have any plans to release onnxruntime-genai artifacts for aarch64 Linux with CUDA enabled?
Describe the bug Hello, I'm attempting to build the nightly version for aarch64 Linux with CUDA enabled, but I encounter the following error:
To Reproduce Steps to reproduce the behavior: Build the project using build.py with the following command:
python3 build.py --config Release --ort_home examples/c --use_cuda --cuda_home=/mnt/ssd_drive/cuda_lib/cuda-12.3
P.S. I have previously built ONNX Runtime 1.19.2 for aarch64 Linux with CUDA enabled from source code and placed the required include files and libraries in the examples/c directory.
Desktop (please complete the following information):