commit | 998ed49bdb314e19e0c5b45474f1705082db28f1 | [log] [tgz] |
---|---|---|
author | Han-Chung Wang <hanhan0912@gmail.com> | Tue Jul 30 10:54:06 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Jul 30 10:54:06 2024 -0700 |
tree | e6f63d474f981614a2430731b05d764e69973090 | |
parent | 2c638f31a413a9d36a2b97a61fa0c179b8a62542 [diff] |
[VMVX] Add support for arith.maxnumf and arith.minnumf lowering. (#18033) Similar to what is done in CPU backend, it adds a ArithExpandOps pass to the late stage of the pipeline. This drops the local llvm revert (i.e., https://github.com/llvm/llvm-project/commit/fa066687) because the VMVX backend can emulate the ops. The GPU test changes are because of the upstream commit. It uses arith.maxnumf in softmax decomposition. Note: the arith.maximum and arith.minimum ops are also expanded with the change. They become a seq of cmp + select ops. Existing local patches carried over: - https://github.com/llvm/llvm-project/commit/f6431f0c - https://github.com/llvm/llvm-project/commit/bbd4af5d Fixes https://github.com/iree-org/iree/issues/17779 --------- Signed-off-by: hanhanW <hanhan0912@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!
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.