commit | 9c951cac8eddc9828adadd7d7bd4207df5f145b4 | [log] [tgz] |
---|---|---|
author | MaheshRavishankar <1663364+MaheshRavishankar@users.noreply.github.com> | Tue Aug 13 09:05:10 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Aug 13 09:05:10 2024 -0700 |
tree | b66758ae6c2ac53d6342a83a3612c27a01ccd305 | |
parent | 7812c776d5d57b13d80b6ae27f2dc86c73fddbcf [diff] |
[Flow] Generalize horizontal contraction fusion to cover more cases. (#17880) Current implementation of horizontal fusion worked only for contraction (-> truncf)? cases. To generalize it to more cases the following changes were needed 1) Instead of looking for a `linalg.generic` with a single `arith.truncf`, use `isBitTruncate` utility method. To enable this the pass is moved to `Flow`. 2) Use `Operation::Equivalence` to check that the contraction operations are "similar" and any subsequent truncation operations are "similar" too. 3) Instead of trying to find an insertion point based on existing dominance relationship between operations, - Always insert the horizontally fused contraction before the first contraction - Always insert the horizontally fused truncation operation before the first truncation operation 4) Instead of generating the fills/empty along with horizontally fused operations, use separate patterns to fold concats of fills and concats of emptys into fill and empty, respectively. Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com> --------- Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
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
Package | Release status |
---|---|
GitHub release (stable) | |
GitHub release (nightly) | |
Python iree-compiler | |
Python iree-runtime |
Host platform | Build status |
---|---|
Linux | |
macOS | |
Windows |
For the full list of workflows see https://iree.dev/developers/general/github-actions/.
See our website for more information.
Community meeting recordings: IREE YouTube channel
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.