Laguna

poolside · analysed 2026-08-10 · skill v0.4.0

sparse-MoE hybrid text-only open-weights medium domain-specific

Design overview

Laguna XS.2 is poolside's agentic-coding MoE: 33.4B total / 3B active over 40 layers, with 256 routed experts (top-8) plus one shared expert and a sigmoid router with post-top-k score normalization. Its distinguishing feature is layer-wise attention budgeting: a 3:1 interleave of sliding-window (window 512, 64 Q-heads, RoPE base 10k) and global (48 Q-heads, RoPE base 500k, partial RoPE 50%) attention, with per-head softplus gating deciding each head's contribution. Context grows from 4K pretraining through 32K and a YaRN stage to 128K, then doubles to 256K at deployment via RoPE-base scaling without further training. Training uses Muon (Moonlight variant) under WSD with >30T tokens on 2,048 H200s; post-training is SFT (3×40B) plus CISPO, an RL stage restricted to verifiable rewards with length-weighted leave-one-out advantages. The sibling M.1 (225.8B) shares the block at larger scale.

What the report claims is novel

Atlas assessment: The first per-head attention-budget design in the atlas: the SWA/GA interleave itself is familiar (Gemma 3, OLMo 3, Trinity), but allocating distinct Q-head counts and RoPE bases per attention type is a novel attention-budgeting pattern. The DeepSeekMoE-style shared+routed structure with routed-expert modulation is inherited (stated 'similar to DeepSeek-V3').

Relation to the atlas

Lineage in

Influence out

No descendants recorded yet.

Notable omissions

Closest relatives in the atlas

Spec sheet

Identity

FamilyLaguna[1]
Organisationpoolside[2]
Report URLhttps://poolside.ai/assets/laguna/laguna-m1-xs2-technical-report.pdf[3]
LicenseApache 2.0[4]
Open weightsyes[5]

Variants

Scale

Total parameters33.4B[6]
Active parameters / token3B[7]
Layers40[8]
KV heads8[9]
Head dimension128[10]
Vocabulary size100352[11]

Per-variant configs

VariantTotalLayersHiddenFFNQ headsKV headsContext
XS.2 (33.4B)33.4B40not disclosednot disclosednot disclosed8262,144
M.1 (225.8B)225.8Bnot disclosednot disclosednot disclosednot disclosednot disclosednot disclosed

Core block

Block typesparse-MoE
Attention varianthybrid[12]
Attention layer pattern3:1 SWA:GA interleaving (75% SWA); SWA layers window 512, 64 Q-heads, RoPE base 10k; GA layers 48 Q-heads, RoPE base 500k, partial RoPE 50%; per-head softplus gating; distinct Q-head counts and theta per attention type (layer-wise attention budgeting)[12]
Depth mixingsequential-residual
Expert count256[10]
Experts per token8[10]
Shared experts1[10]
RoutingSigmoid router with post-top-k score normalization; routed-expert modulation (×2.5)[12]
Load balancingAux loss (Qiu et al.) load balancing[12]
MethodRoPE[14]
Partial RoPEyes[15]
Attention sinksno
Softcappingno
Other

Context

Trained context length131,072[16]
Deployed context length262,144[17]
Extension methodYaRN on GA layers to 128K; RoPE base doubling to 256K (no training)[13]

Tokenizer

AlgorithmBPE[11]
Notes100,352-token vocabulary[11]

Training

Training tokens30T[18]
Curriculum / stagingnone disclosed (pretraining); mid-train ~60B + SFT 3×40B + RL in post-training[19]
OptimizerMuon (Moonlight variant)[19]
LR scheduleWSD schedule, peak LR 5e-4[19]
PrecisionBF16 with FP32 master weights[19]
Hardware2,048 H200 GPUs (M.1: 6,144)[19]

Post-training

SFTyes[20]
Preference optimisationother[21]
Reasoning trainingRL with verifiable rewards (CISPO); agentic coding emphasis[21]
Distillationnone disclosed[3]

Modality

Typetext-only

Inference efficiency

KV-cache designSWA (window 512) on 75% of layers shrinks cache vs full attention; GA layers keep partial RoPE with 48 Q-heads; no latent-KV compression disclosed
Quantisation shippedQAD (quantization-aware distillation) and SpinQuant[8]
Speculative decodingnone disclosed[3]
Serving optimisationsnone disclosed[3]

Evaluation

Benchmarks (report's own numbers only)

BenchmarkValueRef
SWE-bench Verified69.9eval tables
SWE-bench Multilingual57.7eval tables
SWE-Bench Pro46.3eval tables
Terminal-Bench 2.035.7eval tables
BBH80.9eval tables
MMLU-STEM78.1eval tables
GSM8K84.2eval tables
LiveCodeBench v629.3eval tables

Provenance references

  1. stated · Title (Laguna M1 XS2 technical report)
  2. stated · Title page byline
  3. stated · pipeline
  4. stated · license section (stated twice)
  5. stated · license/release section
  6. stated · config tables (XS.2)
  7. stated · config tables (XS.2 3B active)
  8. stated · quantization section
  9. stated · config tables (GQA 8 KV heads)
  10. stated · config tables
  11. stated · tokenizer section
  12. stated · architecture section
  13. stated · context section
  14. stated · architecture section (two bases, per attention type)
  15. stated · architecture section (50% of dims on GA layers)
  16. stated · context section (YaRN extension trained to 128K)
  17. stated · context section (RoPE-scale doubling to 256K without training)
  18. stated · training section (>30T pre-training tokens)
  19. stated · training section
  20. stated · post-training section (SFT, 3×40B)
  21. stated · post-training section