commit | a3d8ad6f1f7a300da3921dd048844844abdb8400 | [log] [tgz] |
---|---|---|
author | Kunwar Grover <groverkss@gmail.com> | Tue Oct 15 17:36:51 2024 +0100 |
committer | GitHub <noreply@github.com> | Tue Oct 15 16:36:51 2024 +0000 |
tree | 96e351a7c8b44da68e41f90e48d4b169c97df398 | |
parent | afe18d222e840644bf78f103fe584610c7c9d04c [diff] |
[ROCM] Fix feature flags for gfx1100 and improve flag handling (#18781) For gfx1100, the feature string being passed was `+wavefrontsize32-fma-mix-insts`. This is clearly invalid as the flags aren't seperated. This patch improves the feature handling for multiple flags. This fix also found a bug with passing -fma-mix-insts on gfx1100, which causes a crash in the compiler: ``` iree-compile: /home/kunwar/Work/iree/third_party/llvm-project/llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp:118: HardClauseType (anonymous namespace)::SIInsertHardClauses::getHardClauseType(const MachineInstr &): Assertion `ST->getGeneration() >= AMDGPUSubtarget::GFX11' failed. Please report issues to https://github.com/iree-org/iree/issues and include the crash backtrace. Stack dump: 0. Running pass 'CallGraph Pass Manager' on module '_winograd_input_nchw_dispatch_0'. 1. Running pass 'SI Insert Hard Clauses' on function '@_winograd_input_nchw_dispatch_0_winograd_input_transform_8x8x1x1x1x1xf32_dispatch_tensor_store' iree-compile: /home/kunwar/Work/iree/third_party/llvm-project/llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp:118: HardClauseType (anonymous namespace)::SIInsertHardClauses::getHardClauseType(const MachineInstr &): Assertion `ST->getGeneration() >= AMDGPUSubtarget::GFX11' failed. Aborted (core dumped) ``` To fix this, the patch also restricts passing -fma-mix-insts to gfx9
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.