[code-reflection] RFR: Onnx fixes to support LLM + Onnx GenAI FFM API
Adam Sotona
asotona at openjdk.org
Wed May 28 14:46:23 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
- Added `forceInline` switch to OnnxTransformer
-------------
Commit messages:
- added forceInline switch to OnnxTransformer
- temporary disable functions due to Onnx problem with unused outputs in functions
- OnnxProtoBuilder fixed tuples expansion in function arguments
- fixed missing operator set imports for functions
- support for tuples of initializers
- OnnxTransformer fixed remapInitializers to support records/tuples
- fixed OnnxTransformer to convert filed load types
- removal of Optional from SkipSimplifiedLayerNormalization result record
- OnnxTransformer support for optional record components
- fixed ExplicitOnnxOps attribute value types
- ... and 12 more: https://git.openjdk.org/babylon/compare/6c7ea689...5b12215e
Changes: https://git.openjdk.org/babylon/pull/429/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=429&range=00
Stats: 8510 lines in 9 files changed: 8412 ins; 27 del; 71 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