onnxruntime
2d1ed5b7 - [EP ABI] Add weight pre-packing support to kernel-based plugin EPs (#26754)

Commit
27 days ago
[EP ABI] Add weight pre-packing support to kernel-based plugin EPs (#26754) ### Description - Adds C APIs to support pre-packing of const weights for `OrtKernelImpl` implementations. - APIs optionally support sharing of pre-packed weight data (for cpu-accessible memory). - Updates example kernel (Mul) to use new pre-packing API. Tested by existing unit test: https://github.com/microsoft/onnxruntime/blob/549d7415e26e2b3f86c42f86e135bb746caa37b4/onnxruntime/test/autoep/test_execution.cc#L242-L256 ### Motivation and Context The [previous PR](https://github.com/microsoft/onnxruntime/pull/26206) added the base APIs that support kernel-based plugin EPs. This PR adds an additional feature that was identified as necessary for the port of WebGPU EP. --------- Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Parents
Loading