Repository navigation
[Integrate] Update torch-mlir to 201b80fb - #25046
Merged
Merged
Conversation
Update to upstream torch-mlir through 201b80fb, using the IREE integration revision adapted to the current LLVM pin. The new range lowers ONNX QuantizeLinear and DequantizeLinear to quantized_decomposed ops, which fixes test_quantizelinear_axis, so drop it from the expected compile failures of the CI-exercised configs. test_dequantizelinear_uint16 now fails to compile. The new DequantizeLinear conversion accepts only a fixed list of storage dtypes, which excludes uint16 until Torch::getScalarTypeForType can map it, so onnx.DequantizeLinear stays unconverted. Mark it as an expected compile failure until the conversion supports uint16. Signed-off-by: Roberto Laudani <[email protected]>
roberto-laudani
force-pushed
the
users/roberto-laudani/update-torch-mlir
branch
from
October 14, 2026 18:41
ef303c5 to
1cd1be1
Compare
roberto-laudani
marked this pull request as ready for review
October 14, 2026 19:58
roberto-laudani
requested review from
AGindinson,
jschuhmacher,
maxbartel and
ziereis
as code owners
October 14, 2026 19:58
roberto-laudani
requested review from
ScottTodd,
chrsmcgrr,
egebeysel,
juanigp and
kuhar
October 14, 2026 19:58
roberto-laudani
added a commit
that referenced
this pull request
Oct 15, 2026
Extends `ConvertTorchQuantizationToLinalgExt` (#24918) to `quantized_decomposed.quantize_per_token` and `dequantize_per_token`. Depends on #25008 and #25046. Part of #24862. Signed-off-by: Roberto Laudani <[email protected]>
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.
Updates torch-mlir from its October 2 upstream baseline to
llvm/torch-mlir@201b80fb, usingiree-org/torch-mlir@52f5c1c4(sm-iree-integrates/torch-20261014) adapted to IREE's current LLVM revision.On top of canonical torch-mlir, the integration branch carries the adaptation patches already on IREE's current pin that upstream does not have yet: the LLVM submodule bump,
SymbolOpInterfaceforClassTypeOp/GlobalSlotOp, and the TMTensor strict-properties assembly fix.ONNX op test expectations:
Now passing, removed from
expected_compile_failuresin the CI-exercised configs:quantizelinear_axis.test_dequantizelinear_uint16now fails to compile and is marked as an expected compile failure, since the newDequantizeLinearconversion does not support uint16 yet.