[Torch] add aten._scaled_mm op support and FX import plumbing#4558
Open
[Torch] add aten._scaled_mm op support and FX import plumbing#4558
Conversation
This was referenced May 6, 2026
e11824e to
6d12002
Compare
Add Torch op definitions, abstract interpretation support, and FX importer handling for aten._scaled_mm, including float8_e8m0fnu blocked-scale tensors. Keep this change independent of TOSA legalization. Include frontend export/import coverage for per-tensor and blocked-scale FP8 shapes, plus out_dtype=None dtype inference. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I102732ad725f89477b7f8fb2339d4fe920fa647b
6d12002 to
c4b7aef
Compare
Contributor
Author
Change-Id: I555367f4c8a3725fba75a1389e170bf402ad5eb9
Lallapallooza
requested changes
May 6, 2026
Member
Lallapallooza
left a comment
There was a problem hiding this comment.
Thanks for the patch, few comments.
Change-Id: I3f62b8d60de4155295ec6f552f68c3d5f21f2c08
Change-Id: I1c1a386a6395b6416c6ada5d06cc82f87271bd5d
Change-Id: I7d4343af324fafe830ff514d79d8c6f03ac200e3
Change-Id: I52f0543dc1120e3a8e3d358486c2cafc8a63d1eb
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.
Adds Torch dialect support and FX importer plumbing for aten._scaled_mm.
This is the first PR in a three-part stack: