Hugging Face Blog·· 2026-08-21精选AI 评分62
Liquid AI 发布 LFM2.5-DSpark 草稿模型,推理最高提速 3.2 倍
Up to 3.2x Faster Inference with LFM2.5-DSpark
AI 导读
Liquid AI 为 LFM2.5-1.2B-Instruct、LFM2.5-2.6B 和 LFM2.5-8B-A1B 发布 DSpark 草稿模型检查点,通过投机解码在 GPU 上最高提升 3.18 倍吞吐、端侧最高 2.87 倍,且不改变输出质量。
推荐理由
Liquid AI 为 LFM2.5 三款模型发布 DSpark 草稿模型,给出 H100 与 MacBook 上的实测加速比和部署命令。
深读指南
适合谁读:关注大模型推理加速、投机解码与端侧部署的工程师和研究者
草稿模型通过并行骨干、轻量序列头和置信度调度验证器三部分组合,在单次前向中生成候选 token 并由目标模型批量验证,从而把权重加载成本分摊到多个 token 上。
DFlash-style parallel backbone conditioned on the target model’s context features, producing hidden states for all draft tokens in a single forward pass.
投机解码在贪心解码下不改变输出质量,因为被拒绝的草稿 token 会被目标模型自身的 token 替换,序列与基线一致。
On rejection, the target model's own token takes its place. The emitted sequence is therefore identical to baseline greedy by construction
加速效果因模型与数据集而异:同一模型在不同数据集上的接受率差异可导致加速幅度相差约 52%,MoE 模型在端侧因专家激活带来的权重流量而收益明显偏低。
we see much more variance in dataset acceptance rates, so speedup varies by as much as 52% depending on the underlying text distribution.
局限与前提:文中加速数据均为厂商自测,测试条件限定为 batch size 1、temperature 0、最多 256 输出 token 等特定配置,未给出与其他投机解码方法的横向对比或独立复现结果;MoE 模型在 llama.cpp Metal 后端的端侧收益受当前实现限制,仅约 18%,且 1.2B 模型加速波动较大,说明结论对部署环境与文本分布敏感。
对照原文阅读来源:Hugging Face Blog · huggingface.co