mirror of https://github.com/llvm/torch-mlir
711646d095
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. |
||
---|---|---|
.. | ||
ltc_backend_bert.py | ||
ltc_backend_mnist.py | ||
torchdynamo_resnet18.py | ||
torchscript_resnet18.py | ||
torchscript_resnet18_all_output_types.py | ||
torchscript_resnet_inference.ipynb | ||
torchscript_stablehlo_backend_resnet.py | ||
torchscript_stablehlo_backend_tinybert.py |