alt.freeweights.text / Laguna-S-2.1-oQ4e
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject:

Laguna-S-2.1-oQ4e

Date: 2026-11-15Commit: d785a93Signed: 2DC28CC7B26A283B ✓

Text generation model with 117.6B parameters. Safetensors weights, 64.1 GB in all. Published by mlx-community under OpenMDW-1.1.

117.6B params64.1GBLaguna-S-2.1-oQ4esafetensorscustom terms
FactsParams117.6BSize64.1 GBFormatssafetensorsTasktext generationLicenseOpenMDW-1.1From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/Laguna-S-2.1-oQ4e
# manifest sha256 02fcdb8ca5c5… · 64.1 GB · 26 files
$ fw verify ./Laguna-S-2.1-oQ4e mlx-community/Laguna-S-2.1-oQ4e
From sourceHosted (signed)mlx-community/Laguna-S-2.1-oQ4eLast check: 2026-11-15 00:21 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Laguna-S-2.1.

Works with

Overview

Size
64.1 GB
Weights
64.1 GB (safetensors)
Parameters
117.6B
Formats
safetensors
Task
text generation
License
OpenMDW-1.1 (custom)
Files
26, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: poolside/Laguna-S-2.1

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 00:21 UTCpassed

Model card

From the publisher at commit d785a93. Shown as plain text with links; images open at the publisher.

Laguna-S-2.1-oQ4e#

Calibrated 4-bit MLX quantization of poolside/Laguna-S-2.1 (118B total, 8B activated per token), produced with oMLX oQ at level 4 enhanced — 4.60 bits/weight effective, 64 GB on disk. Data-driven mixed precision: bits are allocated per tensor from an imatrix-calibrated sensitivity map, not a fixed rule. For Apple Silicon.

  • 64 GB on disk, down from 235 GB BF16
  • 48 layers, 47 of them MoE with 256 routed experts + 1 shared, top-10 (L0 is a dense MLP); interleaved attention (12 global with YaRN to 1M context, 36 sliding-window 512)
  • Peak memory in my tests: 60.4 GB at 1k context, 63.5 GB at 64k — fits a 96 GB Mac
  • Converted and tested on a Macbook Pro M5 Max 128GB 40 GPU

Requirements#

mlx-lm doesn't support the laguna architecture yet — there's an open PR: mlx-lm#1223. Until it lands, use mlx-vlm (0.6.3+), which implements laguna as a text-only model:

uvx --from mlx-vlm mlx_vlm.generate --model mlx-community/Laguna-S-2.1-oQ4e --prompt "..."

oMLX serves it directly from 0.5.3 on — it vendors that PR and patches it into mlx-lm at import, so no model setting is needed. On earlier builds, discovery decides between the mlx-lm and mlx-vlm loaders by looking for a vision sub-config, and laguna has none — so it lands on mlx-lm and fails with Model type laguna not supported. Set model_type_override: "vlm" in the model's settings, then refresh discovery (omlx restart): the load failure is cached per entry until the next discovery pass, so setting the override alone won't clear it.

Quantization#

oQ4e allocates bits per tensor from an importance-matrix calibration pass over calibration data. The 4-bit base lands on the experts; the dense spine — attention, embeddings, lm_head, routers, 386 tensors in total — came out mixed, 284 at 8 bits, 1 at 6 and 101 at 5. Output is standard MLX affine quantization — no custom kernels or runtime required.

How it was quantized#

oQ at level 4 enhanced — imatrix-calibrated, group size 128. I had to patch omlx to route laguna through the mlx-vlm loader. At 235 GB the model doesn't fit in 128 GB of RAM, so calibration ran against a uniform 4-bit proxy on disk rather than the FP weights, which shifts the bit allocation slightly.

Conversion check#

Smoke-tested after conversion with mlx_vlm.generate: coherent — solved 17 * 24 = 408, broke it down by the distributive property and verified the result a second way, no repetition loop.

Performance#

Measured with oMLX's benchmark harness on a Macbook Pro M5 Max 128GB 40 GPU, single request, 128 generated tokens:

promptgen tok/sprefill tok/sTTFT mspeak GB
1k55.91087.794260.40
4k56.61075.7380960.55
8k55.7946.9865360.74
16k53.5865.41893461.11
32k48.0812.14035261.90
64k39.8722.49071763.52

