blob: 690690a1aac77b121b0e8293d232fb0817e60284 [file] [log] [blame] [view]
Lei Zhangc4cfa792020-04-08 14:55:41 -07001# IREE: Intermediate Representation Execution Environment
Ben Vanik363fa072019-09-19 10:26:25 -07002
Scott Toddc1fdd752024-05-16 12:21:18 -07003<p><img src="docs/website/docs/assets/images/IREE_Logo_Icon_Color.svg" width="48px"></p>
4
Lei Zhangc4cfa792020-04-08 14:55:41 -07005IREE (**I**ntermediate **R**epresentation **E**xecution **E**nvironment,
Stella Laurenzof165f602021-05-22 16:38:02 -07006pronounced as "eerie") is an [MLIR](https://mlir.llvm.org/)-based end-to-end
7compiler and runtime that lowers Machine Learning (ML) models to a unified IR
8that scales up to meet the needs of the datacenter and down to satisfy the
9constraints and special considerations of mobile and edge deployments.
Scott Toddcb0727a2021-05-07 15:01:01 -070010
Scott Todd8c34b972023-10-24 09:34:49 -070011See [our website](https://iree.dev/) for project details, user
Scott Toddcb0727a2021-05-07 15:01:01 -070012guides, and instructions on building from source.
Ben Vanik363fa072019-09-19 10:26:25 -070013
Scott Todd1d00b502024-04-15 13:32:56 -070014[![IREE Discord Status](https://discordapp.com/api/guilds/689900678990135345/widget.png?style=shield)]([https://discord.gg/wEWh6Z9nMU](https://discord.gg/wEWh6Z9nMU))
Scott Todd5ca6bee2024-08-05 09:43:39 -070015[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
16[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8738/badge)](https://www.bestpractices.dev/projects/8738)
Geoffrey Martin-Noble0d876462022-08-11 13:20:20 -070017
Lei Zhangc4cfa792020-04-08 14:55:41 -070018#### Project Status
Ben Vanik363fa072019-09-19 10:26:25 -070019
Lei Zhangc4cfa792020-04-08 14:55:41 -070020IREE is still in its early phase. We have settled down on the overarching
21infrastructure and are actively improving various software components as well as
phoenix-meadowlarkf81eef32020-06-10 11:02:21 -070022project logistics. It is still quite far from ready for everyday use and is made
23available without any support at the moment. With that said, we welcome any kind
Scott Todd5ca6bee2024-08-05 09:43:39 -070024of feedback on any [communication channels](#communication-channels)
25
26#### Release status
27
28| Package | Release status |
29| -- | -- |
30GitHub release (stable) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree)](https://github.com/iree-org/iree/releases/latest)
31GitHub release (nightly) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree?include_prereleases)](https://github.com/iree-org/iree/releases)
32Python iree-compiler | [![PyPI version](https://badge.fury.io/py/iree-compiler.svg)](https://badge.fury.io/py/iree-compiler)
33Python iree-runtime | [![PyPI version](https://badge.fury.io/py/iree-runtime.svg)](https://badge.fury.io/py/iree-runtime)
34
35#### Build status
36
37[![CI](https://github.com/iree-org/iree/actions/workflows/ci.yml/badge.svg?query=branch%3Amain+event%3Apush)](https://github.com/iree-org/iree/actions/workflows/ci.yml?query=branch%3Amain+event%3Apush)
38[![PkgCI](https://github.com/iree-org/iree/actions/workflows/pkgci.yml/badge.svg?query=branch%3Amain+event%3Apush)](https://github.com/iree-org/iree/actions/workflows/pkgci.yml?query=branch%3Amain+event%3Apush)
39
40| Host platform | Build status |
41| -- | --: |
42Linux | [![CI - Linux x64 clang](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang.yml/badge.svg?query=branch%3Amain+event%3Aschedule)](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang.yml?query=branch%3Amain+event%3Apush)<br>[![CI - Linux arm64 clang](https://github.com/iree-org/iree/actions/workflows/ci_linux_arm64_clang.yml/badge.svg?query=branch%3Amain+event%3Aschedule)](https://github.com/iree-org/iree/actions/workflows/ci_linux_arm64_clang.yml?query=branch%3Amain+event%3Aschedule)
43macOS | [![CI - macOS x64 clang](https://github.com/iree-org/iree/actions/workflows/ci_macos_x64_clang.yml/badge.svg?query=branch%3Amain+event%3Aschedule)](https://github.com/iree-org/iree/actions/workflows/ci_macos_x64_clang.yml?query=branch%3Amain+event%3Aschedule)
44Windows | [![CI - Windows x64 MSVC](https://github.com/iree-org/iree/actions/workflows/ci_windows_x64_msvc.yml/badge.svg?query=branch%3Amain+event%3Aschedule)](https://github.com/iree-org/iree/actions/workflows/ci_windows_x64_msvc.yml?query=branch%3Amain+event%3Aschedule)
45
46For the full list of workflows see
47https://iree.dev/developers/general/github-actions/.
Ben Vanik363fa072019-09-19 10:26:25 -070048
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070049## Communication Channels
Geoffrey Martin-Nobleec3c4a62019-12-18 14:47:42 -080050
Scott Todd3f51a552024-04-19 11:00:27 -070051* [GitHub issues](https://github.com/iree-org/iree/issues): Feature requests,
Scott Toddcb0727a2021-05-07 15:01:01 -070052 bugs, and other work tracking
Stella Laurenzo22faa152024-04-15 12:51:09 -070053* [IREE Discord server](https://discord.gg/wEWh6Z9nMU): Daily development
Scott Toddcb0727a2021-05-07 15:01:01 -070054 discussions with the core team and collaborators
55* [iree-discuss email list](https://groups.google.com/forum/#!forum/iree-discuss):
56 Announcements, general and low-priority discussion
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070057
Lei Zhangc4cfa792020-04-08 14:55:41 -070058#### Related Project Channels
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070059
60* [MLIR topic within LLVM Discourse](https://llvm.discourse.group/c/llvm-project/mlir/31):
Lei Zhangc4cfa792020-04-08 14:55:41 -070061 IREE is enabled by and heavily relies on [MLIR](https://mlir.llvm.org). IREE
62 sometimes is referred to in certain MLIR discussions. Useful if you are also
63 interested in MLIR evolution.
64
Ben Vanik15cee8f2021-09-15 11:31:59 -070065## Architecture Overview
66
Scott Todd0acd6ec2022-05-23 15:53:30 -070067<!-- TODO(scotttodd): switch to <picture> once better supported? https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/ -->
68![IREE Architecture](docs/website/docs/assets/images/iree_architecture_dark.svg#gh-dark-mode-only)
69![IREE Architecture](docs/website/docs/assets/images/iree_architecture.svg#gh-light-mode-only)
Ben Vanik15cee8f2021-09-15 11:31:59 -070070
Scott Todd8c34b972023-10-24 09:34:49 -070071See [our website](https://iree.dev/) for more information.
Geoffrey Martin-Noble65e115b2019-12-27 18:03:15 -080072
Scott Toddcb0727a2021-05-07 15:01:01 -070073## Presentations and Talks
74
Jacques Pienaar778bf312024-05-09 13:14:58 -070075Community meeting recordings: [IREE YouTube channel](https://www.youtube.com/@iree4356)
76
Julian Walker4d1a1942021-12-10 14:13:50 -080077* 2021-06-09: IREE Runtime Design Tech Talk ([recording](https://drive.google.com/file/d/1p0DcysaIg8rC7ErKYEgutQkOJGPFCU3s/view) and [slides](https://drive.google.com/file/d/1ikgOdZxnMz1ExqwrAiuTY9exbe3yMWbB/view?usp=sharing))
Scott Toddcb0727a2021-05-07 15:01:01 -070078* 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation
79 ([recording](https://drive.google.com/file/d/1325zKXnNIXGw3cdWrDWJ1-bp952wvC6W/view?usp=sharing)
80 and
81 [slides](https://docs.google.com/presentation/d/1NetHjKAOYg49KixY5tELqFp6Zr2v8_ujGzWZ_3xvqC8/edit))
82* 2020-03-18: Interactive HAL IR Walkthrough
83 ([recording](https://drive.google.com/file/d/1_sWDgAPDfrGQZdxAapSA90AD1jVfhp-f/view?usp=sharing))
84* 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation
85 ([recording](https://drive.google.com/open?id=1os9FaPodPI59uj7JJI3aXnTzkuttuVkR)
86 and
87 [slides](https://drive.google.com/open?id=1RCQ4ZPQFK9cVgu3IH1e5xbrBcqy7d_cEZ578j84OvYI))
88
Ben Vanik363fa072019-09-19 10:26:25 -070089## License
90
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -070091IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions.
92See [LICENSE](LICENSE) for more information.