commit | a0945cc1aafbe2c9eabc807ddb6e8397ec6d0716 | [log] [tgz] |
---|---|---|
author | Max191 <44243577+Max191@users.noreply.github.com> | Fri Aug 23 08:52:52 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Aug 23 11:52:52 2024 -0400 |
tree | e0038ca17b561158f53b6be6e45838e7e3a55001 | |
parent | c6924b619d22276d5148ca5c608b986bdf51b217 [diff] |
[Flow] Add pass to bubble and hoist encoding ops out of dispatch regions (#18063) This PR adds a new pass in the Flow data tiling pipeline to hoist encoding ops out of their dispatch regions. After SetEncoding, the encoding ops are inserted directly inside of the dispatch regions that contain the data tiled ops. The set_encoding ops then need to be hoisted out of the dispatch region in order to fuse into the producer dispatch. Sometimes there may be producer operations fused into the same dispatch as the data tiled op, in which case the set_encoding ops will have producers inside of the dispatch. In order to hoist the set_encoding op, it needs to be bubbled up through these producer operations until it has no producers inside of its dispatch. This pass supports bubbling of set_encoding ops through bit extending ops and broadcasting ops. After this pass, all set_encoding ops should be outside of dispatch regions, and they need to be fused with their producers. Another pass will be added in the next PR to fuse set_encoding ops into their producer dispatch regions or wrap them in a new dispatch region. --------- Signed-off-by: Max Dawkins <max.dawkins@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.