Skip to content

Conversation

@IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Dec 12, 2025

This change prevents decomposing torch.matmul to torch.bmm when the batch dimensions are broadcasted because torch.bmm does not support broadcasting. Before this change, the added test case would result in a compilation failure.

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
@IanWood1
Copy link
Contributor Author

@zjgarvey can you take a look?

Copy link
Collaborator

@zjgarvey zjgarvey left a comment

Choose a reason for hiding this comment

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

LGTM.

@zjgarvey
Copy link
Collaborator

Want me to merge?

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