/iree

👻

Primary LanguageC++Apache License 2.0Apache-2.0

IREE: Intermediate Representation Execution Environment

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.

Project Status

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!

Communication Channels

  • MLIR topic within LLVM Discourse: IREE is enabled by and heavily relies on MLIR. IREE sometimes is referred to in certain MLIR discussions. Useful if you are also interested in MLIR evolution.

Build Status

CI System Build System Platform Architecture Configuration / Component Status
Kokoro Bazel Linux x86-64 kokoro status bazel/linux/x86-swiftshader/core
Kokoro CMake & Bazel Linux x86-64 (swiftshader) Integrations kokoro status cmake-bazel/linux/x86-swiftshader
Kokoro CMake & Bazel Linux x86-64 (turing) Integrations kokoro status cmake-bazel/linux/x86-turing
Kokoro CMake Linux x86-64 (swiftshader) kokoro status cmake/linux/x86-swiftshader
Kokoro CMake Linux x86-64 (swiftshader) asan kokoro status cmake/linux/x86-swiftshader-asan
Kokoro CMake Linux x86-64 (turing) kokoro status cmake/linux/x86-turing
Kokoro CMake Android arm64-v8a Runtime (build only) kokoro status cmake/android/arm64-v8a
Kokoro CMake Bare Metal risc-v-32 Runtime kokoro status cmake/baremetal/riscv32
Kokoro CMake Linux risc-v-64 Runtime kokoro status cmake/linux/riscv64
Buildkite CMake Android arm64-v8a Runtime buildkite status iree-android-arm64-v8a
BuildKite CMake Android arm64-v8a Runtime Benchmarks buildkite status iree-benchmark
BuildKite CMake Linux x86-64 Tracing + Standalone Runtime buildkite status iree-build-configurations

Architecture Overview

IREE Architecture IREE Architecture

See our website for more information.

Presentations and Talks

  • 2021-06-09: IREE Runtime Design Tech Talk (recording and slides)
  • 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation (recording and slides)
  • 2020-03-18: Interactive HAL IR Walkthrough (recording)
  • 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation (recording and slides)

License

IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.