Towards Pareto Optimal Throughput in Small Language Model Serving

Pol G. Recasens, Yue Zhu, Chen Wang, Eun Kyung Lee, Olivier Tardieu +3 more
4/4/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have revolutionized the state-of-the-art of many different natural language processing tasks. Although serving LLMs is computationally and memory demanding, the rise of Small Language Models (SLMs) offers new opportunities for resource-constrained users, who now are able to serve small models with cutting-edge performance. In this paper, we present a set of experiments designed to benchmark SLM inference at performance and energy levels. Our analysis provides a new perspective in serving, highlighting that the small memory footprint of SLMs allows for reaching the Pareto-optimal throughput within the resource capacity of a single accelerator. In this regard, we present an initial set of findings demonstrating how model replication can effectively improve resource utilization for serving SLMs.

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!

Cite this paper

@article{recasens2024towards,
  title  = {Towards Pareto Optimal Throughput in Small Language Model Serving},
  author = {Pol G. Recasens and Yue Zhu and Chen Wang and Eun Kyung Lee and Olivier Tardieu and Alaa Youssef and Jordi Torres and Josep Ll. Berral},
  year   = {2024},
  eprint = {2404.03353},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.03353v3}
}

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/2404.03353.svg)](https://codeofpaper.com/paper/2404.03353)

Discussion