commit | b1b26d773b2e1049f82a06d426278e0a4161cdfd | [log] [tgz] |
---|---|---|
author | MaheshRavishankar <1663364+MaheshRavishankar@users.noreply.github.com> | Tue Jun 08 13:18:51 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 08 13:18:51 2021 -0700 |
tree | f5a796371da48ed4119b19568ebc60b77f477140 | |
parent | 96e2a2957891cbf03768a50b5082186a38921201 [diff] |
Allow CPU translation to be specified using command line options. (#6116) One advantage of using dynamic pass pipelines is that the translation of the executable to scalar/native code can be done using a pass pipeline that itself might be specified as a command line option. The LowerExecutableTranslation now has an options `use-lowering-pipeline` that can take a list of passes and then lower them to code that can then be translated to LLVM using the standard LLVM lowering passes. The lowering pipeline specified as command line only makes sense if there is just one executable. If there are multiple executables, then the same pipeline will be used for all of them. Also clean up some of the default configuration. This is done by adding a struct `IREE::HAL::TranslateExecutableInfo` which is right now a C++ struct. This is mostly staging, since it could potentially be rolled into `hal.executable.target` operation itself.
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!
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.