cnuland / legunas21-custom

huggingface.co
Total runs: 27
24-hour runs: -3
7-day runs: 3
30-day runs: 10
Model's Last Updated: July 24 2026

Introduction of legunas21-custom

Model Details of legunas21-custom

Laguna-S-2.1 on AMD Strix Halo (llama.cpp + Vulkan) — deployment kit

Working configuration, tuning notes, and benchmark data for running poolside/Laguna-S-2.1 (118B MoE, ~8B active) on an AMD Strix Halo iGPU (Radeon 8060S, RDNA3.5, unified memory) under OpenShift, using the unsloth UD-IQ4_XS GGUF (57.5 GB) fully offloaded via the llama.cpp Vulkan backend (RADV).

Hardware: 16 GiB VRAM carve-out + ~55 GiB GTT on a 114 GiB node — unified memory is what makes -ngl 99 possible for a 57 GB model on an iGPU.

Files
File What it is
laguna-s-2.1-DFlash-Q4_K_M-76t.gguf DFlash draft, Q4_K_M, 76-tensor layout (mirror of coolthor's conversion )
laguna-s-2.1-DFlash-Q8_0-76t.gguf DFlash draft, Q8_0, 76-tensor layout (mirror of wimmmm's conversion )
deployment.yaml Final OpenShift Deployment (llama-server, Vulkan, node-pinned)
bench_laguna.py Benchmark script (server-side timings via /completion )
speculative-cmath.patch One-line fix to build the poolside fork with GCC 15
Benchmarks (2026-07-23, worker node: Strix Halo, 114 GiB RAM)

Decode = 512-token code generation, temp 0. Prefill = 4.2K-token prompt.

Config Decode t/s Prefill t/s Notes
FA off 12.2 196 never do this
FA on, no spec (default) 32.4 341 consistent across workloads
FA on, ngram-simple 31.7 341 no gain on fresh code
FA on, ub=1024 29.8 384 prefill up, decode down
DFlash BF16 draft, n=7 25.4 308 acceptance ~23%, net loss
DFlash BF16 draft, n=4 31.0 308 acceptance ~38%, par
DFlash Q4 draft, n=4 38.3 312 +18% on pure code , acceptance ~42%
DFlash Q8 draft, n=4 34.5 312 more draft bandwidth, no acceptance gain

Real-world caveat (why the default ships spec-off): on a realistic chat-templated coding task (Go middleware + tests, ~2-5K tokens out), DFlash Q4/n=4 measured 25.3 t/s vs 30.4 t/s without spec . Chat output mixes prose with code and drops draft acceptance below break-even on bandwidth-shared unified memory. DFlash wins only on near-pure code streams (raw completion / FIM). Flip it on per-deployment when that is your workload:

-md laguna-s-2.1-DFlash-Q4_K_M-76t.gguf --spec-type draft-dflash \
--spec-draft-n-max 4 -ctkd f16 -ctvd f16 -ngld 99
Hard-won details
  1. DFlash needs poolside's llama.cpp fork ( poolsideai/llama.cpp , branch laguna ). Upstream (≥ b10087 has the Laguna arch, tested through b10103) fails on any DFlash draft with done_getting_tensors: wrong number of tensors; expected 76, got 69 — the draft borrows token_embd / output.weight from the target and upstream's decoder contract is incomplete. Apply speculative-cmath.patch to build the fork with GCC 15 / Ubuntu 26.04.
  2. unsloth GGUF metadata bug : the quant ships laguna.rope.scaling.yarn_attn_factor = 1.4852 , which llama.cpp double-applies (it derives mscale itself — poolside corrected their own GGUFs to 1.0 on 2026-07-23). Fix at runtime, no re-download: --override-kv laguna.rope.scaling.yarn_attn_factor=float:1.0
  3. Sampling : use the model card's --temp 0.7 --top-p 0.95 . The shipped generation_config.json (1.0/1.0/top_k 20) disagrees with the card and measurably increases fabrications (community eval: 2.4% → 0.8% of grounding runs).
  4. Draft KV must stay f16 ( -ctkd f16 -ctvd f16 ) — quantized draft KV collapses acceptance below 1%.
  5. --spec-draft-n-max 4 , not the 15 from poolside's early example (their updated rec is 7; on bandwidth-limited hardware 4 measured best; 7 was a net loss).
  6. Flash attention ON is 2.6× decode / 1.7× prefill vs off on RDNA3.5 Vulkan. The RDNA3.5 FA crashes reported against PR #25165 are on the ROCm path; the Vulkan/RADV path ran clean here.
  7. Clients should send max_tokens ≥ 8k — the model thinks long and returns empty content when the budget is eaten by reasoning.
  8. Vulkan env that works on Strix Halo (device plugin exposes amd.com/gpu ): AMD_VULKAN_ICD=RADV , VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.json , HIP/ROCR disabled.
License

OpenMDW-1.1, inherited from Laguna S 2.1. The DFlash GGUFs are unmodified mirrors of community conversions (credited above) of poolside's official Laguna-S-2.1-DFlash ; poolside does not endorse this redistribution.

Runs of cnuland legunas21-custom on huggingface.co

27
Total runs
-3
24-hour runs
4
3-day runs
3
7-day runs
10
30-day runs

More Information About legunas21-custom huggingface.co Model

More legunas21-custom license Visit here:

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

legunas21-custom huggingface.co

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

legunas21-custom huggingface.co Url

https://huggingface.co/cnuland/legunas21-custom

cnuland legunas21-custom online free

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

cnuland legunas21-custom online free url in huggingface.co:

https://huggingface.co/cnuland/legunas21-custom

legunas21-custom install

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

legunas21-custom install url in huggingface.co:

https://huggingface.co/cnuland/legunas21-custom

Url of legunas21-custom

legunas21-custom huggingface.co Url

Provider of legunas21-custom huggingface.co

cnuland
ORGANIZATIONS

Other API from cnuland

huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:September 18 2024