commit | 3eeb65932abd813116edc916bb5f6a44672c8aa7 | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Fri Jun 02 21:15:09 2023 -0400 |
committer | GitHub <noreply@github.com> | Fri Jun 02 21:15:09 2023 -0400 |
tree | 53fbe7028b4aa6ac2aaede7eafd0c766f1f9b33e | |
parent | d01e2d124565b6a417c323d32dd521e588e450bf [diff] |
Bring your own bitcode (#13930) This adds a `--iree-llvmcpu-link-bitcode=` flag allowing the user to pass a `.bc` file. To generate such a `.bc` file, users are encouraged to use/copy the `iree_bitcode_library` CMake function, or otherwise replicate a similar clang command line. For users using binaries for iree-compile and/or clang (as opposed to building both from source from the IREE repo, which ensures they talk the exact same version of LLVM bitcode): Maybe use `llvm-dis` to disassemble the bitcode back to text IR as a more stable interchange format.
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.