iree
iree copied to clipboard
Reconcile PyTorch pass pipelines with those upstream in torch-mlir (if needed)
We have some people running "e2e" test workflows in torch-mlir that end up differing when running through IREE. I suspect the pipelines may have drifted a bit.
linalg:
- IREE: https://github.com/openxla/iree/blob/main/compiler/plugins/input/Torch/InputConversion/Passes.cpp
- torch-mlir: https://github.com/llvm/torch-mlir/blob/main/lib/Dialect/Torch/Transforms/Passes.cpp (maybe other files too?)
onnx:
- IREE: https://github.com/openxla/iree/blob/main/compiler/plugins/input/Torch/PluginRegistration.cpp
Related: https://github.com/nod-ai/SHARK-TestSuite/issues/47
Related https://github.com/nod-ai/SHARK-TestSuite/issues/225