-
Notifications
You must be signed in to change notification settings - Fork 153
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
Initial Java bindings. #461
Conversation
The Android setup has been copied from ORT but is currently untested so can be ignored for now.
src/java/src/main/android/ai/onnxruntime_genai/platform/package-info.java
Outdated
Show resolved
Hide resolved
Try and improve debugging setup. Can at least run junit from the command line, but the whole java.library.path setup is still and issue.
…icrosoft/onnxruntime-genai into skottmckay/InitialJavaBindings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I still need to make build.sh executable to get the build to run on a clean checkout, and the test generation is still locked off to Windows, but otherwise everything passes cleanly on Linux x64 when I checked it. MacOS will be fine when the environment detection is fixed.
Remove some outdated comments.
…icrosoft/onnxruntime-genai into skottmckay/InitialJavaBindings
Java bindings for GenAI C API, as well as a SimpleGenAI class for simplified basic usage (text in, text out, single request with optional callback for token-by-token output).
Builds and the unit tests pass on Windows.
The Android setup has been copied from ORT but is currently untested so can be ignored for now.