Ornith-3.63BPW
Mixed-precision AutoRound quantization of Ornith (a fine-tune of Qwen3.5-122B-A10B) for vLLM. Text-only (vision tower and MTP layer removed). Checkpoint size 51.68 GiB, 3.63 bits per weight on average (packed weights, scales, zero points and BF16 parts).
Precision layout
| Component | Format |
|---|---|
| Routed experts, layers 0, 1, 2, 46, 47 | W4A16, group 128, symmetric |
| Routed experts, other 43 layers | W3A16, group 128, symmetric |
| Gated-DeltaNet and full-attention projections | W8A16, group 128, symmetric |
Routers, shared experts, DeltaNet decay controls (in_proj_a/b), embeddings, LM head, norms | BF16 |
AutoRound 0.16.1 (SignRound), 400 iterations/block, 512 x 2048-token
calibration samples (chat/code/reasoning/long-context, the model's own chat template). Format auto_round:auto_gptq.
Fidelity vs. BF16
Teacher-forced full-vocabulary KL(P_bf16 ‖ Q_quant) on a held-out set (24 × 1,024 tokens; sources and splits disjoint from calibration):
| Domain | Positions | Mean KL | Median KL | P99 KL | Top-1 agreement | PPL bf16 → quant |
|---|---|---|---|---|---|---|
| all | 24552 | 0.15684 | 0.00937 | 2.7526 | 89.93% | 3.290 → 3.405 |
| chat | 10230 | 0.07439 | 0.01468 | 1.0472 | 91.16% | 4.635 → 4.642 |
| code | 5115 | 0.17265 | 0.00016 | 3.9759 | 94.35% | 1.512 → 1.616 |
| math | 5115 | 0.18199 | 0.00536 | 3.2926 | 89.95% | 2.524 → 2.564 |
| prose | 4092 | 0.31176 | 0.07074 | 3.1415 | 81.28% | 5.147 → 5.678 |
Overall: mean KL 0.15684 (±0.00363), median 0.00937, top-1 agreement 89.93%, P99.9 KL 6.8592, max 13.642. vLLM load/generation was not validated by the quantization pipeline for this release.
Serving (vLLM)
python vllm-patch.py # run with the python of your vLLM environment
vllm serve Beling86/Ornith-3.63BPW --trust-remote-code --dtype bfloat16
vllm-patch.py (in this repo; idempotent, keeps .orig backups, --check / --revert) fixes a vLLM bug found while
serving a sibling checkpoint with per-expert mixed bit-widths: vLLM's INC parser reads the per-layer bits of a fused MoE
layer only if the class name contains fusedmoe, but the class is now RoutedExperts, so every MoE layer falls back to
the global bits: 4 and the 3-bit experts are allocated with 4-bit containers (CUDA OOM while the model is constructed,
before any weight is read). This checkpoint has the same layout (W3/W4 experts under a global bits: 4). The
The architecture-specific KDA patch in that script does not apply to Ornith and reports "not applicable".
2/3-bit experts run on the Humming kernels, 4/8-bit layers on Marlin.
Validation gates passed
Coverage, packed layout vs. config, zero points vs. sym, fused-group consistency, size ≤ 52.0 GiB,
plan conformance, strict reload (no missing keys) for the KL evaluation.