Skip to content

Commit

Permalink
Revert "Bump torch-mlir to 98e08023bbf71e00ab81e980eac9f7c96f1f24b4" (i…
Browse files Browse the repository at this point in the history
…ree-org#18405)

Reverts iree-org#18388


llvm/torch-mlir@fa39d91
included in bump commit breaks some downstream usage of the IREE Python
bindings that iree-turbine depends on. Revert it while we wait on
movement upstream.
  • Loading branch information
jinchen62 authored Aug 29, 2024
1 parent 7b22f09 commit 3ceffb6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
"onnx/node/generated/test_castlike_FLOAT_to_FLOAT8E5M2FNUZ",
"onnx/node/generated/test_castlike_FLOAT_to_FLOAT8E5M2FNUZ_expanded",
"onnx/node/generated/test_castlike_FLOAT_to_FLOAT8E5M2_expanded",
"onnx/node/generated/test_center_crop_pad_crop_axes_chw_expanded",
"onnx/node/generated/test_center_crop_pad_crop_axes_hwc_expanded",
"onnx/node/generated/test_center_crop_pad_crop_negative_axes_hwc_expanded",
"onnx/node/generated/test_col2im",
"onnx/node/generated/test_col2im_5d",
"onnx/node/generated/test_col2im_dilations",
Expand All @@ -100,6 +103,8 @@
"onnx/node/generated/test_compress_1",
"onnx/node/generated/test_compress_default_axis",
"onnx/node/generated/test_compress_negative_axis",
"onnx/node/generated/test_constant_pad_axes",
"onnx/node/generated/test_constant_pad_negative_axes",
"onnx/node/generated/test_conv_with_autopad_same",
"onnx/node/generated/test_convtranspose_autopad_same",
"onnx/node/generated/test_convtranspose_kernel_shape",
Expand Down Expand Up @@ -128,6 +133,7 @@
"onnx/node/generated/test_dft_inverse_opset19",
"onnx/node/generated/test_dft_opset19",
"onnx/node/generated/test_edge_pad",
"onnx/node/generated/test_einsum_batch_matmul",
"onnx/node/generated/test_einsum_sum",
"onnx/node/generated/test_gridsample_bicubic",
"onnx/node/generated/test_gridsample_bicubic_align_corners_0_additional_1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@
"onnx/node/generated/test_center_crop_pad_crop",
"onnx/node/generated/test_center_crop_pad_crop_and_pad",
"onnx/node/generated/test_center_crop_pad_crop_axes_chw",
"onnx/node/generated/test_center_crop_pad_crop_axes_chw_expanded",
"onnx/node/generated/test_center_crop_pad_crop_axes_hwc",
"onnx/node/generated/test_center_crop_pad_crop_axes_hwc_expanded",
"onnx/node/generated/test_center_crop_pad_crop_negative_axes_hwc",
"onnx/node/generated/test_center_crop_pad_crop_negative_axes_hwc_expanded",
"onnx/node/generated/test_center_crop_pad_pad",
"onnx/node/generated/test_col2im",
"onnx/node/generated/test_col2im_5d",
Expand All @@ -109,6 +112,8 @@
"onnx/node/generated/test_compress_1",
"onnx/node/generated/test_compress_default_axis",
"onnx/node/generated/test_compress_negative_axis",
"onnx/node/generated/test_constant_pad_axes",
"onnx/node/generated/test_constant_pad_negative_axes",
"onnx/node/generated/test_conv_with_autopad_same",
"onnx/node/generated/test_convtranspose_autopad_same",
"onnx/node/generated/test_convtranspose_kernel_shape",
Expand Down Expand Up @@ -137,6 +142,7 @@
"onnx/node/generated/test_dft_inverse_opset19",
"onnx/node/generated/test_dft_opset19",
"onnx/node/generated/test_edge_pad",
"onnx/node/generated/test_einsum_batch_matmul",
"onnx/node/generated/test_einsum_sum",
"onnx/node/generated/test_gridsample_bicubic",
"onnx/node/generated/test_gridsample_bicubic_align_corners_0_additional_1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@
"onnx/node/generated/test_center_crop_pad_crop",
"onnx/node/generated/test_center_crop_pad_crop_and_pad",
"onnx/node/generated/test_center_crop_pad_crop_axes_chw",
"onnx/node/generated/test_center_crop_pad_crop_axes_chw_expanded",
"onnx/node/generated/test_center_crop_pad_crop_axes_hwc",
"onnx/node/generated/test_center_crop_pad_crop_axes_hwc_expanded",
"onnx/node/generated/test_center_crop_pad_crop_negative_axes_hwc",
"onnx/node/generated/test_center_crop_pad_crop_negative_axes_hwc_expanded",
"onnx/node/generated/test_center_crop_pad_pad",
"onnx/node/generated/test_col2im",
"onnx/node/generated/test_col2im_5d",
Expand All @@ -104,6 +107,8 @@
"onnx/node/generated/test_compress_1",
"onnx/node/generated/test_compress_default_axis",
"onnx/node/generated/test_compress_negative_axis",
"onnx/node/generated/test_constant_pad_axes",
"onnx/node/generated/test_constant_pad_negative_axes",
"onnx/node/generated/test_conv_with_autopad_same",
"onnx/node/generated/test_convtranspose_autopad_same",
"onnx/node/generated/test_convtranspose_kernel_shape",
Expand Down Expand Up @@ -132,6 +137,7 @@
"onnx/node/generated/test_dft_inverse_opset19",
"onnx/node/generated/test_dft_opset19",
"onnx/node/generated/test_edge_pad",
"onnx/node/generated/test_einsum_batch_matmul",
"onnx/node/generated/test_einsum_sum",
"onnx/node/generated/test_gridsample_bicubic",
"onnx/node/generated/test_gridsample_bicubic_align_corners_0_additional_1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@
"onnx/node/generated/test_compress_1",
"onnx/node/generated/test_compress_default_axis",
"onnx/node/generated/test_compress_negative_axis",
"onnx/node/generated/test_constant_pad_axes",
"onnx/node/generated/test_constant_pad_negative_axes",
"onnx/node/generated/test_conv_with_autopad_same",
"onnx/node/generated/test_convtranspose_autopad_same",
"onnx/node/generated/test_convtranspose_kernel_shape",
Expand Down Expand Up @@ -163,6 +165,7 @@
"onnx/node/generated/test_dft_inverse_opset19",
"onnx/node/generated/test_dft_opset19",
"onnx/node/generated/test_edge_pad",
"onnx/node/generated/test_einsum_batch_matmul",
"onnx/node/generated/test_einsum_sum",
"onnx/node/generated/test_gridsample",
"onnx/node/generated/test_gridsample_aligncorners_true",
Expand Down Expand Up @@ -547,7 +550,6 @@
"onnx/node/generated/test_dynamicquantizelinear",
"onnx/node/generated/test_dynamicquantizelinear_expanded",
"onnx/node/generated/test_einsum_batch_diagonal",
"onnx/node/generated/test_einsum_batch_matmul",
"onnx/node/generated/test_einsum_transpose",
"onnx/node/generated/test_eyelike_with_dtype",
"onnx/node/generated/test_isinf_float16",
Expand Down
2 changes: 1 addition & 1 deletion third_party/torch-mlir
Submodule torch-mlir updated 30 files
+1 −1 externals/llvm-project
+0 −6 include/torch-mlir/Dialect/Torch/Transforms/Passes.h
+0 −20 include/torch-mlir/Dialect/Torch/Transforms/Passes.td
+8 −90 lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp
+14 −9 lib/Conversion/TorchToLinalg/Linear.cpp
+210 −201 lib/Conversion/TorchToLinalg/Pooling.cpp
+0 −11 lib/Dialect/Torch/Transforms/AbstractInterpLibrary.cpp
+0 −1 lib/Dialect/Torch/Transforms/CMakeLists.txt
+16 −50 lib/Dialect/Torch/Transforms/DecomposeComplexOps.cpp
+0 −277 lib/Dialect/Torch/Transforms/RestructureNonConstantAxes.cpp
+0 −4 lib/Dialect/TorchConversion/Transforms/Passes.cpp
+8 −46 projects/pt1/e2e_testing/xfail_sets.py
+0 −9 projects/pt1/python/torch_mlir/jit_ir_importer/build_tools/abstract_interp_lib_gen.py
+48 −1 projects/pt1/python/torch_mlir/torchscript.py
+0 −246 projects/pt1/python/torch_mlir_e2e_test/test_suite/pooling.py
+1 −1 projects/pt1/python/torch_mlir_e2e_test/utils.py
+0 −4 python/TorchMLIRModule.cpp
+1 −50 python/torch_mlir/compiler_utils.py
+6 −28 python/torch_mlir/extras/fx_importer.py
+1 −1 pytorch-hash.txt
+1 −1 pytorch-requirements.txt
+0 −81 test/Conversion/TorchOnnxToTorch/simple_ops_g_to_p.mlir
+4 −4 test/Conversion/TorchToSCF/basic.mlir
+3 −1 test/Conversion/TorchToStablehlo/basic.mlir
+2 −2 test/Conversion/TorchToStablehlo/pooling.mlir
+3 −1 test/Conversion/TorchToTosa/basic.mlir
+4 −4 test/Dialect/TMTensor/bufferize.mlir
+0 −28 test/Dialect/Torch/decompose-complex-ops.mlir
+7 −9 test/python/fx_importer/basic_test.py
+1 −1 torchvision-requirements.txt

0 comments on commit 3ceffb6

Please sign in to comment.