torch-mlir/lib/Dialect/TorchConversion/Transforms
Vivek Khandelwal fa4794dae2
[MLIR][TORCH] Add torch-onnx-to-torch-backend pipeline (#3801)
This commit adds the torch-onnx-to-torch-backend pipeline which
converts the Torch Onnx IR to Torch Backend IR.

This commit also moves the `ScalarizeShapes` pass from the
`torch-backend-to-linalg-on-tensors-backend-pipeline` to the
`torch-onnx-to-torch-backend` pipeline since the primary goal of
this pass is to scalarize the shapes in the IR coming from the
Onnx models.
2024-10-21 11:20:44 -05:00
..
BackendTypeConversion.cpp TorchToLinalg: Try folding shape computations to keep static shapes when possible (#3475) 2024-06-27 08:43:10 +02:00
BackendTypeConversionPasses.cpp Add extf-trunc f32-f64-f32 ellision (#3579) 2024-07-31 16:50:00 -07:00
CMakeLists.txt [NFC reformat] Run pre-commit on all files and format misc. 2024-04-27 14:08:09 -07:00
ConvertCustomQuantOp.cpp [NFC] Remove unused header files (#3386) 2024-05-30 14:30:36 +08:00
PassDetail.h Migrate passes in TorchConversion to use FunctionOpInterface. (#2935) 2024-02-20 08:54:02 -08:00
Passes.cpp [MLIR][TORCH] Add torch-onnx-to-torch-backend pipeline (#3801) 2024-10-21 11:20:44 -05:00
UnpackQuantTensor.cpp Fix deprecated uses of cast/dyn_cast/dyn_cast_or_null/isa (#3243) 2024-04-27 14:00:56 -07:00
VerifyLinalgOnTensorsBackendContract.cpp [NFC] Remove unused header files (#3386) 2024-05-30 14:30:36 +08:00
VerifyStablehloBackendContract.cpp [stablehlo] verify stablehlo backend contract (#3338) 2024-05-16 11:03:43 +08:00
VerifyTosaBackendContract.cpp [NFC] Remove unused header files (#3386) 2024-05-30 14:30:36 +08:00