SC23 Proceedings

The International Conference for High Performance Computing, Networking, Storage, and Analysis

Workshops Archive

Autotuning Apache TVM-Based Scientific Applications Using Bayesian Optimization


Workshop: Workshop on Artificial Intelligence and Machine Learning for Scientific Applications (AI4S)

Authors: Xingfu Wu (Argonne National Laboratory, University of Chicago); Praveen Paramasivam (University of South Dakota); and Valerie Taylor (Argonne National Laboratory)


Abstract: Apache TVM (Tensor Virtual Machine), an open source machine learning compiler framework designed to optimize computations across various hardware platforms, provides an opportunity to improve the performance of dense matrix factorizations such as LU (Lower Upper) decomposition and Cholesky decomposition on GPUs, FPGAs, ASICs, and AI accelerators. In this paper, we propose a new TVM autotuning framework using Bayesian Optimization and use the TVM tensor expression language to implement linear algebra kernels such as LU, Cholesky, and 3mm. We use these scientific computation kernels to evaluate the effectiveness of our methods on a GPU cluster, called Swing, at Argonne National Laboratory. We compare the proposed autotuning framework with the TVM autotuning framework AutoTVM with four tuners and find that our framework outperforms AutoTVM in most cases.





Back to Workshop on Artificial Intelligence and Machine Learning for Scientific Applications (AI4S) Archive Listing



Back to Full Workshop Archive Listing