Osaurus AI

Runtime: Osaurus v1.0.15 or newer (osaurus.json: required_osaurus_version 1.0.15, model_version 1).

OsaurusAI/Ling-3.2-Air-JANGHT2.5

39.92 GB (37.18 GiB) on disk (39.05 GB target including untouched BF16 vision + 0.87 GB native Layer-42 MTP speculative drafter) โ€” 3.24ร— smaller than the 129.3 GB FP8 checkpoint, achieving 86.77% top-1 agreement and 0.0347 median KL divergence against the full FP8 source across 34,185 strictly held-out positions (2.502 bits per source parameter).

This is an Apple Silicon JANGHT quantization of dealignai/Ling-3.2-Air-UNCENSORED-FP8 (upstream architecture inclusionAI/Ling-3.2-air): a 124B-total / 5.5B-active hybrid Vision-Language Mixture-of-Experts model (42 decoder layers: 35 Kimi Delta Attention + 7 Gated Multi-Latent Attention, 2 dense + 40 sparse MoE layers with 512 routed experts top-8 + 1 shared expert, native 1M-token YaRN context, untouched BF16 Vision encoder, and bundled Layer-42 Multi-Token Prediction drafter).

Fits comfortably on 48 GB and 64 GB+ Unified Memory Apple Silicon Macs.

Held-Out Fidelity vs FP8 Source

Measured on 40 strictly disjoint held-out conversations (34,185 next-token prediction positions) against dealignai/Ling-3.2-Air-UNCENSORED-FP8 (top-128 renormalized KL divergence, Top-1 exact token agreement, and mean ฮ”NLL):

Held-Out Domain Positions Median KL Mean KL Top-1 Agreement Mean ฮ”NLL
Multilingual (ZH/JA/KO/ES/FR/DE/RU) 4,494 0.0088 0.1209 90.01% +0.1268
Wide Coding (30+ languages & systems) 4,494 0.0250 0.0840 89.10% +0.0735
Long-Context (YaRN multi-doc) 9,768 0.0324 0.0768 87.49% +0.0254
General Knowledge 642 0.0344 0.1736 85.20% +0.1582
Agentic & Multi-Turn Tool Calling 5,381 0.0450 0.2032 84.80% +0.1166
Deep Reasoning & Math 8,301 0.0531 0.1366 84.82% +0.0341
Cybersecurity & Systems 1,105 0.0604 0.1469 82.99% +0.1145
Overall Held-Out (40 conversations) 34,185 0.0347 0.1220 86.77% +0.0669

Benchmarks & Live Verification

Benchmark / Check Uncensored FP8 (129.3 GB) Uncensored MXFP4 (78.4 GB) Ling-3.2-Air-JANGHT2.5 (39.92 GB)
On-Disk Size (incl. Vision + MTP) 129.30 GB 78.42 GB 39.92 GB (37.18 GiB)
Whole-Model Precision 8.0 bpw 4.8 bpw 2.502 bpw (2.270 experts)
Held-Out Top-1 / Median KL vs FP8 Reference โ€” 86.77% / 0.0347
GSM8K-100 (Reasoning ON, T=1.0) 94.0% (0 loops) 94.0% (0 loops) 90.0% (0 loops)
MMLU-570 (exact logit, 57 subjects) 81.58% 82.46% 77.72% (443/570)
Vision-Language Live Q&A 4/4 (333/333 BF16) 4/4 (333/333 BF16) 4/4 (333/333 bit-exact BF16)
Compliance Retention (320-prompt eval) 100.0% 100.0% 99.4% (2/320 flagged)
Native Layer-42 MTP Acceptance (d=1) ~65% ~64% 58.8%

Apple Silicon Performance (vmlx-swift, M5 Ultra)

Measured directly via vmlx-swift (BailingMoeV3VL fused JANGT/JANGH Metal kernels + post-SiLU clamped SwiGLU on L35โ€“L41):

