Poolside · released 2026-07-21
Laguna-S-2.1
What Laguna-S-2.1’s own documents say it is built from — every method with the sentence that describes it.
Curator’s note118B total / 8B active MoE for agentic coding: 48 layers in a 1:3 global-to-sliding ratio (12 global, 36 SWA at window 512), 256 routed experts (top-10) + 1 shared, token-choice routing with softplus gating, grouped-query attention with per-head softplus output gating, 1M context, OpenMDW-1.1. RL post-training in FP8 over 409k agentic and non-agentic task environments, and a trained DFlash draft model for speculative decoding. First non-Chinese, non-US-hyperscaler lab in the map. The family technical report covers Laguna M.1 / XS.2, not S 2.1 itself; full evaluation trajectories are published at trajectories.poolside.ai.
Against the consensus recipe
Its documents state 5 of the 15 methods the field agrees on.
The recipe from the overview: the methods the most labs adopt, per stage. A missing one is something the documents do not say, not something the model lacks.
Data curation
- Agentic data synthesis pipelinenot in its documents
Training objective
- Multi-Token Predictionnot in its documents
- KL alignment lossnot in its documents
Model architecture
- Mixture of Expertscore
- Hybrid Attentioncore
- Multi-Token Predictionnot in its documents
Optimization
- Muoncore
- Expert Parallelismnot in its documents
- Cosine decaynot in its documents
Post-training
- Group Relative Policy Optimizationnot in its documents
- Supervised fine-tuningnot in its documents
- Multi-Teacher On-Policy Distillationnot in its documents
Inference & serving
- Configurable reasoning effortdefault
- Speculative decodingnot in its documents
- FP8 KV-cache quantizationused
Checked in its code
Its code shows 11 of the 19 architecture features checked — 8 of them are not stated in its documents.
Documents say what a lab chose to describe; the modeling code says what the checkpoint runs. Each feature below was put to a code verifier, and only the config values and source lines it cited that were found in the files are shown, linked to the line.
Read from Hugging Face Transformers (modeling_laguna.py, configuration_laguna.py) and config.json at revision 0f57314083, by anthropic/claude-sonnet-5 on 2026-09-25.
| Feature | Code | Its documents | Evidence |
|---|---|---|---|
| Grouped-query attention | in its code | core | Each layer's queries (48 or 72 heads) share 8 key/value heads via repeat_kv-based grouped-query attention. num_attention_heads = 48num_key_value_heads = 8 |
| Multi-head latent attention | not in its code | not stated | Attention uses separate q/k/v projections sized by head_dim and num_key_value_heads with no low-rank latent cache, so MLA is not implemented. |
| Sliding-window attention code only | in its code | not stated | Layers marked sliding_attention in layer_types use sliding_window=512 to restrict attention to a local window. sliding_window = 512layer_types = ["full_attention", "sliding_attention", "sliding_attention", "sliding_attenti… |
| Interleaved sliding-window and global attention code only | in its code | not stated | layer_types interleaves one full_attention layer followed by three sliding_attention layers repeatedly across all 48 layers. layer_types = ["full_attention", "sliding_attention", "sliding_attention", "sliding_attenti… |
| Indexer-selected sparse attention (DeepSeek Sparse Attention) | not in its code | not stated | No indexer-based top-k token selection mechanism appears anywhere in the attention or MoE code. |
| Linear-attention or state-space layers alongside full attention | not in its code | not stated | All decoder layers use the same LagunaAttention softmax attention class; there is no linear-attention or SSM mixer variant. |
| Gated DeltaNet layers | not in its code | not stated | No delta-rule recurrent state update or decay gate code exists; all layers are standard softmax attention. |
| Mamba-2 layers | not in its code | not stated | No selective state-space (SSD/Mamba-2) block implementation is present in the modeling file. |
| Learnable attention sink | not in its code | not stated | The attention softmax and mask construction have no extra learned sink logit column. |
| Gated attention output code only | in its code | not stated | Attention output is multiplied by a softplus (not sigmoid, but input-dependent) gate computed from hidden_states via g_proj, either per-head or per-element based on config.gating. gating = "per-head" |
| QK normalization code only | in its code | not stated | Queries and keys are each normalized per head with LagunaRMSNorm before rotary and the attention dot product. |
| Partial RoPE code only | in its code | not stated | Full-attention layers use partial_rotary_factor 0.5 so RoPE is applied to only half of each head dimension. rope_parameters.full_attention.partial_rotary_factor = 0.5 |
| YaRN RoPE scaling code only | in its code | not stated | The full_attention layer type sets rope_type to yarn with factor/beta parameters, and the rotary embedding module dispatches to the YaRN init function. rope_parameters.full_attention.rope_type = "yarn"rope_parameters.full_attention.factor = 128.0 |
| Layers without positional encoding (NoPE) | not in its code | not stated | Every layer type (full_attention and sliding_attention) has an entry in rope_parameters with a rope_type, so all softmax-attention layers receive positional encoding. rope_parameters.sliding_attention.rope_type = "default" |
| Mixture of experts | in its code | core | LagunaSparseMoeBlock routes tokens to top-10 of 256 experts via a learned sigmoid router, applied in layers marked sparse. num_experts = 256num_experts_per_tok = 10 |
| Shared expert | in its code | used | Each sparse MoE block includes a shared_experts MLP with nonzero intermediate size 1024 that every token passes through, added to the routed output. shared_expert_intermediate_size = 1024 |
| Auxiliary-loss-free load balancing (selection bias) code only | in its code | not stated | The router adds e_score_correction_bias only to the scores used for top-k selection, not to the routing weights used to combine expert outputs. |
| Multi-token prediction layers | not in its code | not stated | No config key declares extra next-next-token prediction modules and no MTP module exists in the modeling code. |
| SwiGLU feed-forward code only | in its code | not stated | Both the dense LagunaMLP and expert MLPs compute silu(gate_proj(x)) * up_proj(x), and hidden_act is silu. |
model architecture 19
token mixer 9
softmax attention 6
channel mixer 7
mixture of experts 7
expert load balancing 1
training objective 2
distillation objective 2
optimization 13
optimizer 2
learning-rate schedule 2
training precision 2
training stability 2
data curation 29
data filtering 9
deduplication 1
synthetic data 10
data mixture & curriculum 5
sequence packing 1
tokenization 1
post-training 27
filed at the root 1
supervised fine-tuning 4
reinforcement learning algorithm 5
reward modelling 4
rollout & RL infrastructure 8
agentic post-training 4
mid-training & continual pretraining 1
inference & serving 24
decoding strategy 1
reasoning control 7
KV cache management 1
inference quantization 8
inference scheduling 1
context management 1
software implementation 9
filed at the root 1
inference engine 1
training framework 2
evaluation 12
filed at the root 5
benchmark 1
evaluation harness 3
other 5
unfiled 23
Further reading
Picked by hand, not extracted: where to read more, not evidence for anything on this page.
- Laguna-S-2.1 architecture card — LLM Architecture Gallery explainer sebastianraschka.com
Sources
The curated document list for this model. "not fetched" means the URL is recorded but its text was not read in the current run.
| Document | Kind | Publisher | Status |
|---|---|---|---|
| poolside.ai/blog/introducing-laguna-s-2-1 | official blog | Poolside | read |
| poolside.ai/assets/laguna/laguna-m1-xs2-technical-report.pdf | technical report | Poolside | read |
| huggingface.co/poolside/Laguna-S-2.1 | model card | Poolside | read |
| docs.poolside.ai/release-notes/models | vendor docs | Poolside | read |
| poolside.ai/models | vendor docs | Poolside | read |
| venturebeat.com/infrastructure/poolside-drops-laguna-s-2-1-an-open-weig… | news | VentureBeat | not fetched |
| marktechpost.com/2026/07/21/poolside-releases-laguna-s-2-1 | news | MarkTechPost | read |
| openrouter.ai/poolside/laguna-s-2.1 | vendor docs | OpenRouter | read |
| finance.yahoo.com/technology/ai/articles/poolside-releases-laguna-2-1-1… | news | Yahoo Finance | read |