Performance Characterization of Expert Router for Scalable LLM Inference

Josef Pichlmeier, Philipp Ross, Andre Luckow
4/22/2024
cs.CLcs.AIcs.PF

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) have experienced widespread adoption across scientific and industrial domains due to their versatility and utility for diverse tasks. Nevertheless, deploying and serving these models at scale with optimal throughput and latency remains a significant challenge, primarily because of LLMs' high computational and memory demands. Specialized models optimized for specific tasks can be combined through a routing mechanism to address these challenges, creating a modular inference system. This paper introduces Expert Router, a scalable routing architecture that directs prompts to specialized expert models. We characterize multiple Expert Router configurations, including different LLama 3 models with quantized and non-quantized weights under up to 1,000 concurrent users. Our findings reveal that Expert Router introduces minimal latency overhead, with the configuration of expert models being a dominating factor in performance outcomes. High-parameter expert models deliver stable throughput and latency under moderate concurrency levels. In contrast, smaller expert models maintain competitive performance across a wider range of concurrent users compared to tensor-parallelized baseline models. This highlights the potential of Expert Router for efficient and scalable LLM deployment.

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{pichlmeier2024performance,
  title  = {Performance Characterization of Expert Router for Scalable LLM Inference},
  author = {Josef Pichlmeier and Philipp Ross and Andre Luckow},
  year   = {2024},
  eprint = {2404.15153},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15153v2}
}

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

Discussion