Mode Decode Speed Tail Speed Cold Load Time Runtime Footprint Integrity
Autoregressive (AR) 80.6 tok/s 82.3 tok/s 9.93s 37.1 GiB loop=NO, unclosedReasoning=NO, leaks=none
Native Layer-42 MTP (depth=2) 103.8 tok/s 106.8 tok/s 5.86s 38.2 GiB loop=NO, unclosedReasoning=NO, leaks=none

Quantization Architecture & Calibration

  • Routed Experts (L02โ€“L41, 120.80B params โ†’ 34.28 GB, 2.270 bpw): Mixed JANGT (Hadamard-128 12-state trellis with block-LDL error feedback, per-layer/per-expert fp16 outlier columns, and unit-gain row refit) and JANGH (Hadamard-32 odd-cubic codebook with act-order GPTQ and f^0.5 row-gain calibration), allocated per layer and per projection (gate_up vs down) via frozen-routing KL sensitivity and convex-hull greedy optimization (down:jh2 ร— 15, down:jh3 ร— 18, down:jt2.5 ร— 7, gate_up:jt2 ร— 35, gate_up:jt2.5 ร— 5).
  • Non-Expert Trunk (~4.67 GB): Attention projections, dense L00โ€“L01 MLPs, shared experts, word_embeddings, and lm_head quantized to affine 8-bit (group_size=64). Routers (mlp.gate), expert_bias, RMSNorms, short convolutions, A_log, dt_bias, and small gating projections stay untouched in FP32/BF16.
  • Vision Tower (model.visual.* + linear_proj.*, 0.87 GB): Kept 100% bit-exact in BF16 (333/333 tensors verified against source).
  • Native Layer-42 MTP Drafter (model.layers.42.*, 0.87 GB): Untouched BF16 eh_proj/MLA/shared-expert/router weights paired with calibrated JANGHT routed experts (gate_up: jt2, down: jh2), automatically discovered by Osaurus (bundleHasMTP=true).
  • Context Window: 1,048,576 tokens (1M YaRN default) preserved (factor=4.0, original_max_position_embeddings=262144).
  • Extreme Multi-Domain Calibration: Full-Hessian capture across 1,002,556+ tokens (plus multimodal Vision+Text sequences) spanning 30+ programming languages (Rust, C, C++, Go, Python, TypeScript, Java, Swift, Metal, CUDA, Zig, Haskell, OCaml, Elixir, SQL, Bash, SystemVerilog, ARM64 assembly), multi-turn XML agentic tool calling, deep <think> reasoning & math, multilingual (ZH/JA/KO/ES/FR/DE/RU/AR/PT/HI), long-context YaRN, and cybersecurity/systems โ€” achieving 100% (512/512) routed-expert coverage in every MoE layer (L02โ€“L42) with median ~10,000+ calibration tokens per expert.

Serving Contract

  • Reasoning: Controlled via chat_template.jinja (enable_thinking=true opens <think>...</think> reasoning; enable_thinking=false skips reasoning directly into the answer).
  • Tool Calling: Native XML tool protocol (<tool_call> / <arg_key> / <arg_value>) with tool definitions injected via the chat template.
  • Recommended Sampling: temperature=1.0, top_p=0.95, top_k=20 (generation_config.json).
  • Context Length: 1,048,576 tokens (1M YaRN default, factor=4.0, original_max_position_embeddings=262144). 35 of 42 layers use linear-time Kimi Delta Attention (constant recurrent state); only the 7 Gated MLA layers (L5, L11, L17, L23, L29, L35, L41) maintain growing KV caches.
  • Vision & MTP: Untouched BF16 Vision tower (model.visual.* + linear_proj.*) and native Layer-42 MTP speculative drafter (model.layers.42.*) are bundled in-place and auto-detected by Osaurus.

Attribution & License

Downloads last month
-
Safetensors
Model size
13B params
Tensor type
U32
ยท
F32
ยท
BF16
ยท
I32
ยท
F16
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for OsaurusAI/Ling-3.2-Air-JANGHT2.5

Quantized
(1)
this model