Repository navigation
[Integrate] Update torch-mlir to 528d3dcb - #24908
Merged
Merged
Conversation
ziereis
force-pushed
the
users/ziereis/update-torch-mlir
branch
2 times, most recently
from
September 10, 2026 08:48
e4dfcdd to
0e59756
Compare
ziereis
marked this pull request as ready for review
September 10, 2026 08:51
ziereis
marked this pull request as draft
September 10, 2026 09:23
Contributor
Author
|
noticed some onnx op failures that are probably related. will put it back into draft until i have this triaged. |
Contributor
Author
|
there are some old XFAILs that now pass and two new failures, for the failures there exist PRs to fix them here: and llvm/torch-mlir#4754. After they are merged the base commit should be updated and it should be good 2 go. |
roberto-laudani
added a commit
to roberto-laudani/iree-test-suites
that referenced
this pull request
Oct 1, 2026
Adds end-to-end CPU quality regressions for MobileNetV2: the float32 model, and an int8 variant quantized with PT2E and the ExecuTorch XNNPACKQuantizer (int8 weights symmetric per channel, int8 activations asymmetric per tensor). IREE compiles the committed MLIR, fetches the externalized parameters and references from the Hugging Face Hub (pinned by revision), and compares the output logits against PyTorch. The PT2E test depends on iree-org/iree#24908 (torch-mlir update with typed quantized_decomposed ops) and iree-org/iree#24918 (PT2E quantization as LinalgExt ops). Signed-off-by: Roberto Laudani <[email protected]>
roberto-laudani
added a commit
to roberto-laudani/iree-test-suites
that referenced
this pull request
Oct 1, 2026
Adds end-to-end CPU quality regressions for MobileNetV2: the float32 model, and an int8 variant quantized with PT2E and the ExecuTorch XNNPACKQuantizer (int8 weights symmetric per channel, int8 activations asymmetric per tensor). IREE compiles the committed MLIR, fetches the externalized parameters and references from the Hugging Face Hub (pinned by revision), and compares the output logits against PyTorch. The PT2E test depends on iree-org/iree#24908 (torch-mlir update with typed quantized_decomposed ops) and iree-org/iree#24918 (PT2E quantization as LinalgExt ops). Signed-off-by: Roberto Laudani <[email protected]>
ziereis
force-pushed
the
users/ziereis/update-torch-mlir
branch
from
October 2, 2026 09:33
0e59756 to
8372778
Compare
ziereis
marked this pull request as ready for review
October 2, 2026 12:28
roberto-laudani
approved these changes
Oct 2, 2026
Update to upstream torch-mlir through 528d3dcb, using the IREE
integration revision adapted to the current LLVM pin.
The new range fixes several ONNX op tests, so drop them from the
expected run failures of the CI-exercised configs:
averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_True,
nonmaxsuppression_flipped_coordinates, and
reduce_{max,min}_bool_inputs.
test_reversesequence_time now fails to compile on llvm-cpu.
ReverseSequence lowers to an scf.for over the time axis, so each
dispatch reverses a column selected by a dynamic offset. The resulting
vector.gather reads a strided column subview with a dynamic offset:
RemoveStrideFromGatherSource bails on the dynamic offset and
Gather1DToConditionalLoads rejects the non-unit inner stride, leaving
the gather for LLVM conversion. Mark it as an expected compile failure
until the MLIR gather lowering handles dynamic subview offsets.
Signed-off-by: Thomas Ziereis <[email protected]>
ziereis
force-pushed
the
users/ziereis/update-torch-mlir
branch
from
October 6, 2026 08:20
8372778 to
5994bd8
Compare
roberto-laudani
added a commit
to roberto-laudani/iree-test-suites
that referenced
this pull request
Oct 12, 2026
Adds end-to-end CPU quality regressions for MobileNetV2: the float32 model, and an int8 variant quantized with PT2E and the ExecuTorch XNNPACKQuantizer (int8 weights symmetric per channel, int8 activations asymmetric per tensor). IREE compiles the committed MLIR, fetches the externalized parameters and references from the Hugging Face Hub (pinned by revision), and compares the output logits against PyTorch. The PT2E test depends on iree-org/iree#24908 (torch-mlir update with typed quantized_decomposed ops). Signed-off-by: Roberto Laudani <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
roberto-laudani
added a commit
to roberto-laudani/iree-test-suites
that referenced
this pull request
Oct 13, 2026
Adds end-to-end CPU quality regressions for MobileNetV2: the float32 model, and an int8 variant quantized with PT2E and the ExecuTorch XNNPACKQuantizer (int8 weights symmetric per channel, int8 activations asymmetric per tensor). IREE compiles the committed MLIR, fetches the externalized parameters and references from the Hugging Face Hub (pinned by revision), and compares the output logits against PyTorch. The PT2E test depends on iree-org/iree#24908 (torch-mlir update with typed quantized_decomposed ops). 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 July 7 upstream baseline to
llvm/torch-mlir@528d3dcb, usingiree-org/torch-mlir@137b8fb8(sm-iree-integrates/torch-20261002) 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. TheDenseMapInfoandRegionSuccessoradaptations from the previous pin are now upstream and were dropped.ONNX op test expectations:
Now passing, removed from
expected_run_failuresin the CI-exercised configs:averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_True,nonmaxsuppression_flipped_coordinates,reduce_{max,min}_bool_inputs.test_reversesequence_timenow fails to compile on llvm-cpu and is marked as an expected compile failure. ReverseSequence now lowers to anscf.forover the time axis, so each dispatch reverses a column picked by a dynamic offset. The resultingvector.gatherreads a strided column subview with a dynamic offset, which neitherRemoveStrideFromGatherSource(bails on dynamic offsets) norGather1DToConditionalLoads(rejects non-unit inner stride) handles, so the gather reaches LLVM conversion unlowered. The proper fix is dynamic-offset support in the upstream MLIR gather lowering.🤖 Generated with Claude Code