commit | d5c4ef12db0d24204a208c45a881b852a3e56a42 | [log] [tgz] |
---|---|---|
author | Max191 <44243577+Max191@users.noreply.github.com> | Mon Sep 09 13:06:20 2024 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 09 16:06:20 2024 -0400 |
tree | 5d117a2795cfbd4e698d1ac0599947033bb88ee0 | |
parent | 69ca7dfa042141602f0ff748c456c31be86e3db6 [diff] |
[LLVMGPU] Improve mfma tile sizes for TileAndFuse pipeline (#18459) This attempts to select better tile sizes on the TileAndFuse pipeline based on the number of elements loaded along the K dimension tile. A new field is added to `GPUMMAHeuristicSeeds` called `bestKElementCountPerSubgroup`, which represents the best number of elements to have along the K dimension of a subgroup tile. This can be more useful than the existing `bestKTileCountPerSubgroup`, since it takes into account the size of the intrinsic being selected. Having control over the specific number of elements loaded helps give better control over overall VGPR utilization and load queue saturation. The tile size selection logic in `setMatmulLoweringConfig` has been tuned using this new field. The current tile sizes improve overall performance on SDXL for the TileAndFuse pipeline over the old tile size selection logic. --------- Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
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 is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels
Package | Release status |
---|---|
GitHub release (stable) | |
GitHub release (nightly) | |
Python iree-compiler | |
Python iree-runtime |
Host platform | Build status |
---|---|
Linux | |
macOS | |
Windows |
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
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.