torch-mlir
torch-mlir copied to clipboard
Add some unit tests to check i32 shape
In the current codebase, we can build mhlo with TORCH_MLIR_ENABLE_MHLO_TRUNC_DIMSIZE_TO_I32
to enable the i32 shape, but there are no unit tests to test the i32 feature, we need a way to test the i32 shape.
This will be easy to fix after https://github.com/llvm/torch-mlir/issues/1227
@Yancey1989 it looks like https://github.com/llvm/torch-mlir/issues/1227 landed -- could you try to add these tests now?
That’s great, I will try it asap.