Skip to content

[torchlib][tracking] Handle Gemm with a graph rewriting pass #1110

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

Closed
justinchuby opened this issue Oct 24, 2023 · 0 comments · Fixed by #1113
Closed

[torchlib][tracking] Handle Gemm with a graph rewriting pass #1110

justinchuby opened this issue Oct 24, 2023 · 0 comments · Fixed by #1113
Labels
module: torchlib Related to the torch/aten function lib in development

Comments

@justinchuby
Copy link
Collaborator

Handle Gemm with a graph rewriting pass instead of hard coding the branching logic

#1089

@justinchuby justinchuby added the module: torchlib Related to the torch/aten function lib in development label Oct 24, 2023
@justinchuby justinchuby closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
justinchuby added a commit that referenced this issue Oct 25, 2023
When I looked at the test coverage for `addmm` (below), I realized mat1
and mat2 are always 2d tensors. So the rank check is redundant. `addmm`
is now fully mapped to `Gemm`, which should completely resolve
#1089

Closes #1110


![image](https://github.com/microsoft/onnxscript/assets/11205048/073347ca-d677-4c87-94fa-e40a13642569)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: torchlib Related to the torch/aten function lib in development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant