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. |
||
---|---|---|
.. | ||
__init__.py | ||
lazy_tensor_core.py | ||
linalg_on_tensors_backend.py | ||
native_torch.py | ||
stablehlo_backend.py | ||
torchdynamo.py | ||
torchscript.py | ||
tosa_backend.py | ||
utils.py |