Llama-Mobile:视觉语言模型的高效2.7位量化
其他资讯 · 2026/08/24
在移动设备上部署视觉语言模型(VLM)面临显著的内存和计算需求挑战。我们提出了一种量化框架,用于在资源受限的硬件上高效推理。该方法结合了利用模型自身生成训练数据且无需访问训练设置的量化流程,以及一种支持在Arm CPU上高效执行的新的2.7比特每参数格式。我们通过将Llama 3.2 11B Vision Instruct模型压缩至3.7 GB(8位激活)验证了该方法,在标准视觉问答任务上保持了强劲性能。
该论文针对移动设备上部署VLM的挑战,提出了一种实用的量化框架,具有创新性(2.7比特格式)和实用性(无需训练数据),并通过实验验证了其有效性,对边缘AI部署具有重要参考价值。
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.