Update DFlash checkpoint for Laguna-S 2.1 1M BF16
#1
by baranowskiadam - opened
Files changed (3)
- .gitattributes-1
- README.md+4-70
- model.safetensors+1-1
32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textLaguna-S-2.1-DFlash-BF16.gguf filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879---license: othertags:- dflash- speculative-decoding- lagunabase_model:- poolside/Laguna-S-2.1---<p align="center"><img alt="poolside-banner" src="https://poolside.ai/assets/laguna/laguna-s-2-1-banner.svg" width="800px"></p><p align="center"><a href="https://openrouter.ai/poolside/laguna-s-2.1"><strong>Use on OpenRouter</strong></a> ·<a href="https://vercel.com/ai-gateway/models/laguna-s-2.1"><strong>Use on Vercel AI Gateway</strong></a> ·<a href="https://poolside.ai/blog/introducing-laguna-s-2-1"><strong>Release blog post</strong></a></p><br># Laguna-S-2.1-DFlashDFlash speculator (draft model) for[Laguna S 2.1](https://huggingface.co/poolside/Laguna-S-2.1), bf16.- Architecture: `DFlashLagunaForCausalLM` (6 sliding-attention layers, block_size 16).- Shares token embedding + lm_head with the target; `draft_vocab_size == vocab_size` (no d2t/t2d).- Loads under vLLM (native `laguna_dflash`) and TRT-LLM (pytorch DFlash backend) as the draft model in a speculative config.## Usage### vLLM```shellvllm serve --model poolside/Laguna-S-2.1 \--speculative-config '{"model":"poolside/Laguna-S-2.1-DFlash","num_speculative_tokens":7,"method":"dflash"}' \...```### SGLang```shellpython -m sglang.launch_server --model-path poolside/Laguna-S-2.1 \--speculative-algorithm DFLASH \--speculative-draft-model-path poolside/Laguna-S-2.1-DFlash \...```### llama.cpp (GGUF)A llama.cpp conversion of this draft model (`laguna-s-2.1-DFlash-BF16.gguf`) ispublished in[poolside/Laguna-S-2.1-GGUF](https://huggingface.co/poolside/Laguna-S-2.1-GGUF)alongside the target GGUFs. It embeds the target tokenizer and the DFlash metadata(`dflash.decoder_arch = laguna`, capture layers, block size), so it works directlyas the `-md` draft model:```shellgit clone --branch laguna https://github.com/poolsideai/llama.cppcd llama.cpp && cmake -B build && cmake --build build -j./build/bin/llama-server \-m laguna-s-2.1-Q4_K_M.gguf \-md laguna-s-2.1-DFlash-BF16.gguf \--spec-type draft-dflash --spec-draft-n-max 7 \-fa on --jinja --port 8000````--spec-draft-n-max` is clamped to the trained block size (15 draft tokens + 1).> [!NOTE]> Requires Poolside's llama.cpp fork, branch> [`laguna`](https://github.com/poolsideai/llama.cpp/tree/laguna). Upstream> llama.cpp ships the generic DFlash framework but not the Laguna decoder> contract this draft model needs, and upstream PR> [ggml-org/llama.cpp#25165](https://github.com/ggml-org/llama.cpp/pull/25165)> covers the target architecture only.12345678910111213---license: othertags: [dflash, speculative-decoding, laguna]---# Laguna-S-2.1-DFlash-polishingDFlash speculator (drafter) for Laguna-S-2.1, bf16.- Architecture: `DFlashLagunaForCausalLM` (6 sliding-attention layers, block_size 16).- Shares token embedding + lm_head with the target; `draft_vocab_size == vocab_size` (no d2t/t2d).- Source checkpoint: `s3://poolside.titan.checkpoints.us-east-2/adam/checkpoints/ft_sft_e0630_rhiemann_baseline_titan_sft_training/0008400/DFlash_Stage2/25000`- Loads under vLLM (native `laguna_dflash`) and TRT-LLM (pytorch DFlash backend) as the draft model in a speculative config.
123version https://git-lfs.github.com/spec/v1oid sha256:f24f08781c697c19952c02fb2e7e9bdf2071b79a711c2a44b836a74b9b62a1f4size 2229962896123version https://git-lfs.github.com/spec/v1oid sha256:9bdfa311a21aa93d5749084d84a25f1930cf948336da6aeaf2f6ef2257439ddfsize 2229962896
.gitattributes-1
README.md+4-70
model.safetensors+1-1