Skip to content

Conversation

mgehre-amd
Copy link
Collaborator

DO NOT merge, just to look at our diff

@mgehre-amd mgehre-amd changed the title Feature/onnx_to_tosa feature/onnx-to-tosa Jun 26, 2023
roberteg16 and others added 29 commits June 18, 2025 18:00
[AutoBump] Merge with 30602ba (Apr 29) (1)
[AutoBump] Merge with fixes of 66e82a9 (Apr 30) (2)
[AutoBump] Merge with 07e645b (May 06) (5)
[AutoBump] Merge with fixes of  85ccac7 [May 2] (4)
[AutoBump] Merge with fixes of e23d8ed (May 12) (6)
[AutoBump] Merge with 328c2f9 (May 13) (7)
[Autobump with fixes] Bump to 5e96d18 (Apr 22)
…ition. The greedy rewriter is generally easier to use, as operations do not need to be marked as illegal

Signed-off-by: Jonas Rickert <jonas.rickert@amd.com>
…tern

Signed-off-by: Jonas Rickert <jonas.rickert@amd.com>
Signed-off-by: Jonas Rickert <jonas.rickert@amd.com>
…o_tosa

Allow lowering of (u)int4 to tosa.
Add also implementation for DepthToSpace DCR mode recomposition
[AutoBump] Merge with 6d728e8 (May 01) (3)
[AutoBump] Merge with 2694354 (May 19) (9)
Bump Quantize/DequantizeLinear to opset 21, adding int4/uint4 support
mgehre-amd and others added 30 commits September 9, 2025 11:11
`getGenOpMix<ONNXRoundOp>` is used in src/Conversion/ONNXToKrnl/Quantization/QuantizeLinear.cpp.
There, it can only see the generic definition of the template in
`src/Conversion/ONNXToKrnl/ONNXToKrnlCommon.hpp`.

But there is also a explicit specialization in src/Conversion/ONNXToKrnl/Math/Elementwise.cpp.
To ensure that the explicit specialization is used instead of
instantiating the generic template, forward declare the explicit specialization.
…ing_to_tosa_if_size_is_not_constant

 Prevent ONNX  to TOSA legalization when the size is non-constant
…m the model for custom ops.

Add a new option runOnnxShapeInference to allow to control it independently of model types.

Update default values to be the same in all places.
Co-authored-by: Tiago Trevisan Jost <tiago.trevisanjost@amd.com>
Add shape inference for microsoft QuickGelu
…m_op

Add new option useOnnxModelTypesForCustomOps to allow using types fro…
Fix duplicate symbol getGenOpMix<ONNXRoundOp>
call relevant getter for signed, unsigned and signless ints
Make old opset warning based on newest version in opset range, not oldest
…id_negative_indices

[AIESW-13111] Convert negative indices correctly in Gather Simplify Shape
…_for_static_shape

[AIESW-13111] Check Gather input shape is static
…match

fixing a mismatch in 4x4 kernel usecase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.