commit | 9691c91338feaaac26bdf14356ab7d5b877ce302 | [log] [tgz] |
---|---|---|
author | Manish Gupta <manigupta@google.com> | Mon Feb 06 09:37:48 2023 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 06 09:37:48 2023 -0800 |
tree | 5f2b36ea1d350afdc58385545d806489389ae127 | |
parent | cde68fdf16d3acab5bd5819f26ea9981abf77314 [diff] |
Functional support mma.sync.1688.f32.tf32 for F32 datatype (#12054) **Adds native Tensor Core (F32) support for NVIDIA A100 GPU** The PR targets`mma.sync.aligned.m16n8k8.row.col.f32.tf32.tf32.f32`, `ldmatrix` for operandA and `ld.shared` for operandB on NVIDIA A100 GPUs. For now, these instructions are not enabled by default and are behind iree-compile flag `--iree-codegen-llvmgpu-use-mma-sync=true`. IREE runs row-row matmul, the native Tensor Core support is enabled through `ldmatrix` for operandA. However, `ldmatrix.trans` for operandB can only work at 16-bit granularity. Thus, `ld.shared` instruction is used for operandB to transposes the data while loading data into register. This allows the use of Tensor Core `mma.sync*row.col*` instruction.
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.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.