commit | 60128595ccbc86be7aaf3b6b4fc767aaef76fbba | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <stellaraccident@gmail.com> | Sun Apr 17 21:52:09 2022 -0700 |
committer | GitHub <noreply@github.com> | Sun Apr 17 21:52:09 2022 -0700 |
tree | 617624ffd17bc31a99368943e6f1679cdea0aac4 | |
parent | 61b2bb2082557cf40613ba6a468ca75f3109204e [diff] |
Move llvm-external-projects/iree-compiler-api -> iree/compiler/API. (#8911) * Move llvm-external-projects/iree-compiler-api -> iree/compiler/Api. Non-functional changes: * Relayers the build so that we can simply delegate to the LLVM macros for C/Python API building. * Various escalation of include hack battle. * Brings the compile_sample_module.py test from a sample which did not run to a real test. * Reworks tests to be based on IREE macros (as possible). No more magic. * Retired the old build/install locations for this piece: PYTHONPATH=${iree_build}/bindings/python gets everything now. Functional changes: * Since this is "in-tree" now, includes are laid out per the rest of the project. So: * `#include <iree-compiler-c/Compiler.h>` -> `#include <iree/compiler/Api/Compiler.h> * Adds `iree.compiler.transforms.ireec.register_all_dialects(context)`, needed to make the `compile_sample_module.py` test work (Fixes #8604). * iree/compiler/setup.py should now work from both the source and build dir. If using from the latter, it will use in-situ artifacts (will not rebuild). In a subsequent change, I will do a similar refactoring for the Python runtime API and update user docs. For now the iree/compiler/README.md has instructions for building/installing a Python package from source (we've never had documentation for this, so something > nothing and we can move it around later). For integration into internal Google, this shouldn't require more than some path changes from `llvm-external-projects/iree-compiler-api` -> `iree/compiler/Api` in BUILD files. Fixes #8597 Progress on #6958 Progress on #3817 * Silence pytype for setup.py and remove obsolte path from CI. * Re-enable namespace package auto-detection. * Fix typo in .env file (should fix integrations tests) * Rename Api -> API * Fix one more Api -> API rename * Address comments
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.