paper-with-me

Papers

FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAs

2024-01-08 · Shulin Zeng, Jun Liu, Guohao Dai, Xinhao Yang, Tianyu Fu, Hongyi Wang, Wenheng Ma, Hanbo Sun, Shiyao Li, Zixiao Huang, Yadong Dai, Jintao Li, Zehao Wang, Ruoyu Zhang, Kairui Wen, Xuefei Ning, Yu Wang

Transformer-based Large Language Models (LLMs) have made a significant impact on various domains. However, LLMs' efficiency suffers from both heavy computation and memory overheads. Compression techniques like sparsification and quantization are commonly used to mitigate the gap between LLM's computation/memory overheads and hardware capacity. However, existing GPU and transformer-based accelerators cannot efficiently process compressed LLMs, due to the following unresolved challenges: low computational efficiency, underutilized memory bandwidth, and large compilation overheads. This paper proposes FlightLLM, enabling efficient LLMs inference with a complete mapping flow on FPGAs. In FlightLLM, we highlight an innovative solution that the computation and memory overhead of LLMs can be solved by utilizing FPGA-specific resources (e.g., DSP48 and heterogeneous memory hierarchy). We propose a configurable sparse DSP chain to support different sparsity patterns with high computation efficiency. Second, we propose an always-on-chip decode scheme to boost memory bandwidth with mixed-precision support. Finally, to make FlightLLM available for real-world LLMs, we propose a length adaptive compilation method to reduce the compilation overhead. Implemented on the Xilinx Alveo U280 FPGA, FlightLLM achieves 6.0$\times$ higher energy efficiency and 1.8$\times$ better cost efficiency against commercial GPUs (e.g., NVIDIA V100S) on modern LLMs (e.g., LLaMA2-7B) using vLLM and SmoothQuant under the batch size of one. FlightLLM beats NVIDIA A100 GPU with 1.2$\times$ higher throughput using the latest Versal VHK158 FPGA.

📄 PDF Abstract BibTeX arXiv:2401.03868

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyGPULanguage ModelingLanguage ModellingLarge Language ModelQuantization

Similar Papers 제목 키워드 기반

Can Large Language Models Explain Flight Safety Events? A Prior-Guided Semantic LLM-based Approach

2026-08-18 · Lu Xu, Xu Li, Linjiang Zheng, Fan Li 외 arxiv

Improving flight safety with flight data requires not only accurate detection of risk events, but more importantly, clear interpretation of their underlying causes at the level of pilot control behavior. Existing explain…

Feature EngineeringFeature ImportanceFew-Shot Learning

AccLLM: Accelerating Long-Context LLM Inference Via Algorithm-Hardware Co-Design

2025-04-07 · Yanbiao Liang, Huihong Shi, Haikuo Shao, Zhongfeng Wang

Recently, large language models (LLMs) have achieved huge success in the natural language processing (NLP) field, driving a growing demand to extend their deployment from the cloud to edge devices. However, deploying LLM…

Quantization

Cyber Knowledge Completion Using Large Language Models

2024-09-24 · Braden K Webb, Sumit Purohit, Rounak Meyur

The integration of the Internet of Things (IoT) into Cyber-Physical Systems (CPSs) has expanded their cyber-attack surface, introducing new and sophisticated threats with potential to exploit emerging vulnerabilities. As…

Binary ClassificationKnowledge Graph CompletionRAGRetrieval-augmented Generation

Biomedical Relation Extraction via Adaptive Document-Relation Cross-Mapping and Concept Unique Identifier

2025-01-09 · Yufei Shang, Yanrong Guo, Shijie Hao, Richang Hong

Document-Level Biomedical Relation Extraction (Bio-RE) aims to identify relations between biomedical entities within extensive texts, serving as a crucial subfield of biomedical text mining. Existing Bio-RE methods strug…

RAGRelationRelation ExtractionRetrieval+2

Panoptic Mapping with Fruit Completion and Pose Estimation for Horticultural Robots

2023-03-15 · Yue Pan, Federico Magistri, Thomas Läbe, Elias Marks 외

Monitoring plants and fruits at high resolution play a key role in the future of agriculture. Accurate 3D information can pave the way to a diverse number of robotic applications in agriculture ranging from autonomous ha…

Pose Estimation