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

[FxImporter] Fix embedding bag #3387

Merged
merged 1 commit into from
May 29, 2024
Merged

[FxImporter] Fix embedding bag #3387

merged 1 commit into from
May 29, 2024

Conversation

penguin-wwy
Copy link
Collaborator

No description provided.

@penguin-wwy
Copy link
Collaborator Author

@stellaraccident please review

Copy link
Collaborator

@stellaraccident stellaraccident left a comment

Choose a reason for hiding this comment

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

These daisy chained conditional op replacements are getting a bit out of hand. I'm approving this one, but I'd prefer these were moved to some kind of lookup table/callback. And would also prefer a comment describing the motivation for doing this lightweight "canonicalization" here.

@penguin-wwy
Copy link
Collaborator Author

These daisy chained conditional op replacements are getting a bit out of hand. I'm approving this one, but I'd prefer these were moved to some kind of lookup table/callback. And would also prefer a comment describing the motivation for doing this lightweight "canonicalization" here.

I will refactor this part as soon as possible to make it more efficient and readable.

@penguin-wwy penguin-wwy merged commit a5d3b54 into llvm:main May 29, 2024
3 checks passed
sjarus pushed a commit to sjarus/torch-mlir that referenced this pull request Jun 6, 2024
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.

2 participants