Downloads · 30 days
92
44% of all-time downloads
kingjones777/LFM2.5-1.2B-Instruct-DSpark-ROCmFPX-GGUF
LFM2.5-1.2B-Instruct-DSpark-ROCmFPX-GGUF is a text generation model from kingjones777. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as other.
GGUF conversion of the DSpark speculator for LiquidAI/LFM2.5-1.2B-Instruct, for use with llama.cpp --spec-type draft-dspark. Paired target (ROCmFP4): kingjones777/LFM2.5-1.2B-Instruct-ROCmFP4-GGUF.
Downloads · 30 days
92
44% of all-time downloads
All-time downloads
209
Public
Repo size
911 MB
Likes
0
Public
Click a slice to open those files.
.gguf911 MB · 100%
From the Hugging Face model README
GGUF conversion of the DSpark speculator for LiquidAI/LFM2.5-1.2B-Instruct, for use with llama.cpp
--spec-type draft-dspark. Paired target (ROCmFP4): kingjones777/LFM2.5-1.2B-Instruct-ROCmFP4-GGUF.
We benchmarked this draft against its target and it reduced throughput. Published for completeness and reproducibility, not as a recommended speedup.
| config | generation | effect |
|---|---|---|
| no drafter | 222.5 t/s | — |
--spec-type draft-dspark --spec-draft-n-max 8 | 159.3 t/s | -28.4% |
Mean accepted length 2.34 (block size 9). AMD Ryzen AI Max+ 395 / Radeon 8060S (gfx1151),
ROCm 7.13.0, idle box, median of 3, -ngl 999 -ngld 999 -fa on -c 2048 -n 512 --temp 0 --seed 1234.
All three LFM2.5 sizes measured negative: −28.4% (1.2B), −19.1% (2.6B), −38.0% (8B-A1B).
lfm2.cpp / lfm2moe.cpp do not populate t_layer_inp[], so draft-dspark aborts on
GGML_ASSERT(t_layer_inp[il] != nullptr) out of the box. One-line fix:
res->t_layer_inp[il] = prev_cur;An off-by-one in target-layer mapping was ruled out: LLAMA_DFLASH_TARGET_LAYER_OFFSET=-1
gave a worse accepted length (2.22), confirming the converter's +1 convention is correct.
On other stacks the same technique wins: DSpark measured +75% on Ling-3.0-flash under SGLang (22.3 → 39.1 t/s) on the same day. Speculative value belongs to the (model, runtime) pair.
| file | precision |
|---|---|
LFM2.5-1.2B-Instruct-DSpark-F16.gguf | F16 |
LFM2.5-1.2B-Instruct-DSpark-Q8_0.gguf | Q8_0 |
No 4-bit draft is published: the draft's entire value is accepted length, and 4-bit would lower it further to save ~400 MB.
llama.cpp with DSpark support (--spec-type draft-dspark), plus the t_layer_inp fix above for
LFM2 targets. Converted with upstream llama.cpp e85caa81ea2b65797396018c179b87ad61fa38ab.
llama-cli -m <target>.gguf -md LFM2.5-1.2B-Instruct-DSpark-F16.gguf \
--spec-type draft-dspark --spec-draft-n-max 8 \
-ngl 999 -ngld 999 -fa on
Converted from LiquidAI/LFM2.5-1.2B-Instruct-DSpark at revision 4876d04848e15a6fd48d7c1481110e7cf5d62621. Licence inherited from the base model.