paper-with-me

Papers

Practical offloading for fine-tuning LLM on commodity GPU via learned sparse projectors

2024-06-14 · Siyuan Chen, Zhuofeng Wang, Zelong Guan, Yudong Liu, Phillip B. Gibbons

Fine-tuning large language models (LLMs) requires significant memory, often exceeding the capacity of a single GPU. A common solution to this memory challenge is offloading compute and data from the GPU to the CPU. However, this approach is hampered by the limited bandwidth of commodity hardware, which constrains communication between the CPU and GPU, and by slower matrix multiplications on the CPU. In this paper, we present an offloading framework, LSP-Offload, that enables near-native speed LLM fine-tuning on commodity hardware through learned sparse projectors. Our data-driven approach involves learning efficient sparse compressors that minimize communication with minimal precision loss. Additionally, we introduce a novel layer-wise communication schedule to maximize parallelism between communication and computation. As a result, our framework can fine-tune a 1.3 billion parameter model on a 4GB laptop GPU and a 6.7 billion parameter model on a 24GB NVIDIA RTX 4090 GPU. Compared to state-of-the-art offloading frameworks, our approach reduces end-to-end fine-tuning time by 33.1%-62.5% when converging to the same accuracy. We open source our framework at https://github.com/gulang2019/LSP-Offload.

📄 PDF Abstract BibTeX arXiv:2406.10181

Code (1)

gulang2019/lsp-offload 공식 구현 pytorch

Tasks

CPUGPU

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Hydra: A System for Large Multi-Model Deep Learning

2021-10-16 · Kabir Nagrecha, Arun Kumar

Scaling up model depth and size is now a common approach to raise accuracy in many deep learning (DL) applications, as evidenced by the widespread success of multi-billion or even trillion parameter models in natural lan…

Deep LearningGPULanguage ModelingLanguage Modelling+3

MobileFineTuner: A Mobile-Native Framework for On-Device LLM Fine-Tuning in Real-World Embedded AI Applications

2025-12-09 · Jiaxiang Geng, Lunyu Zhao, Yiyi Lu, Bing Luo arxiv

Large language models (LLMs) are moving from cloud-centric services toward on-device embedded AI, where models interact with private, longitudinal signals sensed from users and their physical environments. Mobile phones …

DNN-Driven Compressive Offloading for Edge-Assisted Semantic Video Segmentation

2022-03-28 · Xuedou Xiao, Juecheng Zhang, Wei Wang, Jianhua He 외

Deep learning has shown impressive performance in semantic segmentation, but it is still unaffordable for resource-constrained mobile devices. While offloading computation tasks is promising, the high traffic demands ove…

Optical Flow EstimationSegmentationSemantic SegmentationSensitivity+2

ViTMAlis: Towards Latency-Critical Mobile Video Analytics with Vision Transformers

2026-01-29 · Miao Zhang, Guanzhen Wu, Hao Fang, Yifei Zhu 외 arxiv

Edge-assisted mobile video analytics (MVA) applications are increasingly shifting from using vision models based on convolutional neural networks (CNNs) to those built on vision transformers (ViTs) to leverage their supe…

Fine-tuning giant neural networks on commodity hardware with automatic pipeline model parallelism

2021-07-14 · USENIX Annual Technical Conference 2021 7 · Saar Eliad, Ido Hakimi, Alon De Jager, Mark Silberstein 외

Fine-tuning is an increasingly common technique that leverages transfer learning to dramatically expedite the training of huge, high-quality models. Critically, fine-tuning holds the potential to make giant state-of-the…

GPUTransfer Learning