Skip to content
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

[FXML-4647] Add ONNX operator version as trait of dialect #102

Merged
merged 6 commits into from
Jun 13, 2024

Conversation

cferry-AMD
Copy link

@cferry-AMD cferry-AMD commented Jun 12, 2024

This PR modifies the op definition (.td) to add the op version as an explicit trait. Downstream passes can use this trait and not make assumptions on the ONNX-MLIR opset version.

@cferry-AMD cferry-AMD force-pushed the corentin.add_onnx_version_to_dialect branch from 3e5a003 to f8da469 Compare June 12, 2024 12:06
@cferry-AMD cferry-AMD force-pushed the corentin.add_onnx_version_to_dialect branch from f8da469 to 1e4e8e2 Compare June 12, 2024 12:07
@cferry-AMD cferry-AMD marked this pull request as ready for review June 12, 2024 12:10
@cferry-AMD cferry-AMD requested review from mgehre-amd and TinaAMD June 12, 2024 12:10
src/Dialect/ONNX/ONNX.td Outdated Show resolved Hide resolved
src/Dialect/ONNX/ONNXTraits.hpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@TinaAMD TinaAMD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cferry-AMD cferry-AMD merged commit 67cb3a6 into feature/onnx-to-tosa Jun 13, 2024
5 checks passed
@cferry-AMD cferry-AMD deleted the corentin.add_onnx_version_to_dialect branch June 13, 2024 06:25
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.

3 participants