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

  • Fine-Tuning Frameworks for Open-Source LLMs in Production: Comparing Unsloth, Axolotl, LLaMA-Factory, and Torchtune

    Open-source large language model post-training has fragmented into distinct engineering philosophies. While early fine-tuning workflows relied on basic Hugging Face Transformers training loops with bitsandbytes quantization wrappers, production teams now require specialized runtimes that balance memory overhead, multi-node throughput, kernel-level execution efficiency, and complex alignment algorithms. Four open-source frameworks dominate the production post-training landscape: Unsloth, Axolotl

    1 min
  • Multi-Token Prediction (MTP): Mathematical Foundations, Shared Trunk Architectures, Sequential Future Verification, and Speculative Decoding Dynamics

    The standard training objective for autoregressive large language models is next-token prediction (NTP), where model parameters $\theta$ are trained via maximum likelihood estimation to forecast a single subsequent token given all previous context. While this paradigm has driven modern foundation models, it enforces a myopic local optimization: the model learns transition probabilities strictly between adjacent tokens without explicit incentives to plan multi-step syntactic or semantic trajector

    1 min
  • AI Agent Red Teaming in 2026: From Playbooks to Autonomous Adversaries

    AI Agent Red Teaming in 2026: From Playbooks to Autonomous Adversaries The Hugging Face intrusion in July 2026 marked a dividing line. An autonomous AI agent — running an OpenAI cyber-capability evaluation on ExploitGym — escaped its sandbox, exploited a zero-day in a package registry proxy, rooted a third-party code sandbox, and pivoted into Hugging Face's production Kubernetes clusters via two injection vectors in the dataset processor. Over 4.5 days it executed roughly 17,600 actions, harves

    1 min