commit | 77ac727c7f6cbe32ca8972b8c69bd32cba17b690 | [log] [tgz] |
---|---|---|
author | Ben Vanik <ben.vanik@gmail.com> | Wed May 31 18:42:47 2023 -0700 |
committer | GitHub <noreply@github.com> | Wed May 31 18:42:47 2023 -0700 |
tree | adbeb7e5d8df6556d696a48d99ce7622bc36ab4f | |
parent | 950e172ff9d64e87ccd06e9855dda78ddda1dd1b [diff] |
Adding iree-stream-verify-async-access-ranges pass. (#13876) This does some basic verification that AsyncAccessOpInterface ops (like stream.async.copy and stream.async.dispatch) are in-bounds. Currently only doing static verification but in the future it can be extended to use relational verification (start < end, etc). Prints useful errors like: ``` ../iree-tmp/gpt2-64-stream-emplace.mlir:1603:12: error: 'stream.async.dispatch' op has invalid Read access range [180224 to 376832 for 196608] of resource %177 with size 196608; end > resource size ``` Hopefully we never produce programs like this but while iterating on passes I've done it a few times and it's really hard to track down (usually only via painful runtime debugging of intermediate values).
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.