[code-reflection] RFR: Onnx fixes to support LLM + Onnx GenAI Runtime [v7]

Adam Sotona asotona at openjdk.org
Tue Jun 3 14:00:39 UTC 2025


> - Manually added some contrib ops
> - Implemented support for records/tuples in arguments and as initializers
> - Fixed declaration of op set imports in functions
> - Generated FFM interface to Onnx GenAI API
> - Onnx op domain made a part of the op name
> - Implemented `OnnxGenRuntimeSession`
> - Added `Tensor.ElementType::bitSize` API method
> - `OnnxProtoBuilder` supports initializers data external storage

Adam Sotona has updated the pull request incrementally with two additional commits since the last revision:

 - typo
   
 - minor refactoring of OnnxGenRuntimeSession + added examples to javadoc and to readme

-------------

Changes:
  - all: https://git.openjdk.org/babylon/pull/429/files
  - new: https://git.openjdk.org/babylon/pull/429/files/a20a7ccc..96f54f20

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=429&range=06
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=429&range=05-06

  Stats: 211 lines in 3 files changed: 197 ins; 2 del; 12 mod
  Patch: https://git.openjdk.org/babylon/pull/429.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/429/head:pull/429

PR: https://git.openjdk.org/babylon/pull/429


More information about the babylon-dev mailing list