torch-mlir/build_tools
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
..
docker Dockerize CI + Release builds (#1234) 2022-08-30 11:07:25 -07:00
python_deploy Remove mlir-hlo (replace with stablehlo). (#2460) 2023-09-12 19:10:02 -07:00
autogen_ltc_backend.py Fix OptionalCType class name (#1779) 2023-01-06 17:03:24 -05:00
autogen_ltc_backend.yaml [Torch Dialect] support aten.split_with_sizes (#2431) 2023-09-04 09:59:26 +08:00
build_libtorch.sh build: make PyTorch caching more robust (#1510) 2022-10-20 08:50:18 -05:00
build_python_wheels.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00
build_standalone.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00
scrape_releases.py Create github action for creating pip-compatible releases index 2022-09-23 15:26:19 -04:00
update_abstract_interp_lib.sh [custom op] Generalize shape library logic to work with dtypes (#1594) 2022-12-13 08:25:41 -08:00
update_torch_ods.sh Update Torch ODS list with new ops (#2361) 2023-08-21 06:36:39 -04:00
write_env_file.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00