---
title: "Up to 3.2x Faster Inference with LFM2.5-DSpark"
description: "Liquid AI releases ~300M-parameter DSpark speculative-decoding draft models for LFM2.5-1.2B-Instruct, LFM2.5-2.6B and LFM2.5-8B-A1B."
url: "https://swe.quest/articles/up-to-3-2x-faster-inference-with-lfm2-5-dspark-a1b740b4334807f0"
canonical: "https://huggingface.co/blog/LiquidAI/lfm25-dspark"
source: "Hugging Face"
published: "2026-08-20"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["inference","llms","performance"]
---

# Up to 3.2x Faster Inference with LFM2.5-DSpark

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-08-20, 6 min read, Announcement. Original: [https://huggingface.co/blog/LiquidAI/lfm25-dspark](https://huggingface.co/blog/LiquidAI/lfm25-dspark)

## Summary

Liquid AI releases ~300M-parameter DSpark speculative-decoding draft models for LFM2.5-1.2B-Instruct, LFM2.5-2.6B and LFM2.5-8B-A1B. DSpark combines a DFlash-style parallel drafting backbone, a Markov-chain sequential head and a confidence-scheduled verifier, and greedy output stays identical to the target model. Benchmarks at batch size 1 show up to 3.18x throughput on an H100 with SGLang and up to 2.87x on an M4 Max with llama.cpp/Metal, plus a 57% average cut in function-calling latency for the 2.6B model. The MoE model gains only about 18% on-device because llama.cpp's Metal MoE path is immature and verifying multiple tokens activates more experts. Launch commands for SGLang and llama.cpp are included.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- speculative decoding
- LLM inference basics ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- llama.cpp or SGLang

## Keywords

DSpark, LFM2.5, llama.cpp, SGLang, speculative decoding, DFlash, EAGLE-3, GGUF

## Related posts

- [Speculation Is All You Need](https://swe.quest/articles/speculation-is-all-you-need-dffc126cb5233807.md): Modal · 2026-06-19 · Hard · 17 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding delivers integral-factor (2-3x+) LLM decode speedups, far beyond the few-percent gains from kernel or host-side optimization, and its benefit scales roughly linearly with acceptance length.
- [Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000](https://swe.quest/articles/hill-climbing-inkling-2-mini-inference-on-one-rtx-pro-6000-c3647a6de3f84545.md): Hugging Face · 2026-11-25 · Hard · 9 min read · Inference & serving, Performance engineering, LLMs, AI agents
  Agent-driven tuning of Inkling 2 Mini, a looped 26B-total/3B-active MoE, on a single RTX PRO 6000 raised single-user decode from 136 to 190.6 tok/s (+40%) and 8-user throughput from ~570 to 716 tok/s by switching from SGLang to vLLM nightly and enabling DSpark speculative decoding with 7 drafts and probabilistic draft sampling.
- [Faster Assisted Generation with Dynamic Speculation](https://swe.quest/articles/faster-assisted-generation-with-dynamic-speculation-d8a65fbd607c86ac.md): Hugging Face · 2024-10-08 · Medium · 7 min read · Inference & serving, LLMs, Performance engineering
  Dynamic speculative decoding stops the draft model's token generation as soon as its softmax confidence falls below a threshold (assistant\_confidence\_threshold), rather than always drafting a fixed or heuristically adjusted number of tokens before verification by the target model.
- [Achieve state-of-the-art inference latencies with speculative decoding](https://swe.quest/articles/achieve-state-of-the-art-inference-latencies-with-speculative-decoding-29855d3aec239f45.md): Modal · 2026-06-24 · Hard · 9 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding is the dominant lever for low-latency LLM serving because decode steps dominate latency and speculation yields multiplicative speedups roughly linear in acceptance length.
- [Assisted Generation: a new direction toward low-latency text generation](https://swe.quest/articles/assisted-generation-a-new-direction-toward-low-latency-text-generation-46c4fea13508392f.md): Hugging Face · 2023-05-11 · Medium · 12 min read · Inference & serving, LLMs, Performance engineering, Python
  Assisted generation cuts autoregressive LLM latency by letting a much smaller assistant model with the same tokenizer greedily draft candidate tokens, then verifying them all in a single forward pass of the large model.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
