TwinPilots: A New Computing Paradigm for GPU-CPU Parallel LLM Inference
When trained Large Language Models (LLMs) become available, it is desirable to carry out LLM inferences at the user end with limited resources. A common belief on LLM inference is that GPU is essentially the only meaningful processor as almost all computation is tensor multiplication that GPU excels in. However, this belief and its practice are challenged by the fact that GPU has insufficient memory and runs at a much slower speed due to constantly waiting for data to be loaded from the CPU memory via a slow PCIe bus. This makes the CPU a processor with meaningful computing power that can be leveraged to accelerate the inference.
Authors
- Zhou Xu (ORCID: https://orcid.org/0009-0002-7695-5834)
- Tianyu Wang (ORCID: https://orcid.org/0000-0001-7030-1990)
- Song Jiang (ORCID: https://orcid.org/0000-0002-1681-9008)
- Linjie Zhu (ORCID: https://orcid.org/0000-0003-2914-8749)
- Zili Shao (ORCID: https://orcid.org/0000-0002-2173-2847)
- Chengye Yu
Institutions
- Chinese University of Hong Kong (HK)
- Shenzhen University (CN)
- The University of Texas at Arlington (US)
Publication Details
- Published
- 2024-09-16
- DOI
- https://doi.org/10.1145/3688351.3689164
- Citations
- 14
- Primary Topic
- Magnetic confinement fusion research
- Type
- article
- Field-Weighted Citation Impact
- 9.23