Repository navigation
[Torch] Convert torchao affine quantization to LinalgExt - #25104
Merged
Merged
Conversation
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
2 times, most recently
from
October 22, 2026 08:37
1771014 to
acfe37c
Compare
roberto-laudani
marked this pull request as ready for review
October 22, 2026 08:39
roberto-laudani
requested review from
AGindinson,
rsuderman,
ziereis and
zjgarvey
as code owners
October 22, 2026 08:39
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 22, 2026 08:44
acfe37c to
e53bbf2
Compare
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 22, 2026 08:49
e53bbf2 to
d36397f
Compare
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 23, 2026 09:00
d36397f to
b5ab086
Compare
roberto-laudani
requested review from
egebeysel and
jschuhmacher
as code owners
October 23, 2026 09:00
roberto-laudani
changed the base branch from
main
to
users/roberto-laudani/qdq-float-zero-points
October 23, 2026 09:00
Base automatically changed from
users/roberto-laudani/qdq-float-zero-points
to
main
October 23, 2026 10:05
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 23, 2026 11:03
b5ab086 to
d904de5
Compare
ziereis
approved these changes
Oct 23, 2026
ziereis
left a comment
Contributor
There was a problem hiding this comment.
Cool to see that the lowering of this falls into place quite nicely :)
Contributor
|
ci error looks legit though |
Contributor
Author
|
Yes, it's a real build failure, but only because IREE's torch-mlir pin doesn't have the typed torchao ops yet since it depends on llvm/torch-mlir#4843. |
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 29, 2026 15:45
d904de5 to
9cbffc8
Compare
Signed-off-by: Roberto Laudani <[email protected]>
roberto-laudani
force-pushed
the
users/roberto-laudani/qdq-torchao-affine
branch
from
October 29, 2026 15:54
9cbffc8 to
0370ffa
Compare
Signed-off-by: Roberto Laudani <[email protected]>
Signed-off-by: Roberto Laudani <[email protected]>
8 tasks done
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.
Converts the typed torchao
quantize_affine/dequantize_affineops toiree_linalg_ext.quantize_affine/dequantize_affine, reusing the PT2E conversion. Ops whose parameters LinalgExt cannot index fall back to Torch-to-Linalg. This also fixes PT2E per-channel-group ops with flattened scales, which produced invalid IR. Also drops two unused includes fromLinalgExtOps.cpp.Part of #24862.