| commit | 8c41e5177f6a8cc33200bb91c8b01dee72bf0942 | [log] [tgz] |
|---|---|---|
| author | Jakub Kuderski <kubak@google.com> | Tue May 30 11:34:46 2023 -0400 |
| committer | GitHub <noreply@github.com> | Tue May 30 11:34:46 2023 -0400 |
| tree | 082599d3d5713f9dc6a32f1c757ae9de1c986594 | |
| parent | 3a185448429483a55c16a7147aca6f8a20adebae [diff] |
[StableHLO][CHLO] Port CHLO decomposition patterns (#13838) These are ported from the mlir-hlo project. For more context, see the initial import: https://github.com/openxla/iree/pull/12957. The biggest difference it the removal of most FileCheck CHECK lines in tests. MHLO hardcoded thousands lines of exact decomposition sequences that fell apart after due to different canonicalizations and folds. Without a script to regenerate these CHECKs, these tests were not maintainable and I decided to drop them. Now we only check that the dialect conversion succeeded. Other notable differences to the MHLO implementation: - Ported some utility functions and tablegen defs. - New `chlo.tan` lowering, since StableHLO does not provide a tan op. Issue: https://github.com/openxla/iree/issues/13803
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.