blob: fb1ddc8ff40da54d4e355b01cf65e115ee7bd794 [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| -- | --: |
Scott Todd4ff771a2024-08-06 08:50:46 -070042Linux | [![CI - Linux x64 clang](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang.yml/badge.svg?query=branch%3Amain+event%3Apush)](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)
Scott Todd5ca6bee2024-08-05 09:43:39 -070043macOS | [![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
Marius Brehler45132f52024-09-05 00:21:41 +020055* (New) [iree-announce email list](https://lists.lfaidata.foundation/g/iree-announce):
56 Announcements
57* (New) [iree-technical-discussion email list](https://lists.lfaidata.foundation/g/iree-technical-discussion):
58 General and low-priority discussion
59* (Legacy) [iree-discuss email list](https://groups.google.com/forum/#!forum/iree-discuss):
Scott Toddcb0727a2021-05-07 15:01:01 -070060 Announcements, general and low-priority discussion
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070061
Lei Zhangc4cfa792020-04-08 14:55:41 -070062#### Related Project Channels
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070063
64* [MLIR topic within LLVM Discourse](https://llvm.discourse.group/c/llvm-project/mlir/31):
Lei Zhangc4cfa792020-04-08 14:55:41 -070065 IREE is enabled by and heavily relies on [MLIR](https://mlir.llvm.org). IREE
66 sometimes is referred to in certain MLIR discussions. Useful if you are also
67 interested in MLIR evolution.
68
Ben Vanik15cee8f2021-09-15 11:31:59 -070069## Architecture Overview
70
Scott Todd0acd6ec2022-05-23 15:53:30 -070071<!-- TODO(scotttodd): switch to <picture> once better supported? https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/ -->
72![IREE Architecture](docs/website/docs/assets/images/iree_architecture_dark.svg#gh-dark-mode-only)
73![IREE Architecture](docs/website/docs/assets/images/iree_architecture.svg#gh-light-mode-only)
Ben Vanik15cee8f2021-09-15 11:31:59 -070074
Scott Todd8c34b972023-10-24 09:34:49 -070075See [our website](https://iree.dev/) for more information.
Geoffrey Martin-Noble65e115b2019-12-27 18:03:15 -080076
Scott Toddcb0727a2021-05-07 15:01:01 -070077## Presentations and Talks
78
Jacques Pienaar778bf312024-05-09 13:14:58 -070079Community meeting recordings: [IREE YouTube channel](https://www.youtube.com/@iree4356)
80
Julian Walker4d1a1942021-12-10 14:13:50 -080081* 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 -070082* 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation
83 ([recording](https://drive.google.com/file/d/1325zKXnNIXGw3cdWrDWJ1-bp952wvC6W/view?usp=sharing)
84 and
85 [slides](https://docs.google.com/presentation/d/1NetHjKAOYg49KixY5tELqFp6Zr2v8_ujGzWZ_3xvqC8/edit))
86* 2020-03-18: Interactive HAL IR Walkthrough
87 ([recording](https://drive.google.com/file/d/1_sWDgAPDfrGQZdxAapSA90AD1jVfhp-f/view?usp=sharing))
88* 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation
89 ([recording](https://drive.google.com/open?id=1os9FaPodPI59uj7JJI3aXnTzkuttuVkR)
90 and
91 [slides](https://drive.google.com/open?id=1RCQ4ZPQFK9cVgu3IH1e5xbrBcqy7d_cEZ578j84OvYI))
92
Ben Vanik363fa072019-09-19 10:26:25 -070093## License
94
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -070095IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions.
96See [LICENSE](LICENSE) for more information.