commit | 598a60e3f9d6b08a6384174e400bdc5fbe0f7f60 | [log] [tgz] |
---|---|---|
author | Max191 <44243577+Max191@users.noreply.github.com> | Wed Oct 09 13:23:06 2024 -0700 |
committer | GitHub <noreply@github.com> | Wed Oct 09 13:23:06 2024 -0700 |
tree | 34ed5536c4612f36ba78df578205c345a50ece49 | |
parent | ce4f09861f5845d88016fb61c695d94292446e69 [diff] |
[Im2col] Allow multiple batch, M, and K dimensions on im2col result (#18593) This PR adds support for multiple M and K dimensions in the result of the im2col op. New metadata is added for correctly tracking the offsets into the M and K dimensions along the multiple dimensions. New `m_strides` and `k_strides` fields are added to the op, which represent a basis for linearizing the `m_offset` and `k_offset` fields. The motivation for doing this is that flattening the M dimension can create an expand_shape op consumer of the resulting matmul. This can cause issues with fusion and distribution, so it is useful to be able to keep the multiple M dimensions intact. This PR does not change any behavior of Conv2DToIm2col pass, which will be done in a later PR. --------- 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.