forked from onnx/onnx-mlir
-
Notifications
You must be signed in to change notification settings - Fork 14
feature/onnx-to-tosa #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
mgehre-amd
wants to merge
2,439
commits into
main
Choose a base branch
from
feature/onnx-to-tosa
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ort_fixing_pad_value
…add_remove_qdq_aroundop
…ixing_pad_value [backport ] convtranspose fixing pad value
Xiao.add remove qdq aroundop
… remove code duplication Signed-off-by: Rickert, Jonas <[email protected]>
…for.qdq Enable Pow to Mul canonicalization for quantized exponents
Re-remove attempt to create rewriter from not existing declarative rewriter
Fuse Mul/Add into norms
…q_binary remove_qdq_binary
…with_single_conv Improving convtranspose decomposition for stride 2x2
Quant types as operands and results
…lude-scale-layernorm-recompose [AIESW-18974] Do not include the scale in LayerNorm recomposing but fuse it later
Add QuantDialect as dependent for QuantTypes pass
Signed-off-by: Jonas Rickert <[email protected]>
Signed-off-by: Jonas Rickert <[email protected]>
Do not try to decompose onnx.SoftmaxCrossEntropyLoss if its unranked
#503) * feat: add new SameOperandsAndResultShape to some onnx ops * test: update lit test
…ted-data FrontendDialectHelper: fail gracefully when parsing truncated data files
- Add XFE custom ops dialect and operations - Implement XFE.cpp with shape inference helpers - Add YAML-based schema definition for XFE ops - Update gen_onnx_mlir.py to support custom ops generation - Add utilities: gen_onnx_yaml.py, test_custom_ops.py, verify_yaml_schema.py - Add comprehensive documentation: QUICK_START.md, CUSTOM_OPS_README.md, CHANGES_SUMMARY.md - Update CMakeLists.txt and ONNX.td to integrate XFE ops Signed-off-by: Sameek Banerjee <[email protected]> Update Documentation and fix build issues. Separate Shape Inference Implementation Add test case for shape inference Add pass to convert to NHWC version of conv Fix Linter Fix black format error Address the LIT failures. Remove Un-necessary Documentation Regenerate for quant types + refactors Rename to Channel Last Add Logic for shape inference for ND cases Rename Pass to convert and add all ops Clang fix Add extra logic to genereate fold and verify methods Black reformat Clang Fix Add XFE Prefix + other changes Remove Channel Last as suffix Minor changes
XFE Ops in onnx-mlir
A length value of -1 is a valid value and makes the MemoryBuffer find out the file length by itself. The offset can still be to big so read it specifically, too.
FronendDialectHelper: fix data length checking
[AIESW-14742] merge pad op into avgpool pad attribute.
* feat: back to back maxpool optimization * test: add lit tests * fix: stop ksize from getting too large * feat: extend to quantized cases * fix: check if upper maxpool covers input fully * fix: formatting * fix: check for static shapes * fix: formatting * fix: check for null defining op
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DO NOT merge, just to look at our diff