Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add torch-fuse-quantized-ops pass to the torch-to-iree pipeline (iree…
…-org#17908) The torch to iree pipeline currently does not use `--torch-fuse-quantized-ops`, which is the cause of significant discrepancies between model testing with iree-compile from torch IR and model testing which first lowers to linalg with torch-mlir before compiling. Together with `--torch-fuse-quantized-ops`, a newer pass `--torch-scalarize-shapes` is added to the `torch-to-iree` pipeline to keep in line with the `--torch-backend-to-linalg-on-tensors-backend-pipeline`. --------- Signed-off-by: zjgarvey <zjgarvey@gmail.com> Signed-off-by: Lubo Litchev <lubol@google.com>
- Loading branch information