torch-mlir/lib/Dialect/TorchConversion/Transforms
Stella Laurenzo 078d1e1a1d
Remove mlir-hlo (replace with stablehlo). (#2460)
We just have to do this: I ran into an issue today where I needed to make a one line patch to stablehlo to work around a compiler issue, and it is completely unapparent how to do so given that the mlir-hlo repo is a read-only export and is at the tail end of a multi-week integration chain from the open-source stablehlo repo.

We've discussed this often enough and gotten +1 from everyone that they are ok with taking the e2e testing hit if it becomes necessary: It is necessary as the current situation is unmanageable.

Looking at it, I expect it wouldn't actually be very difficult to build a little runner binary out of the stablehlo interpreter and subprocess call that in order to get the testing coverage back. I leave that as an exercise to the users of this part of the stack and recommend following the breadcrumbs from the deleted python/torch_mlir_e2e_test/stablehlo_backends/linalg_on_tensors.py file and the main.py changes.

Note that I am pointing us at a stablehlo fork for the moment until it is apparent that we don't need to carry any local patches to it. We can update this in a few days if everything is clear.
2023-09-12 19:10:02 -07:00
..
BackendTypeConversion.cpp Bump LLVM (#2176) 2023-06-13 16:17:23 +02:00
BackendTypeConversionPasses.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
CMakeLists.txt Remove mlir-hlo (replace with stablehlo). (#2460) 2023-09-12 19:10:02 -07:00
ConvertCustomQuantOp.cpp fix compile warning (#2453) 2023-09-12 09:31:47 +08:00
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp [Stablehlo] Enable Stablehlo backend with arith dialect (#2139) 2023-05-26 22:57:57 +08:00
UnpackQuantTensor.cpp Prototype passes for lowering quantized group matmul (#2402) 2023-08-29 21:25:45 -07:00
VerifyLinalgOnTensorsBackendContract.cpp Add complex types support with basic complex ops. 2023-05-11 21:29:07 +05:30
VerifyStablehloBackendContract.cpp mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
VerifyTosaBackendContract.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00