onnxruntime/onnxruntime
Adrian Lizarraga a2eb967008
Fix Split index bugs uncovered by QNN SDK 2.19 (#19381)
### Description
- When converting ONNX split sizes to QNN split indices, do not include
the split at index 0. QNN 2.19 assumes index 0 is implicit and throws a
validation error if provided.
- Fix bug when using an ONNX Split operator with a `num_outputs`
attribute that does not evenly divide into `shape[axis]`. The ONNX spec
states that the last chunk should be smaller, but QNN EP made the last
chunk larger.
- Fix bug when using an ONNX Split operator with a `split` input. QNN EP
was incorrectly passing the split sizes as split indices without
conversion.

### Motivation and Context
QNN SDK 2.19 updated validation criteria for Split operators. QNN EP was
previously passing a split index that should have been implicit.

Also, discovered a bugs when using `num_outputs` attribute and `split`
input.
2024-02-02 00:22:16 -08:00
..
contrib_ops Fix DEBUG_GENERATION build (#19383) 2024-02-01 23:53:32 -08:00
core Fix Split index bugs uncovered by QNN SDK 2.19 (#19381) 2024-02-02 00:22:16 -08:00
python Metrics - llama-2 - Add package name and version to engine of onnxruntime (#19325) 2024-02-01 15:52:20 -08:00
test Fix Split index bugs uncovered by QNN SDK 2.19 (#19381) 2024-02-02 00:22:16 -08:00
tool/etw
wasm [js/webgpu] Support capture and replay for jsep (#18989) 2024-01-30 18:28:03 -08:00
__init__.py [ORT 1.17.0 release] Bump up version to 1.18.0 (#19170) 2024-01-17 11:18:32 -08:00
ReformatSource.ps1
ReformatSourcePython.bat
VSCodeCoverage.runsettings