torch-mlir/examples
Ashay Rane 711646d095
mhlo: migrate conversion to stablehlo (#1840)
This patch replaces all MHLO operations with their StableHLO
counterparts and adds a validation pass to ensure that no MHLO operations
remain before translating all Stablehlo operations to the MHLO dialect
for further lowering to the Linalg dialect.

This patch also updates all lit tests so that they refer to the
`convert-torch-to-stablehlo` pass and so that they check for StableHLO
operations.
2023-02-02 07:29:47 -06:00
..
ltc_backend_bert.py Fix LTC lib_torch_mlir_ltc.so import error (#1283) 2022-08-25 18:25:01 -04:00
ltc_backend_mnist.py Fix LTC lib_torch_mlir_ltc.so import error (#1283) 2022-08-25 18:25:01 -04:00
torchdynamo_resnet18.py [torchdynamo] Add ResNet18 example with TorchDynamo 2022-12-07 09:25:27 -08:00
torchscript_resnet18.py torch_mlir.compile: Allow OutputType as a string. 2022-07-08 17:37:27 -07:00
torchscript_resnet18_all_output_types.py torch_mlir.compile: Allow OutputType as a string. 2022-07-08 17:37:27 -07:00
torchscript_resnet_inference.ipynb torch_mlir.compile: Allow OutputType as a string. 2022-07-08 17:37:27 -07:00
torchscript_stablehlo_backend_resnet.py mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
torchscript_stablehlo_backend_tinybert.py mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00