forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump torch-mlir to 140cad5 and update TorchOnnxToTorch conversion pip…
…eline (iree-org#18867) This commit bumps torch-mlir to llvm/torch-mlir@140cad5. This commit also replaces the `TorchOnnxToTorchPass` used to convert torch-onnx IR to torch IR with `TorchOnnxToTorchBackendPipeline` which was introduced here: llvm/torch-mlir@fa4794d. This pipeline consists of passes like `TorchOnnxToTorch`, `ScalarizeShapes`, `DecomposeComplexOps`, `ShapeRefinementPipeline`, etc., to convert the torch-onnx IR to torch IR consistent with the other lowering paths for torch backend IR. With the changes made in this PR, some of the tests which were failing earlier during compilation now passes compilation, some of them even passes inference, while there are some tests which were passing earlier are now failing. The list is as follows: - For tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync.json: a.) Earlier failing compilation, now passing inference: - onnx/node/generated/test_convtranspose_kernel_shape - onnx/node/generated/test_einsum_sum b.) Earlier failing compilation, now passing compilation but failing inference - onnx/node/generated/test_convtranspose_output_shape c.) Earlier passing but now failing inference - onnx/node/generated/test_scan_sum - onnx/node/generated/test_scan9_sum - For tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_rocm_rdna3.json: a.) Earlier failing compilation, now passing inference: - onnx/node/generated/test_convtranspose_kernel_shape - onnx/node/generated/test_einsum_sum b.) Earlier failing compilation, now passing compilation but failing inference - onnx/node/generated/test_convtranspose_output_shape c.) Earlier passing but now failing inference - onnx/node/generated/test_scan_sum - onnx/node/generated/test_scan9_sum - onnx/node/generated/test_slice_default_axes - For tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_vulkan.json: a.) Earlier failing compilation, now passing inference: - onnx/node/generated/test_convtranspose_kernel_shape b.) Earlier failing compilation, now passing compilation but failing inference - onnx/node/generated/test_convtranspose_output_shape - onnx/node/generated/test_einsum_sum c.) Earlier passing but now failing inference - onnx/node/generated/test_scan_sum - onnx/node/generated/test_scan9_sum This commit llvm/torch-mlir@55ff110 is expected to fix the newly introduced failures which will be included in IREE in the next Torch-MLIR bump. --------- Signed-off-by: Vivek Khandelwal <[email protected]>
- Loading branch information
1 parent
81c8b25
commit e3f2d47
Showing
5 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Submodule torch-mlir
updated
26 files