Abstract
Large Language Models (LLMs) face challenges for on-device inference due to high memory demands. Traditional methods to reduce memory usage often compromise performance and lack adaptability. We propose FlexInfer, an optimized offloading framework for on-device inference, addressing these issues with techniques like asynchronous prefetching, balanced memory locking, and flexible tensor preservation. These strategies enhance memory efficiency and mitigate I/O bottlenecks, ensuring high performance within userspecified resource constraints. Experiments demonstrate that FlexInfer significantly improves throughput under limited resources, achieving up to 12.5 times better performance than existing methods and facilitating the deployment of large models on resource-constrained devices. © 2025 Copyright held by the owner/author(s).
Original language | English |
---|---|
Title of host publication | EuroMLSys '25 |
Subtitle of host publication | Proceedings of the 5th Workshop on Machine Learning and Systems |
Publisher | Association for Computing Machinery |
Pages | 56-65 |
ISBN (Electronic) | 979-8-4007-1538-9 |
DOIs | |
Publication status | Published - 1 Apr 2025 |
Event | EuroMLSys '25: 5th Workshop on Machine Learning and Systems - Rotterdam, Netherlands Duration: 30 Mar 2025 → 3 Apr 2025 |
Conference
Conference | EuroMLSys '25: 5th Workshop on Machine Learning and Systems |
---|---|
Country/Territory | Netherlands |
City | Rotterdam |
Period | 30/03/25 → 3/04/25 |
Bibliographical note
Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s)Research Keywords
- LLM
- On-Device Inference
- Offloading
- ResourceConstrained Devices
Publisher's Copyright Statement
- This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/