Downloads · 30 days
50
14% of all-time downloads
pipenetwork/Laguna-S-2.1-MLX-3bit
Laguna-S-2.1-MLX-3bit is a text generation model from pipenetwork. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as openmdw-1.1.
MLX (Apple Silicon) conversion of poolside/Laguna-S-2.1, quantized to 3-bit (affine group quant, group size 64; router gate kept at 8-bit).
Downloads · 30 days
50
14% of all-time downloads
All-time downloads
352
Public
Parameters
118B
51.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors51.5 GB · 100%
How the weights are stored.
U32118B · 100%
From the Hugging Face model README
MLX (Apple Silicon) conversion of poolside/Laguna-S-2.1, quantized to 3-bit (affine group quant, group size 64; router gate kept at 8-bit).
Code / loader: github.com/PipeNetwork/laguna-mlx
Laguna-S 2.1 is Poolside's 118B-total / ~8B-active sparse-MoE model (256 routed experts, top-10, + 1 shared expert), built for agentic coding and long-horizon work with a 1M-token context. It interleaves full-attention and sliding-window (512) layers, uses softplus per-head attention gating, per-head Q/K RMSNorm, and a sigmoid router with an aux-loss-free correction bias.
| Variant | Size | Notes |
|---|---|---|
| 8bit | 116 GB | near-lossless |
| 6bit | 89 GB | high quality |
| 4bit | 62 GB | balanced default |
| 3bit | 48 GB | smallest footprint |
| 2bit | 35 GB | mixed-precision, smallest |
| bf16 | 219 GB | full precision |
laguna.py loaderThe laguna architecture is not in stock mlx-lm, so this repo bundles the
numerically-validated MLX implementation as laguna.py. Register it once, then
use mlx-lm normally:
pip install mlx mlx-lm
python - <<'PY'
import os, shutil, mlx_lm
from huggingface_hub import hf_hub_download
dst = os.path.join(os.path.dirname(mlx_lm.__file__), "models", "laguna.py")
shutil.copy(hf_hub_download("pipenetwork/Laguna-S-2.1-MLX-3bit", "laguna.py"), dst)
print("registered laguna ->", dst)
PY
mlx_lm.generate --model pipenetwork/Laguna-S-2.1-MLX-3bit \
--prompt "Write a Rust function that reverses a linked list." --max-tokens 256
Needs an Apple-Silicon Mac with enough unified memory to hold the weights (≈ the size above).
License: OpenMDW-1.1 (inherits the base model).