multimodalart / laguna-s-2.1-DFlash

huggingface.co
Total runs: 241
24-hour runs: -14
7-day runs: -689
30-day runs: -2.0K
Model's Last Updated: July 25 2026

Introduction of laguna-s-2.1-DFlash

Model Details of laguna-s-2.1-DFlash

Laguna S 2.1 DFlash drafter — fixed GGUF (BF16 + Q8_0)

Metadata-corrected GGUF exports of the Laguna S 2.1 DFlash speculative-decoding drafter for llama.cpp ( poolside fork, branch laguna ).

Why this repo exists

The drafter GGUF shipped in poolside/Laguna-S-2.1-GGUF ( laguna-s-2.1-DFlash-BF16.gguf ) is missing two metadata keys relative to the checkpoint's HF config, which makes draft acceptance collapse with context length (27% at 767 tokens → 1.2% at 7K → 0.5% at 33K), turning DFlash into a net slowdown on long prompts:

key shipped GGUF trained with
dflash.attention.sliding_window missing (drafter runs full attention) 512, all 6 layers
dflash.rope.freq_base 500000 10000

These files have both keys corrected (plus the per-layer SWA pattern), restoring flat acceptance at any context length (~2.5–2.8 committed tokens/round, consistent with the model card's 2.9–3.1). vLLM is unaffected (it reads the HF config directly).

  • laguna-s-2.1-DFlash-BF16-fixed.gguf — original weights, metadata fixed (2.2 GB)
  • laguna-s-2.1-DFlash-Q8_0-fixed.gguf — Q8_0 quantized (1.1 GB, recommended). Drafter quantization cannot affect output quality — drafts are verified by the target model — and measured acceptance is unchanged, while halving the drafter's per-round weight reads.
Usage (Apple Silicon recipe)

Verify batches on this fine-grained MoE are expensive on memory-bound hardware, so shallow adaptive drafting wins. Measured on an M4 Max 128GB at ~10K context: ~1.25× over base decoding (44 vs 36.5 tok/s, greedy):

./build/bin/llama-server -m laguna-s-2.1-Q4_K_M.gguf \
  -md laguna-s-2.1-DFlash-Q8_0-fixed.gguf \
  --spec-type draft-dflash --spec-draft-n-max 2 --spec-draft-p-min 0.5 \
  -fa on --jinja -c 262144 -ub 4096 --cache-reuse 256 --port 8000

On CUDA-class hardware, deeper drafting pays off — use the model card's --spec-draft-n-max 15 instead.

Related fixes in llama.cpp (branch apolinario/llama.cpp@laguna , partially upstreamed via poolsideai/llama.cpp#2 ): Metal f16-overflow sanitization of DFlash target features, SWA-pattern default for drafter GGUFs missing the key, and two Metal decode optimizations (~+10%).

Runs of multimodalart laguna-s-2.1-DFlash on huggingface.co

241
Total runs
-14
24-hour runs
-34
3-day runs
-689
7-day runs
-2.0K
30-day runs

More Information About laguna-s-2.1-DFlash huggingface.co Model

More laguna-s-2.1-DFlash license Visit here:

https://choosealicense.com/licenses/openmdw-1.1

laguna-s-2.1-DFlash huggingface.co

laguna-s-2.1-DFlash huggingface.co is an AI model on huggingface.co that provides laguna-s-2.1-DFlash's model effect (), which can be used instantly with this multimodalart laguna-s-2.1-DFlash model. huggingface.co supports a free trial of the laguna-s-2.1-DFlash model, and also provides paid use of the laguna-s-2.1-DFlash. Support call laguna-s-2.1-DFlash model through api, including Node.js, Python, http.

multimodalart laguna-s-2.1-DFlash online free

laguna-s-2.1-DFlash huggingface.co is an online trial and call api platform, which integrates laguna-s-2.1-DFlash's modeling effects, including api services, and provides a free online trial of laguna-s-2.1-DFlash, you can try laguna-s-2.1-DFlash online for free by clicking the link below.

multimodalart laguna-s-2.1-DFlash online free url in huggingface.co:

https://huggingface.co/multimodalart/laguna-s-2.1-DFlash

laguna-s-2.1-DFlash install

laguna-s-2.1-DFlash is an open source model from GitHub that offers a free installation service, and any user can find laguna-s-2.1-DFlash on GitHub to install. At the same time, huggingface.co provides the effect of laguna-s-2.1-DFlash install, users can directly use laguna-s-2.1-DFlash installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

laguna-s-2.1-DFlash install url in huggingface.co:

https://huggingface.co/multimodalart/laguna-s-2.1-DFlash

Url of laguna-s-2.1-DFlash

laguna-s-2.1-DFlash huggingface.co Url

Provider of laguna-s-2.1-DFlash huggingface.co

multimodalart
ORGANIZATIONS

Other API from multimodalart

huggingface.co

Total runs: 41
Run Growth: -18
Growth Rate: -43.90%
Updated:July 10 2025