You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
open Generator.sln with vs studio, set unit_tests as the startup program and run.
got "The given version [19] is not supported, only version 1 to 10 is supported in this build."
Expected behavior
The test shall run and pass
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Thanks @baijumeswani, it works if I copy over onnxruntime.dll to the exe's folder. The issues is caused by having a onnxruntime.dll at "C:\Windows\WinSxS\wow64_microsoft-windows-ai-machinelearning_31bf3856ad364e35_10.0.22621.1_none_7056cab181ea1d5c\onnxruntime.dll". it must be a very old version. It blocks use and develop ort-genai on windows machines. This need to be fixed.
I see it is also confusing work with ort-genai's python api. It used to having a onnxruntime.dll at the genai install location. Now it also uses onnxruntime.dll at onnxrutime's install location. It is hard to know which one is being used.
But I think on windows, we need another folder at the end of the path. If you have bandwidth, would you consider submitting a PR for this? If not, I can get to it.
For python, we load onnxruntime from inside onnxruntime's python package. Two reasons for this:
Minimize the onnxruntime-genai package size
Avoid problems where users want to use both ort and ort-genai together (since only one dll can be loaded at any given time).
Describe the bug
follow instructions at
https://onnxruntime.ai/docs/genai/howto/build-from-source.html
the build fails to run unit tests
To Reproduce
Steps to reproduce the behavior:
1.
git clone https://github.com/microsoft/onnxruntime-genai
cd onnxruntime-genai
curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/onnxruntime-win-x64-1.19.2.zip -o onnxruntime-win-x64-1.19.2.zip
tar xvf onnxruntime-win-x64-1.19.2.zip
move onnxruntime-win-x64-1.19.2 ort
python build.py --config Release
got "The given version [19] is not supported, only version 1 to 10 is supported in this build."
Expected behavior
The test shall run and pass
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: