blob: f36b3968116bf448285495963617654bb956469e [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
Lei Zhangc4cfa792020-04-08 14:55:41 -07003IREE (**I**ntermediate **R**epresentation **E**xecution **E**nvironment,
Stella Laurenzof165f602021-05-22 16:38:02 -07004pronounced as "eerie") is an [MLIR](https://mlir.llvm.org/)-based end-to-end
5compiler and runtime that lowers Machine Learning (ML) models to a unified IR
6that scales up to meet the needs of the datacenter and down to satisfy the
7constraints and special considerations of mobile and edge deployments.
Scott Toddcb0727a2021-05-07 15:01:01 -07008
Scott Todd8c34b972023-10-24 09:34:49 -07009See [our website](https://iree.dev/) for project details, user
Scott Toddcb0727a2021-05-07 15:01:01 -070010guides, and instructions on building from source.
Ben Vanik363fa072019-09-19 10:26:25 -070011
Scott Toddc7b29122023-02-21 17:33:35 -080012[![CI Status](https://github.com/openxla/iree/actions/workflows/ci.yml/badge.svg?query=branch%3Amain+event%3Apush)](https://github.com/openxla/iree/actions/workflows/ci.yml?query=branch%3Amain+event%3Apush)
Stella Laurenzo72aeee22024-04-15 12:49:28 -070013[![IREE Discord Status](https://discordapp.com/api/guilds/689900678990135345/widget.png?style=shield)]([https://discord.gg/26P4xW4](https://discord.gg/wEWh6Z9nMU))
Geoffrey Martin-Noble0d876462022-08-11 13:20:20 -070014
Lei Zhangc4cfa792020-04-08 14:55:41 -070015#### Project Status
Ben Vanik363fa072019-09-19 10:26:25 -070016
Lei Zhangc4cfa792020-04-08 14:55:41 -070017IREE is still in its early phase. We have settled down on the overarching
18infrastructure and are actively improving various software components as well as
phoenix-meadowlarkf81eef32020-06-10 11:02:21 -070019project logistics. It is still quite far from ready for everyday use and is made
20available without any support at the moment. With that said, we welcome any kind
21of feedback on any [communication channels](#communication-channels)!
Ben Vanik363fa072019-09-19 10:26:25 -070022
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070023## Communication Channels
Geoffrey Martin-Nobleec3c4a62019-12-18 14:47:42 -080024
Scott Toddc7b29122023-02-21 17:33:35 -080025* [GitHub issues](https://github.com/openxla/iree/issues): Feature requests,
Scott Toddcb0727a2021-05-07 15:01:01 -070026 bugs, and other work tracking
Stella Laurenzo22faa152024-04-15 12:51:09 -070027* [IREE Discord server](https://discord.gg/wEWh6Z9nMU): Daily development
Scott Toddcb0727a2021-05-07 15:01:01 -070028 discussions with the core team and collaborators
29* [iree-discuss email list](https://groups.google.com/forum/#!forum/iree-discuss):
30 Announcements, general and low-priority discussion
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070031
Lei Zhangc4cfa792020-04-08 14:55:41 -070032#### Related Project Channels
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070033
34* [MLIR topic within LLVM Discourse](https://llvm.discourse.group/c/llvm-project/mlir/31):
Lei Zhangc4cfa792020-04-08 14:55:41 -070035 IREE is enabled by and heavily relies on [MLIR](https://mlir.llvm.org). IREE
36 sometimes is referred to in certain MLIR discussions. Useful if you are also
37 interested in MLIR evolution.
38
Ben Vanik15cee8f2021-09-15 11:31:59 -070039## Architecture Overview
40
Scott Todd0acd6ec2022-05-23 15:53:30 -070041<!-- TODO(scotttodd): switch to <picture> once better supported? https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/ -->
42![IREE Architecture](docs/website/docs/assets/images/iree_architecture_dark.svg#gh-dark-mode-only)
43![IREE Architecture](docs/website/docs/assets/images/iree_architecture.svg#gh-light-mode-only)
Ben Vanik15cee8f2021-09-15 11:31:59 -070044
Scott Todd8c34b972023-10-24 09:34:49 -070045See [our website](https://iree.dev/) for more information.
Geoffrey Martin-Noble65e115b2019-12-27 18:03:15 -080046
Scott Toddcb0727a2021-05-07 15:01:01 -070047## Presentations and Talks
48
Scott Toddba31a3d2023-08-21 09:51:11 -070049* Community meeting recordings: [IREE YouTube channel](https://www.youtube.com/@iree4356)
Julian Walker4d1a1942021-12-10 14:13:50 -080050* 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 -070051* 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation
52 ([recording](https://drive.google.com/file/d/1325zKXnNIXGw3cdWrDWJ1-bp952wvC6W/view?usp=sharing)
53 and
54 [slides](https://docs.google.com/presentation/d/1NetHjKAOYg49KixY5tELqFp6Zr2v8_ujGzWZ_3xvqC8/edit))
55* 2020-03-18: Interactive HAL IR Walkthrough
56 ([recording](https://drive.google.com/file/d/1_sWDgAPDfrGQZdxAapSA90AD1jVfhp-f/view?usp=sharing))
57* 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation
58 ([recording](https://drive.google.com/open?id=1os9FaPodPI59uj7JJI3aXnTzkuttuVkR)
59 and
60 [slides](https://drive.google.com/open?id=1RCQ4ZPQFK9cVgu3IH1e5xbrBcqy7d_cEZ578j84OvYI))
61
Ben Vanik363fa072019-09-19 10:26:25 -070062## License
63
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -070064IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions.
65See [LICENSE](LICENSE) for more information.