| commit | b50d762352709be8c3c3254fff6ac328c2f6246d | [log] [tgz] |
|---|---|---|
| author | Ian Wood <ianwood2024@u.northwestern.edu> | Tue Jan 13 12:12:19 2026 -0800 |
| committer | GitHub <noreply@github.com> | Tue Jan 13 12:12:19 2026 -0800 |
| tree | 1db26e09d036bc3338f48472b09c77fdc9f1f381 | |
| parent | 87050546be57c9d0425c33ba39bb4001cd3577e7 [diff] |
[LLVMGPU] Handle mixed-precision matmuls by returning nullopt (#23116) Previously, `getMmaScheduleFromProblemAndTarget` would assert that both matmul operands have the same type (aType == bType). This assertion fails for mixed-precision operations like f32 x bf16, causing crashes in debug builds. This change replaces the assertion with an explicit check that returns `std::nullopt` when operand types don't match, making the behavior consistent between debug and release builds. Mixed-precision operations will fall back to non-MMA tile-and-fuse configurations. This adds a test case in `config_tile_and_fuse.mlir` to verify that mixed-precision matmuls compile without crashing and use the non-MMA configuration. Workaround for https://github.com/iree-org/iree/issues/23040 Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
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.
Releases notes are published on GitHub releases.
| Package | Release status |
|---|---|
| GitHub release (stable) | |
| GitHub release (nightly) | |
iree-base-compiler | |
iree-base-runtime |
For more details on the release process, see https://iree.dev/developers/general/release-management/.
| Operating system | Build status |
|---|---|
| Linux | |
| macOS | |
| macOS |
For the full list of workflows see https://iree.dev/developers/general/github-actions/.
See our website for more information.
Community meeting recordings: IREE YouTube channel
| Date | Title | Recording | Slides |
|---|---|---|---|
| 2025-06-10 | Data-Tiling in IREE: Achieving High Performance Through Compiler Design (AsiaLLVM) | recording | slides |
| 2025-05-17 | Introduction to GPU architecture and IREE's GPU CodeGen Pipeline | 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 Hardware | 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 |
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.