commit | 0a6cdf0d5bd07f53b673fd1c516ea29e89045fcd | [log] [tgz] |
---|---|---|
author | Manish Gupta <manigupta@google.com> | Tue Nov 08 22:12:02 2022 -0800 |
committer | GitHub <noreply@github.com> | Tue Nov 08 22:12:02 2022 -0800 |
tree | c6b459bbdad897041fae4f89199aabd33ad626d2 | |
parent | a230101548fb67d3ff7a1f122e1a0dd6b865410c [diff] |
Add support for GEMM e2e Test For CUDA backend on F16 input (#10842) This pull request adds support for testing e2e GEMM on a CUDA backend for F16 input and F16 accumulation. - Functional testing of F16 GEMMs requires setting the right tolerance value to ensure correctness checks. - Tolerance-based testing is fragile and finding tolerances is hard. - Instead we fill the buffers as small integers centered at zero and test for equivalence. This pull requests adds `e2e_matmul_direct_f16_gpu_large_LLVMGPUMatmulTensorCore_cuda_cuda` e2e GEMM test to CUDA backend. We have not total four e2e GEMM tests on CUDA backend. ```bash manigupta@manigupta-gpu-a100 ~/cpu_machine_workspace/repos/iree/iree_tree_1/iree-build-debug $ ctest -j96 -R e2e_matmul.*cuda 1/4 Test #41: iree/tests/e2e/matmul/e2e_matmul_direct_f32_gpu_large_LLVMGPUMatmulTensorCore_cuda_cuda ... Passed 2.83 sec 2/4 Test #42: iree/tests/e2e/matmul/e2e_matmul_direct_f16_gpu_large_LLVMGPUMatmulTensorCore_cuda_cuda ... Passed 3.09 sec 3/4 Test #40: iree/tests/e2e/matmul/e2e_matmul_direct_f32_gpu_large_LLVMGPUMatmulSimt_cuda_cuda ......... Passed 3.38 sec 4/4 Test #43: iree/tests/e2e/matmul/e2e_matmul_direct_f32_large_split_k_cuda_cuda ....................... Passed 4.43 sec ```
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.