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
chaitanyakamarapu and others added 29 commits July 24, 2025 23:14
…ith_dq

Fixing the Quant and Dequant node output shapes
…le uses. This is fine as it is the last required operation in the Layer/RMSNorm and its recomposition pattern. The optional bias gets added in a separate pattern

Signed-off-by: Rickert, Jonas <[email protected]>
Recompose a Layer/RMSNorm even if the scale multiplication has multiple uses.
This is done by catching exceptions during shape inference (as they happen for example if the model
 uses custom ops) and by falling back to an onnx-mlir based type mapping for some kinds of invalid
 models.

Pass ImportOptions by const reference instead of value to avoid unnecessay copying.

Signed-off-by: Rickert, Jonas <[email protected]>
…ypes

Make parsing of models more robust if useOnnxModelTypes is enabled.
Fix problem of return type conversion that only works on some compilers/systems
…_with_different_ranks

feat: Generate no error when scalar values with different ranks are provided for scale and zero point
…t-pybind11

Add option to build without pybind11
jorickert and others added 30 commits November 10, 2025 15:19
Allow the import of not-builtin domains and add support for AMD Quarks BFPQuantizeDequantizeOp
According to the onnx documentation, the default domain is "ai.onnx", but in practice it seems like the empty-string domain is used by default.
Add a canonicalization function to handle them in the same way.

Signed-off-by: Rickert, Jonas <[email protected]>
Handle aliasing of "" domain and "ai.onnx" domain.
Add BF16 support to AMDQuarkBFPQuantizeDequantizeOp
Add ResultNames attribute to imported ops
added slice decomposition, default off
…near-fix

[AIESW-17979] ONNXToTOSA reject DequantizeLinear on dynamic input
This commit legalizes code where a ONNX operation takes dynamic
inputs and outputs static types. It is currently tested only for
DequantizeLinear.

It reverts and improves
bd09ba4 and
bdc8b97.
…nightly

fix: allow onnx.Slice to have default step
Adding the missing cpp config option
…on-dynamic-input

[AIESW-17979]: Do not crash on dynamic types in ONNXToTOSA when going to static again
AIESW-16708 - [Procyon][esrgan]Update removeQDQAroundOp pass to check for constant inputs
…ault

Disable remove qdq round op pass by default
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.