Ling-3.2-air · HQ8_G32 + SHVQ3_G64 · Qwegn native pack
A native weight pack for the Qwegn inference engine (v0.36.0+), a Swift 6.2 + Metal 4 runtime for Apple Silicon. Mixed Spherical Hadamard Vector Quantization (SHVQ3_G64 routed MoE experts) paired with an HQ8_G32 KDA/MLA/dense/NextN/ViT trunk compresses inclusionAI/Ling-3.2-air (124B total / 5.5B active parameters) into 52.23 GiB (3.41 bits/param), running 100% resident on a 128 GB Mac with 2,847 tok/s prefill @4.1K (2,141.4 tok/s @10.4K llmprobe), 100.0 tok/s sustained QWServer NextN decode (110.5 tok/s predictable 1.98 tok/step, 103.74 tok/s CLI mtp=1), 37 ms warm prefix cache (14.5×), 100% capability, 98.04% engine fidelity (36/36), 285/293 API conformance, and 3/3 needle recall @ 16.9K with 0 steady-state allocations.

This pack uses Qwegn's own
QWP1container and loads only in Qwegn (v0.36.0+). It is not a safetensors, GGUF, or MLX archive.
At a glance
| Property | Value |
|---|---|
| Upstream model | inclusionAI/Ling-3.2-air |
| Parameters | 124 B total (5.5 B activated per token) |
Architecture (bailing_moe_v3_vl) |
42 trunk layers (35 full-rank KDA no_kda_lora, conv_k=4, kda_lower_bound=-5 + 7 Direct-Q decoupled-RoPE Gated MLA 512D latent KV, 32 heads, 128D NoPE + 64D interleaved RoPE); 2 dense (6144) + 40 Group-Limited MoE (512 routed top-8 + 1 shared 768, n_group=8, topk_group=4, per-layer SwiGLU clamp on L35–41); 1 NextN MTP layer (L42); 27L 1152D ViT (16 heads, 2-layer GELU linear_proj, 3D VideoRoPE [8, 12, 12]); 2560 hidden; 157,184 vocab |
| Pack size | 52.23 GiB (56,078,829,356 bytes, 64,116 tensors) |
| Weights | HQ8_G32 + SHVQ3_G64 + BF16 + F32, 3.41 bits/param |
| UMA residency (128 GB Mac) | 100% resident (49.22 GiB weights / 50.42 GiB w/ NextN mtp=1, 50.1–51.4 GiB CLI RAM, 54.96 GiB qwg serve w/ ViT + 4 GiB cache, 0 SSD misses) |
| Native context | 262,144 tokens (rope_theta = 6,000,000) |
Performance on Qwegn (v0.36.0)
Measured on an idle Apple M5 Max (Mac17,6, 128 GB unified memory, 40-core Apple10 NAX GPU, macOS 26+) with --kv-mode q4 --temperature 0 --no-profile:
| Metric | Result |
|---|---|
llmprobe prefill (512 / 4.1K / 8.3K / 10.4K / 16.3K) |
1,946 · 2,847 · 2,292 · 2,141.4 · 1,651 tok/s |
Cold TTFT / Warm prefix cache (qwg serve) |
124 ms / 37 ms (535 → 37 ms, 14.5×) |
Standard decode (CLI mtp=0 serial, f16/q8/q4) |
76.16–78.30 tok/s (100% SHA-256 parity across KV modes) |
NextN speculative decode (CLI mtp=1 / qwg serve) |
99.41–103.74 tok/s CLI (95.4–100% accept, 1.90–1.98 tok/rd) · 100.0 tok/s serve (99.1–100.7, +1.6% steady drift) |
llmprobe speculative (predictable / novel) |
110.5 tok/s predictable (1.98 tok/step) · 86.0 tok/s novel (1.29×, offScript=0) |
| 2-layer PyTorch FP16-aligned oracle | < 5e-3 max abs diff & 100% greedy argmax parity (text + multimodal 3D MRoPE) |
llmprobe v0.6.16 --full conformance, capability & fidelity |
100% capability (strong) · 98.04% fidelity (36/36, firstDivergence: null) · 285/293 (97.3%) API conformance · 67/88 (76.1%) agentic |
Long-context 3-needle recall (16.9K, q4 KV, QWServer) |
3/3 (100%) (S1–S9 server QA 0 errors, 0 steady-state allocs) |
Mixed Quantization Layout
| Tensor class | Format | Effective Role / Count |
|---|---|---|
Routed experts (gate_proj, up_proj, down_proj across 40 × 512 experts) |
SHVQ3_G64 |
3.25 bpw (62,976 tensors) |
Dense MLP (L0–1), shared experts, KDA / MLA projections, lm_head, NextN L42, 27L ViT |
HQ8_G32 |
8.50 bpw (373 tensors) |
| Embeddings, norms, router gates, small linear vectors | BF16 / F32 |
615 BF16 + 152 F32 (router / expert_bias / A_log / dt_bias) |
Memory footprint (0 steady-state allocations)
| Configuration | Weights | KV / tok | Resident RAM |
|---|---|---|---|
CLI --mtp-drafts 0 --kv-mode q4 (--no-load-vision) |
49.22 GiB |
2,800 B |
50.09–50.12 GiB |
CLI --mtp-drafts 1 --kv-mode q4 (--no-load-vision) |
50.42 GiB |
2,800 B |
51.38–51.40 GiB |
qwg serve --context-tokens 65536 --kv-mode q4 (ViT + 4 GiB warm cache) |
50.42 GiB (+ ViT) |
2,800 B |
54.96 GiB (54.14 GiB arena) |
KV cache modes (q4 / q8 / f16) |
— | 2,800 B / 4,508 B / 8,064 B |
Honor --[no-]load-vision & --kv-mode |
Quick start
Install Qwegn (v0.36.0+) from https://github.com/qwegnai/qwegn, then:
# Download pack from Hugging Face into ~/.qwg/models/
qwg pull qwegnai/Ling-3.2-air-QWP-Mixed
# Single-shot CLI run with NextN MTP-1 speculation
qwg run ~/.qwg/models/Ling-3.2-air-QWP-Mixed \
--kv-mode q4 --mtp-drafts 1 --mtp-draft-strategy neural \
--prompt "Write a C11 lock-free single-producer single-consumer ring buffer."
# OpenAI- and Anthropic-compatible local server (supports multimodal image_url)
qwg serve ~/.qwg/models/Ling-3.2-air-QWP-Mixed \
--kv-mode q4 --context-tokens 65536 --mtp-drafts 1 --load-vision --no-lazy
Files
| File | Contents |
|---|---|
model.qwp |
Weights in Qwegn's QWP1 container (52.23 GiB, 56,078,829,356 bytes, 64,116 tensors) |
model.qwp.sha256 |
SHA-256 of model.qwp (53480172296bbb3df312585b7cd09711f94351cd7fc14927601b9fc6606a8df0) |
README.md |
This model card |
media/ |
qwegn_model_ling32_air.svg and 2× Retina PNG profile |
assets/ |
Upstream config.json, tokenizer.json, chat_template.jinja, model/processor metadata (manifest.json lists SHA-256 digests) |
License and attribution
Licensed under the MIT License, inherited from inclusionAI/Ling-3.2-air. Quantized by the Qwegn team; all credit for the base model belongs to inclusionAI.
Model tree for qwegnai/Ling-3.2-air-QWP-Mixed
Base model
inclusionAI/Ling-3.2-air