Liquid AI Ships LFM2.5-DSpark Draft Models for Up to 3.2x Faster Inference

Liquid AI has released speculative decoding draft checkpoints for three models across its LFM2.5 series: LFM2.5-1.2B-Instruct, LFM2.5-2.6B, and the mixture-of-experts model LFM2.5-8B-A1B. The release introduces small companion models designed to accelerate auto-regressive generation without altering final token distributions. The draft models are available in Safetensors and GGUF formats on Hugging Face, with immediate support implemented for SGLang and llama.cpp. Architecture and Draft Desig

2 min
Liquid AI Ships LFM2.5-DSpark Draft Models for Up to 3.2x Faster Inference

Liquid AI has released speculative decoding draft checkpoints for three models across its LFM2.5 series: LFM2.5-1.2B-Instruct, LFM2.5-2.6B, and the mixture-of-experts model LFM2.5-8B-A1B. The release introduces small companion models designed to accelerate auto-regressive generation without altering final token distributions.

The draft models are available in Safetensors and GGUF formats on Hugging Face, with immediate support implemented for SGLang and llama.cpp.

DSpark Speculative Decoding Architecture

Architecture and Draft Design

Standard autoregressive decoding is bounded by GPU memory bandwidth rather than arithmetic throughput, as model weights must be loaded from memory for every generated token. Speculative decoding mitigates this bottleneck by using a compact draft model to propose blocks of candidate tokens, which the larger target model subsequently verifies in a single batched forward pass.

Liquid AI adopted the DSpark speculative decoding recipe, which utilizes:

  • A five-layer attention-only decoder stack.
  • A block size of nine draft tokens per generation step.
  • A hidden-state projection layer and a Markov head operating across a 128,000-token vocabulary.
  • A total draft model footprint of approximately 295.7 million parameters for the 1.2B variant and 327.7 million parameters for the 2.6B and 8B-A1B variants.

The checkpoints were trained for 15 epochs on a dataset containing supervised fine-tuning, conversational text, programming code, and tool-calling trajectories. Checkpoints were selected based on maximum empirical token acceptance rate rather than standard validation loss. Because greedy decoding strictly validates proposed tokens against the target model's output probabilities, generated sequences maintain mathematical equivalence to baseline runs.

Serving Benchmarks Across Hardware

Liquid AI evaluated the draft models across five standard evaluation datasets (MATH500, HumanEval, MBPP, GSM8K, and MT-Bench) on two hardware setups: an Nvidia H100 80GB running SGLang with BF16 precision, and an Apple M4 Max running llama.cpp with experimental Metal kernels in FP16 GGUF format.

For LFM2.5-2.6B:

  • Nvidia H100: Mean generation speed increased by 2.67x, moving from 323 tokens per second to 864 tokens per second.
  • Apple M4 Max: Mean generation speed increased by 2.27x, rising from 61 tokens per second to 139 tokens per second.
  • Tool Calling: Latency across multi-tool evaluation suites decreased by 57%.

For LFM2.5-8B-A1B:

  • Nvidia H100: Mean throughput rose 2.54x (from 418 to 1,074 tokens per second), reaching a peak speedup of 3.18x on MATH500 (1,362 tokens per second).
  • Apple M4 Max: Mean throughput improved by 1.18x (from 90 to 106 tokens per second). Liquid AI attributed the lower edge gain to existing mixture-of-experts kernel limitations in Metal and the memory traffic required when activating multiple experts across draft token blocks.

For LFM2.5-1.2B-Instruct:

  • Nvidia H100: Throughput averaged 1,384 tokens per second (2.10x speedup).
  • Apple M4 Max: Throughput averaged 350 tokens per second (2.54x speedup).

The checkpoints and integration configurations are published directly under the Liquid AI organization on Hugging Face.

Sources

Written by

More to read

  • Dynamic Few-Shot Example Selection in Production: Semantic Retrieval, Diversity Reranking, and Cache-Aligned Prompt Architectures

    In-context learning (ICL) remains one of the most practical mechanisms for steering large language models on specialized tasks, structured output parsing, domain-specific classification, and API tool calling. While zero-shot prompts rely entirely on the model's parametric memory, few-shot prompting provides concrete input-output demonstrations that anchor the model's generation trajectory. In enterprise production environments, however, static few-shot prompting quickly hits operational limits.

    1 min
  • Logit Soft-Capping in Large Language Models: How Tanh-Based Bounds Prevent Attention Saturation and Numerical Instability

    In modern autoregressive Transformer training, maintaining numerical stability across trillions of tokens requires strict control over intermediate activation magnitudes. As models grow deeper and wider, pre-softmax logits in self-attention mechanisms and final vocabulary projection layers frequently drift toward extreme values. When logit values grow unconstrained, standard softmax normalization enters a saturation regime where output probabilities collapse into near one-hot distributions, caus

    1 min
  • Mental World Modeling: Why Autonomous AI Agents Fail Without Simulating Human Beliefs

    Mental World Modeling: Why Autonomous AI Agents Fail Without Simulating Human Beliefs Current foundation world models, from video simulators like Sora and Genie to spatial representations like JEPA and Marble, focus almost exclusively on the physical mechanics of an environment. They track geometry, object positions, motion trajectories, and visual continuity. However, when autonomous agents interact with humans in collaborative, medical, or domestic settings, physical state tracking alone cons

    1 min