Downloads · 30 days
1M
19% of all-time downloads
mudler/Laguna-XS-2.1-APEX-GGUF
Laguna-XS-2.1-APEX-GGUF is a machine learning model from mudler. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as openmdw-1.1.
<div style="background-color: f59e0b; color: white; padding: 20px; border-radius: 10px; text-align: center; margin: 20px 0;" <h2 style="color: white; margin: 0 0 10px 0;"⚡ Each donation = another big MoE quantized</h2…
Downloads · 30 days
1M
19% of all-time downloads
All-time downloads
5.3M
Public
Repo size
137 GB
Likes
31
Trending 1
Click a slice to open those files.
.gguf137 GB · 100%
From the Hugging Face model README
APEX (Adaptive Precision for EXpert Models) quantizations of poolside/Laguna-XS-2.1 — poolside's Laguna XS.2 Mixture-of-Experts model for coding and agentic software engineering.
Brought to you by the LocalAI team | APEX Project | Technical Report
Requires a recent llama.cpp with Laguna support (PR #25165). Older builds cannot load
arch=laguna.
| File | Profile | Best For |
|---|---|---|
| Laguna-XS-2.1-APEX-I-Balanced.gguf | I-Balanced | Best overall — imatrix-enhanced |
| Laguna-XS-2.1-APEX-I-Quality.gguf | I-Quality | Highest quality with imatrix |
| Laguna-XS-2.1-APEX-Quality.gguf | Quality | Highest quality (no imatrix) |
| Laguna-XS-2.1-APEX-Balanced.gguf | Balanced | General purpose |
| Laguna-XS-2.1-APEX-I-Compact.gguf | I-Compact | Consumer GPUs, imatrix-enhanced |
| Laguna-XS-2.1-APEX-Compact.gguf | Compact | Consumer GPUs |
| Laguna-XS-2.1-APEX-I-Mini.gguf | I-Mini | Smallest viable, fastest inference |
APEX is a quantization strategy for Mixture-of-Experts (MoE) models. It classifies tensors by role (routed expert, shared expert, attention, dense FFN) and applies a layer-wise precision gradient — edge layers get higher precision, middle layers compress more aggressively. I-variants use diverse imatrix calibration (chat, code, reasoning, tool-calling, agentic traces, Wikipedia).
In MoE models the routed-expert FFN tensors dominate the weight budget but only ~8/256 experts fire per token, so APEX compresses middle-layer routed experts hardest while preserving edge layers, attention, and the always-active shared expert.
Laguna XS.2 has a structure APEX handles explicitly:
ffn_*_shexp) kept at Q8_0 on every tier (always active).ffn_gate_inp), norms and the exp_probs_b gating bias stay at full precision.LagunaForCausalLM, arch laguna)local-ai run mudler/[email protected]
APEX is brought to you by the LocalAI team. Built on llama.cpp. Base model by poolside.