Deploying vision-language models (VLMs) on mobile devices is challenging due to their significant memory and compute requirements. We present a framework for quantizing VLMs for efficient inference on resource-constrained hardware. Our approach combines a quantization pipeline that uses the model itself to generate training data and does not require access to the training setup, with a novel 2.7-bit-per-parameter format supporting efficient execution on Arm CPUs. We validate our approach by compressing the Llama 3.2 11B Vision Instruct model to 3.7 GB with 8-bit activations, preserving strong performance on a set of standard visual question answering tasks.
Llama-Mobile:面向 VLM 的 2.7 位高效量化框架
AI 导读
Llama-Mobile 提出一种面向视觉语言模型(VLM)的量化框架,无需访问训练设置,利用模型自身生成训练数据,并采用新颖的 2.7 位/参数格式,支持在 Arm CPU 上高效推理。该框架将 Llama 3.2 11B Vision Instruct 模型压缩至 3.7 GB(8 位激活),在标准视觉问答任务上保持强劲性能。
HuggingFace Daily Papers(社区热门论文)
47
AI 编辑部评分,满分 100Llama-Mobile:面向 VLM 的 2.7 位高效量化框架
Llama-Mobile 提出一种面向视觉语言模型(VLM)的量化框架,无需访问训练设置,利用模型自身生成训练数据,并采用新颖的 2.7 位/参数格式,支持在 Arm CPU 上高效推理。该框架将 Llama 3.2 11B Vision Instruct 模型压缩至 3.7 GB(8 位激活),在标准视觉问答任务上保持强劲性能。
原文 · 保持原样,未翻译原文 · 未翻译
来源:HuggingFace Daily Papers(社区热门论文)· arxiv.org