iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.

https://github.com/rooflineai/iree

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A retargetable MLIR-based machine learning compiler and runtime toolkit.

Basic Info
  • Host: GitHub
  • Owner: RooflineAI
  • License: apache-2.0
  • Language: C++
  • Default Branch: dev
  • Homepage: http://iree.dev/
  • Size: 110 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 16
  • Releases: 0
Created over 1 year ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License Citation Codeowners Authors

README.md

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.

IREE Discord Status pre-commit OpenSSF Best Practices

Project news

Project status

Release status

Releases notes are published on GitHub releases.

| Package | Release status | | -- | -- | GitHub release (stable) | GitHub Release GitHub release (nightly) | GitHub Release iree-base-compiler | PyPI version iree-base-runtime | PyPI version

For more details on the release process, see https://iree.dev/developers/general/release-management/.

Build status

CI PkgCI

Nightly build status

| Operating system | Build status | | -- | --: | Linux | CI - Linux arm64 clang macOS | CI - macOS x64 clang macOS | CI - macOS arm64 clang

For the full list of workflows see https://iree.dev/developers/general/github-actions/.

Communication channels

Related project 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.

Architecture overview

IREE Architecture IREE Architecture

See our website for more information.

Presentations and talks

Community meeting recordings: IREE YouTube channel

Date | Title | Recording | Slides ---- | ----- | --------- | ------ 2025-02-12 | The Long Tail of AI: SPIR-V in IREE and MLIR (Vulkanised) | recording | slides 2024-10-01 | Unveiling the Inner Workings of IREE: An MLIR-Based Compiler for Diverse H/W | recording | 2021-06-09 | IREE Runtime Design Tech Talk | recording | slides 2020-08-20 | IREE CodeGen (MLIR Open Design Meeting) | recording | slides 2020-03-18 | Interactive HAL IR Walkthrough | recording | 2020-01-31 | End-to-end MLIR Workflow in IREE (MLIR Open Design Meeting) | recording | slides

License

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

Owner

  • Name: roofline
  • Login: RooflineAI
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you want to cite IREE, feel free to use this"
title: "IREE"
abstract: >-
  An MLIR-based compiler and runtime for ML models from multiple frameworks.
date-released: 2019-09-18
authors:
  - name: "The IREE Authors"
contact:
  - family-names: Vanik
    given-names: Ben
    email: ben.vanik@gmail.com
    affiliation: Advanced Micro Devices, Inc.
  - family-names: Laurenzo
    given-names: Stella
    email: stellaraccident@gmail.com
    affiliation: Advanced Micro Devices, Inc.
license: "Apache-2.0 WITH LLVM-exception"
url: "https://iree.dev/"
repository-code: "https://github.com/iree-org/iree"
keywords:
  - compiler
  - "machine learning"
  - "deep learning"
  - "artificial intelligence"

GitHub Events

Total
  • Delete event: 57
  • Issue comment event: 81
  • Push event: 246
  • Pull request event: 140
  • Pull request review event: 172
  • Pull request review comment event: 81
  • Create event: 112
Last Year
  • Delete event: 57
  • Issue comment event: 81
  • Push event: 246
  • Pull request event: 140
  • Pull request review event: 172
  • Pull request review comment event: 81
  • Create event: 112

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 69
  • Average time to close issues: 1 day
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 9
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.94
  • Merged pull requests: 36
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 1
  • Pull requests: 69
  • Average time to close issues: 1 day
  • Average time to close pull requests: 3 days
  • Issue authors: 1
  • Pull request authors: 9
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.94
  • Merged pull requests: 36
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
  • chrsmcgrr (1)
Pull Request Authors
  • chrsmcgrr (19)
  • ziereis (18)
  • AGindinson (12)
  • DavidGinten (8)
  • devtbi (8)
  • egebeysel (5)
  • Manewing (4)
  • dependabot[bot] (2)
  • maxbartel (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2) github_actions (2)

Dependencies

.github/workflows/build_package.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
  • benc-uk/workflow-dispatch e2e5e9a103e331dad343f381a29e654aea3cf8fc composite
  • dwenegar/upload-release-assets fe47e06814723c7b1bea3a7e46cf93d5f020d0c3 composite
  • ilammy/msvc-dev-cmd 0b201ec74fa43914dc39ae48a89fd1d8cb592756 composite
.github/workflows/ci.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • hendrikmuhs/ccache-action 63069e3931dedbf3b63792097479563182fe70d1 composite
  • ilammy/msvc-dev-cmd 0b201ec74fa43914dc39ae48a89fd1d8cb592756 composite
.github/workflows/ci_linux_arm64_clang.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_linux_x64_bazel.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
.github/workflows/ci_linux_x64_clang.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
.github/workflows/ci_linux_x64_clang_asan.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
.github/workflows/ci_linux_x64_clang_byollvm.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_linux_x64_clang_debug.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_linux_x64_clang_tsan.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_linux_x64_gcc.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_macos_arm64_clang.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_macos_x64_clang.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
.github/workflows/ci_windows_x64_msvc.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • ilammy/msvc-dev-cmd 0b201ec74fa43914dc39ae48a89fd1d8cb592756 composite
.github/workflows/lint.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • pre-commit/action 2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd composite
.github/workflows/oneshot_candidate_release.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • ad-m/github-push-action d91a481090679876dfc4178fef17f286781251df composite
  • benc-uk/workflow-dispatch e2e5e9a103e331dad343f381a29e654aea3cf8fc composite
  • ncipollo/release-action 440c8c1cb0ed28b9f43e4d1d670870f059653174 composite
