Guardado en:
Detalles Bibliográficos
Autores principales: Yuan, Zhihang, Shang, Yuzhang, Zhou, Yang, Dong, Zhen, Zhou, Zhe, Xue, Chenhao, Wu, Bingzhe, Li, Zhikai, Gu, Qingyi, Lee, Yong Jae, Yan, Yan, Chen, Beidi, Sun, Guangyu, Keutzer, Kurt
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2402.16363
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916231609581568
author Yuan, Zhihang
Shang, Yuzhang
Zhou, Yang
Dong, Zhen
Zhou, Zhe
Xue, Chenhao
Wu, Bingzhe
Li, Zhikai
Gu, Qingyi
Lee, Yong Jae
Yan, Yan
Chen, Beidi
Sun, Guangyu
Keutzer, Kurt
author_facet Yuan, Zhihang
Shang, Yuzhang
Zhou, Yang
Dong, Zhen
Zhou, Zhe
Xue, Chenhao
Wu, Bingzhe
Li, Zhikai
Gu, Qingyi
Lee, Yong Jae
Yan, Yan
Chen, Beidi
Sun, Guangyu
Keutzer, Kurt
contents The field of efficient Large Language Model (LLM) inference is rapidly evolving, presenting a unique blend of opportunities and challenges. Although the field has expanded and is vibrant, there hasn't been a concise framework that analyzes the various methods of LLM Inference to provide a clear understanding of this domain. Our survey stands out from traditional literature reviews by not only summarizing the current state of research but also by introducing a framework based on roofline model for systematic analysis of LLM inference techniques. This framework identifies the bottlenecks when deploying LLMs on hardware devices and provides a clear understanding of practical problems, such as why LLMs are memory-bound, how much memory and computation they need, and how to choose the right hardware. We systematically collate the latest advancements in efficient LLM inference, covering crucial areas such as model compression (e.g., Knowledge Distillation and Quantization), algorithm improvements (e.g., Early Exit and Mixture-of-Expert), and both hardware and system-level enhancements. Our survey stands out by analyzing these methods with roofline model, helping us understand their impact on memory access and computation. This distinctive approach not only showcases the current research landscape but also delivers valuable insights for practical implementation, positioning our work as an indispensable resource for researchers new to the field as well as for those seeking to deepen their understanding of efficient LLM deployment. The analyze tool, LLM-Viewer, is open-sourced.
format Preprint
id arxiv_https___arxiv_org_abs_2402_16363
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLM Inference Unveiled: Survey and Roofline Model Insights
Yuan, Zhihang
Shang, Yuzhang
Zhou, Yang
Dong, Zhen
Zhou, Zhe
Xue, Chenhao
Wu, Bingzhe
Li, Zhikai
Gu, Qingyi
Lee, Yong Jae
Yan, Yan
Chen, Beidi
Sun, Guangyu
Keutzer, Kurt
Computation and Language
Artificial Intelligence
The field of efficient Large Language Model (LLM) inference is rapidly evolving, presenting a unique blend of opportunities and challenges. Although the field has expanded and is vibrant, there hasn't been a concise framework that analyzes the various methods of LLM Inference to provide a clear understanding of this domain. Our survey stands out from traditional literature reviews by not only summarizing the current state of research but also by introducing a framework based on roofline model for systematic analysis of LLM inference techniques. This framework identifies the bottlenecks when deploying LLMs on hardware devices and provides a clear understanding of practical problems, such as why LLMs are memory-bound, how much memory and computation they need, and how to choose the right hardware. We systematically collate the latest advancements in efficient LLM inference, covering crucial areas such as model compression (e.g., Knowledge Distillation and Quantization), algorithm improvements (e.g., Early Exit and Mixture-of-Expert), and both hardware and system-level enhancements. Our survey stands out by analyzing these methods with roofline model, helping us understand their impact on memory access and computation. This distinctive approach not only showcases the current research landscape but also delivers valuable insights for practical implementation, positioning our work as an indispensable resource for researchers new to the field as well as for those seeking to deepen their understanding of efficient LLM deployment. The analyze tool, LLM-Viewer, is open-sourced.
title LLM Inference Unveiled: Survey and Roofline Model Insights
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2402.16363