Closed nirvedhmeshram closed 2 years ago
Just for context the high level IR is generated from https://github.com/llvm/torch-mlir/blob/main/e2e_testing/torchscript/histogram_binning_calibration.py
After discussion with @cathyzhyi , I understand this IR is indeed correct and I am closing this issue.
I am trying to lower the IR below
When I run this IR with
./torch-mlir-opt -pass-pipeline='torch-backend-to-linalg-on-tensors-backend-pipeline' ~/hbc_torch.mlir
It lowers toThe problem with this IR is that %6 through %52 are not part of any linalg blocks and as such dont lower in a performant way on any backends