commit | 7f2972c11e626248817f43857216b9188c6f95e3 | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <stellaraccident@gmail.com> | Sat Mar 19 14:09:43 2022 -0700 |
committer | GitHub <noreply@github.com> | Sat Mar 19 14:09:43 2022 -0700 |
tree | b026f5e727b1e35a959963ff31425b4571218745 | |
parent | 118a8ac184244ac4d864728ab2b8e8ed3a434375 [diff] |
Replace all compilation uses of iree-translate with iree-compile. (#8576) * Replace all compilation uses of iree-translate with ireec. * ireec is used for e2e compilation. iree-translate is used to test specific translations (i.e. hal executable, vm IR, etc). * ireec allows deprecated arguments previously used in iree-translate so it should be a drop-in replacement for users. * It supports a new --output-format= argument that defaults to vm-bytecode * It fails if no files are specified (read from stdin with '-'). * iree-translate still works like it always did with this change. A subsequent change will scale it back to just the translations needed for testing (not e2e compilation), which should make it a good deal smaller and cheaper to build. * This is mostly a find/replace with specific fixups for VM and HAL tests that were testing translations. * Convert VM translation tests back to iree-translate. * Rename ireec -> iree-compile * Properly registers LLVMIR translations (which are different from static registered "translations"). * Breaks out an explicit init_llvmir_translations.h to centralize this. * Also fixes the CAPI. * Adds a corresponding CAPI test for the compiler API (contributed by edubart). Including in this larger patch because it highlighted the fix needed in Compiler.cpp. Co-authored-by: Eduardo Bart <edub4rt@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!
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.