commit | 688670fb82c18cf8bf35c28294ff6e3785fdc1d2 | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <stellaraccident@gmail.com> | Fri Sep 24 18:16:25 2021 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 24 18:16:25 2021 -0700 |
tree | 94a739b1519e7d303f13bf06c24520d73b62eda1 | |
parent | 27c448e2ddcf88d70154c42f9c4411ff150ae24c [diff] |
Adapt iree-compiler-api so it builds standalone and as part of iree. (#7178) * Adapt iree-compiler-api so it builds standalone and as part of iree. * We have use cases for three modes of depending: * For deployment (i.e. as Python package, other bindings, etc), iree-compiler-api is standalone and depends on IREE properly and it has to be built with specific, project wide compile/link flags. * For development, even though IREE cannot depend on iree-compiler-api, it is useful to build it as part of IREE so that devs have access to the whole project (i.e. can use ireec, the C and Python API, etc). It is also nice because when built this way on the CI, all of the tests run together, etc. * When included as an LLVM external project (i.e. when building IREE into another LLVM-based compiler), it is built as a sub-project of LLVM and includes IREE (this mode is not yet implemented). * Before too much longer, I will probably bust the iree.runtime Python bindings out in a similar way for distribution, making them depend on IREE but also allowing them to be built as part of IREE for development/testing. * Add iree-compiler-api to bazel and CI.
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.