blob: 5477ec6a67688910d253c566b823e63b1d34e43e [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 Toddc7b29122023-02-21 17:33:35 -08009See [our website](https://openxla.github.io/iree/) 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)
Geoffrey Martin-Noble0d876462022-08-11 13:20:20 -070013
Lei Zhangc4cfa792020-04-08 14:55:41 -070014#### Project Status
Ben Vanik363fa072019-09-19 10:26:25 -070015
Lei Zhangc4cfa792020-04-08 14:55:41 -070016IREE is still in its early phase. We have settled down on the overarching
17infrastructure and are actively improving various software components as well as
phoenix-meadowlarkf81eef32020-06-10 11:02:21 -070018project logistics. It is still quite far from ready for everyday use and is made
19available without any support at the moment. With that said, we welcome any kind
20of feedback on any [communication channels](#communication-channels)!
Ben Vanik363fa072019-09-19 10:26:25 -070021
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070022## Communication Channels
Geoffrey Martin-Nobleec3c4a62019-12-18 14:47:42 -080023
Scott Toddc7b29122023-02-21 17:33:35 -080024* [GitHub issues](https://github.com/openxla/iree/issues): Feature requests,
Scott Toddcb0727a2021-05-07 15:01:01 -070025 bugs, and other work tracking
26* [IREE Discord server](https://discord.gg/26P4xW4): Daily development
27 discussions with the core team and collaborators
28* [iree-discuss email list](https://groups.google.com/forum/#!forum/iree-discuss):
29 Announcements, general and low-priority discussion
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070030
Lei Zhangc4cfa792020-04-08 14:55:41 -070031#### Related Project Channels
Stella Laurenzo1121c5f2020-03-18 15:01:20 -070032
33* [MLIR topic within LLVM Discourse](https://llvm.discourse.group/c/llvm-project/mlir/31):
Lei Zhangc4cfa792020-04-08 14:55:41 -070034 IREE is enabled by and heavily relies on [MLIR](https://mlir.llvm.org). IREE
35 sometimes is referred to in certain MLIR discussions. Useful if you are also
36 interested in MLIR evolution.
37
Ben Vanik15cee8f2021-09-15 11:31:59 -070038## Architecture Overview
39
Scott Todd0acd6ec2022-05-23 15:53:30 -070040<!-- TODO(scotttodd): switch to <picture> once better supported? https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/ -->
41![IREE Architecture](docs/website/docs/assets/images/iree_architecture_dark.svg#gh-dark-mode-only)
42![IREE Architecture](docs/website/docs/assets/images/iree_architecture.svg#gh-light-mode-only)
Ben Vanik15cee8f2021-09-15 11:31:59 -070043
Scott Toddc7b29122023-02-21 17:33:35 -080044See [our website](https://openxla.github.io/iree/) for more information.
Geoffrey Martin-Noble65e115b2019-12-27 18:03:15 -080045
Scott Toddcb0727a2021-05-07 15:01:01 -070046## Presentations and Talks
47
Julian Walker4d1a1942021-12-10 14:13:50 -080048* 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 -070049* 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation
50 ([recording](https://drive.google.com/file/d/1325zKXnNIXGw3cdWrDWJ1-bp952wvC6W/view?usp=sharing)
51 and
52 [slides](https://docs.google.com/presentation/d/1NetHjKAOYg49KixY5tELqFp6Zr2v8_ujGzWZ_3xvqC8/edit))
53* 2020-03-18: Interactive HAL IR Walkthrough
54 ([recording](https://drive.google.com/file/d/1_sWDgAPDfrGQZdxAapSA90AD1jVfhp-f/view?usp=sharing))
55* 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation
56 ([recording](https://drive.google.com/open?id=1os9FaPodPI59uj7JJI3aXnTzkuttuVkR)
57 and
58 [slides](https://drive.google.com/open?id=1RCQ4ZPQFK9cVgu3IH1e5xbrBcqy7d_cEZ578j84OvYI))
59
Ben Vanik363fa072019-09-19 10:26:25 -070060## License
61
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -070062IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions.
63See [LICENSE](LICENSE) for more information.