commit | c067270b8424f0fd9bf8f0781564e07e114c9df9 | [log] [tgz] |
---|---|---|
author | Ian Wood <75152913+IanWood1@users.noreply.github.com> | Wed Aug 07 12:18:43 2024 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 07 12:18:43 2024 -0700 |
tree | b86a5b5e3929f6aae717b276709d8172b7b9a717 | |
parent | de679c984850b64f4f3e0f7556d75be3f04ce241 [diff] |
[Flow] Fix error in CollapseDimensionsPass (#18128) There was a crash described in https://github.com/iree-org/iree/issues/18126. The problem was that I was getting a reference to `CollapseInfo` and then using the bracket operator to access the map (MapVector) again, which can modify the map and invalidate the reference. This was occurring because opMap was not populated with all the generic ops in the dispatch region (because of isEligibleForCollapse). The logic to find a producer/consumer looked for a generic with the same parent, which can include ops not in the map, causing elements to be added to the map when there was a reference to an object in the map. In addition, I changed MapVector to DenseMap because there is no need to iterate over the map. --------- Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
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.