BlockLLM: Multi-tenant Finer-grained Serving for Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Hu, Bodun, Li, Jiamin, Xu, Le, Lee, Myungjin, Jajoo, Akshay, Kim, Geon-Woo, Xu, Hong, Akella, Aditya
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910617763315712
author Hu, Bodun
Li, Jiamin
Xu, Le
Lee, Myungjin
Jajoo, Akshay
Kim, Geon-Woo
Xu, Hong
Akella, Aditya
author_facet Hu, Bodun
Li, Jiamin
Xu, Le
Lee, Myungjin
Jajoo, Akshay
Kim, Geon-Woo
Xu, Hong
Akella, Aditya
contents The increasing demand for Large Language Models (LLMs) across various applications has led to a significant shift in the design of deep learning serving systems. Deploying LLMs, particularly in multi-tenant environments, poses substantial challenges due to their high computational and memory demands. We introduce BlockLLM, a serving system that leverages component sharing among fine-tuned LLM models to provide an efficient and flexible solution for LLM workloads. BlockLLM partitions models into finer-grained blocks, enabling the reuse of model components and independent provisioning to improve computation efficiency. BlockLLM comprises an offline block zoo for storing blocks and an online system to serve requests through chains of blocks. It offers multi-fold flexibilities: (1) Adaptive assembly of blocks on-the-fly through equivalence evaluation among blocks in the zoo; (2) Per-block batch size configuration and best-effort KV cache coordination at the individual block level; (3) Speculative execution and locality-aware block placement to reduce communication costs from dynamic block resource allocation. Our evaluation shows that BlockLLM reduces memory and storage footprints and improves computational efficiency, outperforming existing serving approach in 95%ile latency and GPU utilization by 33.5% and 20.1%, respectively, with minimal impact on accuracy
format Preprint
id arxiv_https___arxiv_org_abs_2404_18322
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle BlockLLM: Multi-tenant Finer-grained Serving for Large Language Models
Hu, Bodun
Li, Jiamin
Xu, Le
Lee, Myungjin
Jajoo, Akshay
Kim, Geon-Woo
Xu, Hong
Akella, Aditya
Distributed, Parallel, and Cluster Computing
The increasing demand for Large Language Models (LLMs) across various applications has led to a significant shift in the design of deep learning serving systems. Deploying LLMs, particularly in multi-tenant environments, poses substantial challenges due to their high computational and memory demands. We introduce BlockLLM, a serving system that leverages component sharing among fine-tuned LLM models to provide an efficient and flexible solution for LLM workloads. BlockLLM partitions models into finer-grained blocks, enabling the reuse of model components and independent provisioning to improve computation efficiency. BlockLLM comprises an offline block zoo for storing blocks and an online system to serve requests through chains of blocks. It offers multi-fold flexibilities: (1) Adaptive assembly of blocks on-the-fly through equivalence evaluation among blocks in the zoo; (2) Per-block batch size configuration and best-effort KV cache coordination at the individual block level; (3) Speculative execution and locality-aware block placement to reduce communication costs from dynamic block resource allocation. Our evaluation shows that BlockLLM reduces memory and storage footprints and improves computational efficiency, outperforming existing serving approach in 95%ile latency and GPU utilization by 33.5% and 20.1%, respectively, with minimal impact on accuracy
title BlockLLM: Multi-tenant Finer-grained Serving for Large Language Models
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2404.18322