A Comprehensive Performance Study of Large Language Models on Novel AI Accelerators

Murali Emani, Sam Foreman, Varuni Sastry, Zhen Xie, Siddhisanket Raskar +4 more
10/6/2023
cs.PFcs.AIcs.AR

No confident code implementation found for this paper.

Abstract

Artificial intelligence (AI) methods have become critical in scientific applications to help accelerate scientific discovery. Large language models (LLMs) are being considered as a promising approach to address some of the challenging problems because of their superior generalization capabilities across domains. The effectiveness of the models and the accuracy of the applications is contingent upon their efficient execution on the underlying hardware infrastructure. Specialized AI accelerator hardware systems have recently become available for accelerating AI applications. However, the comparative performance of these AI accelerators on large language models has not been previously studied. In this paper, we systematically study LLMs on multiple AI accelerators and GPUs and evaluate their performance characteristics for these models. We evaluate these systems with (i) a micro-benchmark using a core transformer block, (ii) a GPT- 2 model, and (iii) an LLM-driven science use case, GenSLM. We present our findings and analyses of the models' performance to better understand the intrinsic capabilities of AI accelerators. Furthermore, our analysis takes into account key factors such as sequence lengths, scaling behavior, sparsity, and sensitivity to gradient accumulation steps.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{emani2023comprehensive,
  title  = {A Comprehensive Performance Study of Large Language Models on Novel AI Accelerators},
  author = {Murali Emani and Sam Foreman and Varuni Sastry and Zhen Xie and Siddhisanket Raskar and William Arnold and Rajeev Thakur and Venkatram Vishwanath and Michael E. Papka},
  year   = {2023},
  eprint = {2310.04607},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.04607v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.04607.svg)](https://codeofpaper.com/paper/2310.04607)

Discussion