Continuous batching at 1k prompt / 128 generated:

batchtg tok/sspeedupTTFT msE2E s
155.91.00x9423.24
279.51.42x25775.80
4106.81.91x41869.06
8144.62.59x570814.35

Benchmarks & Variants#

mmlu_pro, mathqa and winogrande, n=300 seeded samples each, thinking off, identical questions across every variant. The bf16 row is the hosted API, measured the same way. Standard error at this n is around 2.5 points, so oQ4e through oQ6e aren't separated by this run.

Image: Accuracy vs bits per weight, three benchmarks, n=300

VariantSizebpwgen tok/s (1k → 64k)mmlu_promathqawinogrande
Laguna-S-2.1-oQ2e-fast35 GB2.6078.8 → 48.60.7000.8500.713
Laguna-S-2.1-oQ2e36 GB2.7061.5 → 38.80.7030.8400.707
Laguna-S-2.1-oQ3e-fast49 GB3.5677.2 → 48.40.7500.8870.760
Laguna-S-2.1-oQ3e49 GB3.5967.5 → 40.10.7500.8800.760
Laguna-S-2.1-oQ4e-fast63 GB4.5469.3 → 45.50.7870.8730.777
Laguna-S-2.1-oQ4e (this repo)64 GB4.6055.9 → 39.80.7570.8870.777
Laguna-S-2.1-oQ5e78 GB5.3057.5 → 38.10.7730.8830.797
Laguna-S-2.1-oQ6e92 GB6.2753.0 → 32.90.7630.8730.777
Laguna S 2.1 (API, bf16)—16—0.7730.8800.810

Treat this as a rough sighting, not a verdict. Three benchmarks at n=300 cover a narrow slice of what the model does — no long-context work, no agentic loops, no real code — and at this sample size most of the ladder above 3.6 bpw sits inside the error bars. I ran them to size the drop between levels, not to rank the variants against each other. Test the one you're considering on your own workload before trusting any of it.

Usage#

# mlx-vlm — plain mlx-lm doesn't support the laguna architecture
uvx --from mlx-vlm mlx_vlm.generate --model mlx-community/Laguna-S-2.1-oQ4e \
  --prompt "Explain Bayes' theorem in two sentences." --max-tokens 300

# oMLX — discovers the model from the HF cache; set model_type_override: "vlm" first
omlx serve

License#

OpenMDW-1.1, inherited from the base model. Refer to the original model card for architecture, benchmarks, and intended use.

Files

