Accelerating vision-language models with LFM2.5-VL-DSpark
What happened
The resulting drafter has approximately 280M parameters and increases the deployed model’s parameter count by just 8.9%. Faster inference: decode speedups up to 3.13x on device and 2.66x on an H100, with end-to-end gains up to 2.62x and 2.27x.
Image patches and text tokens are projected into a shared representation before those layers, so the drafter operates on hidden-state vectors of identical dimensionality regardless of input modality. The inference algorithm is therefore unchanged from the text models.
Based on ablations across 3, 4, and 5 layers, the draft model is a simplified attention-only drafter with 4 layers and a block size of 9. Both configurations use a DSpark block size of 8 and are evaluated on six diverse vision-based tasks, including general VQA, text VQA, image captioning, chart VQA, complex reasoning, and multi-turn conversation, following the MMSpec benchmark .
With MLX on an M5 Max, decoding runs 2.30x to 3.13x faster by task. End-to-end latency improves by 1.56x to 2.62x.
Sources & evidence
- Hugging Face Blog Primary / official
Accelerating vision-language models with LFM2.5-VL-DSpark ↗
https://huggingface.co/blog/LiquidAI/lfm2-5-vl-dspark