[code-reflection] RFR: Upgrade ONNX runtime to use API version 1.23.1
Ana Maria Mihalceanu
duke at openjdk.org
Mon Oct 27 21:00:26 UTC 2025
This PR contains the following:
- [x] Upgrade to version 1.23.1 ONNX runtime API.
- [x] Refactoring of the python script `AttributeProto` is now in `onnx` (I used version `1.19.1` which is the latest)
- [x] Regeneration of tensors and tensor operations.
- [x] Regeneration of the runtime API based on `onnxruntime_c_api.h`.
- [x] Appends execution provider options to runtime, as shown in the new API,
- [x] Allows users to append execution providers like `WebGpuExecutionProvider` and `CpuExecutionProvider` through `OnnxRuntime.appendExecutionProvider_V2` method.
-------------
Commit messages:
- Update full name
- Attempt to fix the the trailing whitespaces from generation.
- Merge remote-tracking branch 'origin/upgrade-onnx-runtime' into upgrade-onnx-runtime
- Merge branch 'openjdk:code-reflection' into upgrade-onnx-runtime
- Add implementation for custom Execution Provider libraries.
- Fix compilation errors and minimize friction with changes in OnnxRuntime.
- Upgrade ONNX prototype to use version 1.23.1 of the ONNX runtime C library.
Changes: https://git.openjdk.org/babylon/pull/645/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=645&range=00
Stats: 49849 lines in 41 files changed: 42947 ins; 3317 del; 3585 mod
Patch: https://git.openjdk.org/babylon/pull/645.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/645/head:pull/645
PR: https://git.openjdk.org/babylon/pull/645
More information about the babylon-dev
mailing list