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

Adding conv igemm layout support - step 1: conv op matcher #943

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jerryyin
Copy link
Member

@jerryyin jerryyin commented Feb 10, 2025

The convolution op matcher is originally implemented by @Max191. I've added bare minimal amount of implementation to allow it to be tested via dispatch parser test. This is a subset of #898 and as an attempt to reduce amount of changes in a single PR to facilitate code reviews.

Summary of changes:

  • common.py: new data structure ConvolutionDimensions to host convolution fields information; ProblemSize that will capture lhs/rhs and result affine expressions as well as conv dimension
  • op_matchers.py: Implemented the new ConvolutionInterfaceMatcher
  • dispatch_parser.py: hooked up with the new convolution matcher to populate additional fields necessary to populate igemm information

@jerryyin jerryyin requested review from kuhar and Max191 February 10, 2025 20:03
Copy link
Contributor

@Max191 Max191 left a comment

Choose a reason for hiding this comment

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

Overall looking good, just a couple new comments

@jerryyin jerryyin force-pushed the users/zyin/add-conv-op-matcher branch from e904146 to 10ec7fe Compare February 11, 2025 15:22
jerryyin and others added 2 commits February 11, 2025 15:26
Co-authored-by: Max Dawkins <[email protected]>
Co-authored-by: jerryyin <[email protected]>
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