LFM2.5-DSpark proposes tokens for the target model to verify together
LFM2.5-DSpark groups token verification to accelerate generation.
LFM2.5-DSpark uses a draft model to propose tokens that the target checks together, spreading weight-loading costs across the candidates. You need a build of SGLang or llama.cpp with Liquid AI’s documented integration to use it.
The supported targets are LFM2.5-1.2B-Instruct, LFM2.5-2.6B and LFM2.5-8B-A1B. Hugging Face hosts the draft files in both Safetensors and GGUF. Greedy decoding picks the highest-probability token; checking the draft proposals leaves the target’s output sequence unchanged.
- Obtain the matching target and draft GGUF files.
- Use a llama.cpp build containing the integration identified as PR #27383. The documented example attaches the draft as follows:
llama-server -m LFM2.5-2.6B-F16.gguf \
-md LFM2.5-2.6B-DSpark-F16.gguf \
--spec-type draft-dspark --spec-draft-n-max 10 --spec-draft-n-min 0 \
-fa on -ngl 99
- Inspect
draft_nanddraft_n_acceptedin response timings for proposed and accepted token counts.
Liquid AI documents the procedure in Up to 3.2x Faster Inference with LFM2.5-DSpark. Its M4 Max experiment recorded an 18% average throughput increase for LFM2.5-8B-A1B, attributed to the Metal implementation and expert weight traffic. Compare your selected configuration against the target running alone.