iree

iree-orgApache-2.0活跃维护

基于 MLIR 的可重定向机器学习编译器与运行时工具包,把 PyTorch、TensorFlow、JAX、ONNX 等模型编译到 CPU、CUDA、ROCm、Vulkan 等多种硬件上运行。

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

iree-3.14.0rc20261108发布于 2026-11-08 10:00 UTC4,009star +1 / 7 天1,056fork同步于 2026-11-10 17:40 UTC

怎么上手

由 README 提炼,执行前请确认
pip install iree-base-compiler
pip install iree-base-runtime
硬件要求按 README 说明

README 未说明具体显存、CPU 或 GPU 型号要求,仅提及目标覆盖数据中心、移动与边缘部署。

支持 ROCm / AMD
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 MLIR 的端到端 ML 编译器与运行时,把模型编译成统一 IR,覆盖数据中心到移动边缘

基于 MLIR 的可重定向机器学习编译器与运行时工具包,把 PyTorch、TensorFlow、JAX、ONNX 等模型编译到 CPU、CUDA、ROCm、Vulkan 等多种硬件上运行。

核心能力

  • 用 MLIR 将 ML 模型降为统一 IR
  • 同一套编译产物从数据中心扩展到移动边缘
  • 提供编译器与运行时两部分工具链
  • 发布 PyPI 包 iree-base-compiler 与 iree-base-runtime
  • 支持 GPU CodeGen 与 SPIR-V 后端

容易踩的坑

编译器与运行时是两个独立 PyPI 包,需分别安装;README 未给出具体编译命令,需查阅官网文档;从源码构建的说明不在 README 内,需访问 iree.dev。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本iree-3.14.0rc20261108
  1. iree-3.14.0rc20261108iree candidate iree-3.14.0rc20261108pre-release最新正式版2026-11-08 · 2026-11-08 10:00 UTC

    Automatic candidate release of iree.

  2. iree-3.14.0rc20261107iree candidate iree-3.14.0rc20261107pre-release2026-11-07 · 2026-11-07 09:14 UTC
    查看更新说明

    Automatic candidate release of iree.

  3. iree-3.14.0rc20261106iree candidate iree-3.14.0rc20261106pre-release2026-11-06 · 2026-11-06 11:05 UTC
    查看更新说明

    Automatic candidate release of iree.

  4. iree-3.13.1Release v3.13.1pre-release2026-11-06 · 2026-11-06 04:50 UTC
    查看更新说明

    Highlights in IREE v3.13.1 Patch Release

    Runtime

    • Restores VM bytecode verifier validation of register ordinals and tightens related register and type checks. Users of iree-base-runtime 3.10.0 through 3.13.0 should upgrade to 3.13.1. https://github.com/iree-org/iree/pull/25088

    Build infrastructure

    Full Changelog: https://github.com/iree-org/iree/compare/v3.13.0...iree-3.13.1

  5. iree-3.14.0rc20261104iree candidate iree-3.14.0rc20261104pre-release2026-11-04 · 2026-11-04 11:04 UTC
    查看更新说明

    Automatic candidate release of iree.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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.

    PackageRelease status
    GitHub release (stable)GitHub Release
    GitHub release (nightly)GitHub Release
    iree-base-compilerPyPI version
    iree-base-runtimePyPI version

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

    Build status

    CI PkgCI

    Nightly build status
    Operating systemBuild status
    LinuxCI - Linux arm64 clang
    macOSCI - 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

    DateTitleRecordingSlides
    2025-06-10Data-Tiling in IREE: Achieving High Performance Through Compiler Design (AsiaLLVM)recordingslides
    2025-05-17Introduction to GPU architecture and IREE's GPU CodeGen Pipelinerecordingslides
    2025-02-12The Long Tail of AI: SPIR-V in IREE and MLIR (Vulkanised)recordingslides
    2024-10-01Unveiling the Inner Workings of IREE: An MLIR-Based Compiler for Diverse Hardwarerecording
    2021-06-09IREE Runtime Design Tech Talkrecordingslides
    2020-08-20IREE CodeGen (MLIR Open Design Meeting)recordingslides
    2020-03-18Interactive HAL IR Walkthroughrecording
    2020-01-31End-to-end MLIR Workflow in IREE (MLIR Open Design Meeting)recordingslides

    License

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