26 files · 64.1 GBWeights 64.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 26 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.32 KBf24aad2adb01cefc9b7b6276af20611dab9d517910cbeb513804793530f05b20
chat_template.jinja3.96 KB444819b8ad4612870827ac05b9147fe9e3344d3850cae8c2790898fc514099ff
config.json107 KBde530f3a85f0dbef0b22c6e7caff51d21b6b75d1f04024b07947d103e22a630c
configuration_laguna.py13.1 KB9446b4fca6f895bd0ed79d861f33447f8c231ba42b7c89cb4b4d25af3958c1fd
generation_config.json479 B81ff120c8c6739e2d0fc7a2829368b966fa2956938bc20393006ca3e800866a4
ladder.png51.0 KB24c7169dc7ecd798275a70d3ce82398e1617b4ae6c6df114d0376284a260e8e2
model-00001-of-00013.safetensors5.08 GB060e75728bc97e0659ee2294ad5ee29a36e3a94c514d2bc5276d7f178e2370fd
model-00002-of-00013.safetensors5.13 GBf3751eadd95017b135e8cd44291a55bffd88c7deefa3fe7ec691b9e66b9f92bc
model-00003-of-00013.safetensors5.13 GBf6095c47fbca034c6b83a05fac8f23e138059816cbe2d34b88601d34bbf3d8cc
model-00004-of-00013.safetensors5.13 GB1e1f2502df93b1ac5f06d81522d0a2a2ca0ddb8842b8686941caf36fb2fdd202
model-00005-of-00013.safetensors5.13 GB68d29552e4d763395081968a1ea020639168c1bfcd16cd140b1bfa1bf926ed7c
model-00006-of-00013.safetensors5.13 GB4eb9afb24b47e73dc383ced9d89de273d9d8b4dd8ff6da3be2588834e6b77139
model-00007-of-00013.safetensors5.13 GB7a72b8555831b05e54b222ef264f060c026d6dea04bec21e02b4ab2a901b79d7
model-00008-of-00013.safetensors5.13 GB6f8cce69ae48076407c627a0a6e01c297a98a45ae6a05d34251b6f8a38c9a246
model-00009-of-00013.safetensors5.13 GB15e76c2e5c1cdc6c97df0d0cea7e2b5619a9219fb145a8bd6e9faa584b8e7496
model-00010-of-00013.safetensors5.13 GBf8d5d3a9b4328563fe273f0ea9471dc694897dadf055a7db5b82d1ae8bb818dc
model-00011-of-00013.safetensors5.13 GB70e46864afd6fef184ef1dc4158e1c7d4f395615d988cc32b1b082020d30b50e
model-00012-of-00013.safetensors5.13 GBae943ae55c0b255d6194a728f2b8b3190ee31507f9c07b45f6e793b19ab58e2b
model-00013-of-00013.safetensors2.57 GB3678e371f54756f19ac5f960880260c34b8fb97ca07fd8d7c089099ae6562559
model.safetensors.index.json191 KB45709bf61be0398b4b34ed68845c80f8d2bab75f1f16d19e63c95e15571f0cc2
modeling_laguna.py40.9 KB765fd328542d176ff6a62ac814327b11a824df29bdca001d341e9a7c2fe9d876
oq_imatrix_report.json38.3 KB2d63fc4d24474e2e04b35627a105ac0215436a10f1aae46d339a806bd32912ed
special_tokens_map.json214 B70cd3459fde61761e9440751a590e89a108c09b1803cc7727f5ad1ed1ea6122b
tokenizer.json7.29 MB809240f7a182cde859a4fc4ebc902e619a173d507e99304c1092aa04e7a6658e
tokenizer_config.json13.0 KB8103b5dd4baf13b38ee927370fbfeab2b1378457efaa233d1c5f0410c40dc9f9
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d785a93498 pinned now2026-11-15 00:21 UTC26 files · 64.1 GB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/Laguna-S-2.1-oQ4e
# manifest sha256 02fcdb8ca5c5… · 64.1 GB · 26 files
$ fw verify ./Laguna-S-2.1-oQ4e mlx-community/Laguna-S-2.1-oQ4e
Terms that come with these files. OpenMDW 1.1: keep the agreement and the copyright notices with the files when you pass them on.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Laguna-S-2.1-oQ4e.json --dir ./Laguna-S-2.1-oQ4e $ python3 fw.py verify ./Laguna-S-2.1-oQ4e ./mlx-community__Laguna-S-2.1-oQ4e.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Laguna-S-2.1-oQ4e --revision d785a9349850807a34ac0ac1c22c66b718e77881 --local-dir ./Laguna-S-2.1-oQ4e
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/Laguna-S-2.1-oQ4e", revision="d785a9349850807a34ac0ac1c22c66b718e77881") model = AutoModelForCausalLM.from_pretrained("mlx-community/Laguna-S-2.1-oQ4e", revision="d785a9349850807a34ac0ac1c22c66b718e77881", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Laguna-S-2.1-oQ4e --revision d785a9349850807a34ac0ac1c22c66b718e77881

License

Name
OpenMDW-1.1
Id
OpenMDW-1.1
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
OpenMDW 1.1: keep the agreement and the copyright notices with the files when you pass them on.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
f24aad2adb01cefc9b7b6276af20611dab9d517910cbeb513804793530f05b20
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject: Laguna-S-2.1-oQ4eDate: 2026-11-15Commit: d785a93Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Laguna-S-2.1-oQ4e
Pinned commit
d785a9349850807a34ac0ac1c22c66b718e77881
Manifest
Laguna-S-2.1-oQ4e.json · .minisig
Manifest sha256
02fcdb8ca5c55fca4c3b46eceb661101796df1f3d212757e58211c90df766785
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:21 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Laguna-S-2.1-oQ4e.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Laguna-S-2.1-oQ4e.json.minisig $ minisign -Vm Laguna-S-2.1-oQ4e.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

poolside/Laguna-S-2.1 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Laguna-S-2.1-oQ4e
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Laguna-S-2.1-oQ4e.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B