[inductor] Support out_dtype arg to matmul#163393
Closed
jansel wants to merge 8 commits intogh/jansel/536/basefrom
Closed
[inductor] Support out_dtype arg to matmul#163393jansel wants to merge 8 commits intogh/jansel/536/basefrom
jansel wants to merge 8 commits intogh/jansel/536/basefrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/163393
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b799ad4 with merge base 51152ef ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced Sep 20, 2025
This was referenced Sep 20, 2025
This was referenced Sep 22, 2025
eellison
approved these changes
Sep 22, 2025
Contributor
eellison
left a comment
There was a problem hiding this comment.
cc @coconutruben to review as well
| Lowering for autotuning aten.mm with different backends (Aten, Triton, CUTLASS, etc.) | ||
| """ | ||
| if out_dtype is not None: | ||
| input_dtype = mat1.get_dtype() |
Contributor
There was a problem hiding this comment.
nit: would expect kernel error checking to already occur in meta registration.
| @@ -2238,7 +2238,7 @@ def meta__fused_moving_avg_obs_fq_helper( | |||
|
|
|||
| @register_meta(aten.mm) | |||
| @out_wrapper(exact_dtype=True) | |||
Contributor
There was a problem hiding this comment.
is exact_dtype=True still correct ?
Contributor
Author
There was a problem hiding this comment.
Not sure is this referring to matching the reference?
coconutruben
approved these changes
Sep 22, 2025
Collaborator
|
Starting merge as part of PR stack under #163422 |
1 similar comment
Collaborator
|
Starting merge as part of PR stack under #163422 |
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 23, 2025
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 23, 2025
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 24, 2025
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 24, 2025
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 24, 2025
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 24, 2025
This reverts commit a8cd437. See #163481 (comment) This PR might also cause issues with cudagraphs. Pull Request resolved: #163737 Approved by: https://github.com/ezyang ghstack dependencies: #163386, #163398, #163387, #163414, #163415, #163419, #163434, #163393, #163412, #163422, #163481, #163520, #163482
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
Fixes pytorch#163275 Pull Request resolved: pytorch#163393 Approved by: https://github.com/eellison, https://github.com/coconutruben ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
…63412) Fixes pytorch#162624 Fixes pytorch#162586 Pull Request resolved: pytorch#163412 Approved by: https://github.com/eellison ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
Fixes pytorch#163257 Pull Request resolved: pytorch#163422 Approved by: https://github.com/eellison ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393, pytorch#163412
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
Fixes pytorch#163420 Pull Request resolved: pytorch#163481 Approved by: https://github.com/eellison ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393, pytorch#163412, pytorch#163422
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
Fixes pytorch#163449 Pull Request resolved: pytorch#163520 Approved by: https://github.com/eellison ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393, pytorch#163412, pytorch#163422, pytorch#163481
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
Fixes pytorch#163457 Pull Request resolved: pytorch#163482 Approved by: https://github.com/eellison ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393, pytorch#163412, pytorch#163422, pytorch#163481, pytorch#163520
dsashidh
pushed a commit
to dsashidh/pytorch
that referenced
this pull request
Sep 26, 2025
This reverts commit a8cd437. See pytorch#163481 (comment) This PR might also cause issues with cudagraphs. Pull Request resolved: pytorch#163737 Approved by: https://github.com/ezyang ghstack dependencies: pytorch#163386, pytorch#163398, pytorch#163387, pytorch#163414, pytorch#163415, pytorch#163419, pytorch#163434, pytorch#163393, pytorch#163412, pytorch#163422, pytorch#163481, pytorch#163520, pytorch#163482
jainapurva
pushed a commit
that referenced
this pull request
Sep 29, 2025
jainapurva
pushed a commit
that referenced
this pull request
Sep 29, 2025
jainapurva
pushed a commit
that referenced
this pull request
Sep 29, 2025
jainapurva
pushed a commit
that referenced
this pull request
Sep 29, 2025
This reverts commit a8cd437. See #163481 (comment) This PR might also cause issues with cudagraphs. Pull Request resolved: #163737 Approved by: https://github.com/ezyang ghstack dependencies: #163386, #163398, #163387, #163414, #163415, #163419, #163434, #163393, #163412, #163422, #163481, #163520, #163482
Khanaksahu
pushed a commit
to Khanaksahu/pytorch
that referenced
this pull request
Nov 17, 2025
Fixes #163275 ghstack-source-id: 9fc01dd Pull-Request: pytorch/pytorch#163393
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Fixes #163275
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @mlazos