.github/workflows/pkgci.yml actions
.github/workflows/pkgci_build_packages.yml actions
  • actions/cache 5a3ec84eff668545956fd18022155c47e93e2684 composite
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
.github/workflows/pkgci_test_amd_mi250.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_test_amd_mi300.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_test_amd_w7900.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_test_android.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • hendrikmuhs/ccache-action 63069e3931dedbf3b63792097479563182fe70d1 composite
  • nttld/setup-ndk afb4c9964b521afb97c864b7d40b11e6911bd410 composite
.github/workflows/pkgci_test_nvidia_t4.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_test_onnx.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
.github/workflows/pkgci_test_pjrt.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • hendrikmuhs/ccache-action 63069e3931dedbf3b63792097479563182fe70d1 composite
.github/workflows/pkgci_test_riscv64.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • hendrikmuhs/ccache-action 63069e3931dedbf3b63792097479563182fe70d1 composite
.github/workflows/pkgci_test_sharktank.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_test_tensorflow.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/pkgci_unit_test.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/publish_website.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • hendrikmuhs/ccache-action 63069e3931dedbf3b63792097479563182fe70d1 composite
.github/workflows/samples.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • mymindstorm/setup-emsdk 6ab9eb1bda2574c4ddb79809fc9247783eaf9021 composite
.github/workflows/schedule_candidate_release.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • benc-uk/workflow-dispatch e2e5e9a103e331dad343f381a29e654aea3cf8fc composite
  • ncipollo/release-action 440c8c1cb0ed28b9f43e4d1d670870f059653174 composite
.github/workflows/setup.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
.github/workflows/validate_and_publish_release.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • ad-m/github-push-action d91a481090679876dfc4178fef17f286781251df composite
  • dawidd6/action-download-artifact 4c1e823582f43b179e2cbb49c3eade4e41f992e2 composite
  • eregon/publish-release 01df127f5e9a3c26935118e22e738d95b59d10ce composite
.github/workflows/workflow_summary.yml actions
  • sarisia/actions-status-discord 5ddd3b114a98457dd80a39b2f00b6a998cd69008 composite
runtime/bindings/tflite/java/build.gradle maven
  • com.android.support:support-annotations 22.2.0 implementation
build_tools/github_actions/ci_requirements.txt pypi
  • cmake >=3.18.4
  • ninja *
  • packaging *
build_tools/python_deploy/pypi_deploy_requirements.txt pypi
  • change_wheel_version *
  • packaging *
  • pkginfo *
  • twine *
compiler/pyproject.toml pypi
compiler/setup.py pypi
  • numpy *
  • sympy *
docs/api_docs/python/requirements.txt pypi
  • commonmark ==0.9.1
  • enum-tools ==0.10.0
  • iree-base-compiler *
  • iree-base-runtime *
  • myst-parser ==0.15.2
  • sphinx ==4.2.0
  • sphinx-autobuild *
  • sphinx-rtd-theme ==1.0.0
  • sphinx-toolbox ==2.16.1
  • sphinxcontrib-applehelp ==1.0.4
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.1
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
docs/website/requirements.txt pypi
  • mkdocs-material ==9.5.48
  • mkdocs-redirects ==1.2.1
integrations/pjrt/ctstools/setup.py pypi
integrations/pjrt/python_packages/iree_cpu_plugin/pyproject.toml pypi
integrations/pjrt/python_packages/iree_cpu_plugin/setup.py pypi
integrations/pjrt/python_packages/iree_cuda_plugin/pyproject.toml pypi
integrations/pjrt/python_packages/iree_cuda_plugin/setup.py pypi
integrations/pjrt/python_packages/iree_rocm_plugin/pyproject.toml pypi
integrations/pjrt/python_packages/iree_rocm_plugin/setup.py pypi
integrations/pjrt/python_packages/iree_vulkan_plugin/pyproject.toml pypi
integrations/pjrt/python_packages/iree_vulkan_plugin/setup.py pypi
integrations/pjrt/requirements.txt pypi
  • iree-base-compiler ==3.0.0
  • jaxlib ==0.4.17.dev20230922
integrations/tensorflow/python_projects/iree_tf/pyproject.toml pypi
integrations/tensorflow/python_projects/iree_tf/setup.py pypi
integrations/tensorflow/python_projects/iree_tflite/pyproject.toml pypi
integrations/tensorflow/python_projects/iree_tflite/setup.py pypi
integrations/tensorflow/test/requirements.txt pypi
  • Pillow >=10.3.0 test
  • keras >=2.13.1 test
  • pytest * test
  • tensorflow >=2.16.1 test
runtime/bindings/python/iree/runtime/build_requirements.txt pypi
  • numpy >=2.0.0b1
  • pip >=21.3
  • requests >=2.28.0
  • setuptools >=62.4.0
  • sympy ==1.12.1
  • wheel >=0.36.2
runtime/pyproject.toml pypi
runtime/requirements.txt pypi
  • numpy >=2.0.0
runtime/setup.py pypi
  • numpy *
tests/e2e/collectives/run_requirements.txt pypi
  • mpi4py ==3.1.4 test
  • numpy * test
tests/e2e/stablehlo_models/mnist_train_test/generate_test_data_requirements.txt pypi
  • iree-jax 26006ef5842a604e28ea71e65e9224ad20f028e9 test
  • jax ==0.4.2 test
  • numpy ==1.24.2 test