Accelerating vision-language models with LFM2.5-VL-DSpark
AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.
Why it matters
Liquid AI's DSpark drafter lets developers run a vision-language model up to 3.13x faster on-device today, though end-to-end gains are capped by unaccelerated prefill.
Liquid AI has added a small companion model to its image-and-text AI model, LFM2.5-VL-3B. The companion, called a DSpark drafter, quickly guesses the next words so the main model can confirm them, making responses up to 3.13x faster on a Mac while adding only 8.9% more memory. Output is unchanged because every guess is verified. Developers using tools like llama.cpp can adopt it immediately.
Liquid AI shipped a draft model for LFM2.5-VL-3B that cuts decoding time up to 3.13x on an M5 Max and 2.66x on an H100, with end-to-end gains of 2.62x and 2.27x respectively. It costs just 280M extra parameters (8.9%) and outputs are identical to the base model. The main caveat is Amdahl's law: prefill and vision encoding are not accelerated, so long-image workloads see smaller wins. Support is day-one for llama.cpp, MLX-VLM and SGLang.
The vision DSpark drafter reuses the text LFM2.5-DSpark architecture: it taps hidden states at fixed layers, with image patches and text projected into a shared representation, and drafts blocks of k tokens. Ablations over 3-5 layers chose a 4-layer attention-only drafter, block size 9, trained 10 epochs on vision-language SFT data; it adds 280M parameters. Speculative decoding is exact. Decode speedups: M5 Max 2.30-3.13x, M3 Ultra 1.57-2.14x, H100 up to 2.66x. Limitation: prefill and vision encoding are not accelerated, capping end-to-end gains via Amdahl's law.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Liquid AI LFM2.5-VL-3B LFM2.5-VL-3B-DSpark llama.cpp MLX-VLM SGLang Hugging Face
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.