Inkling-2-Mini-MLX-RCO-3.5bpw

Superseded-in-place release. This repository ID is retained for continuity, but its weights now contain the improved 12 GB-class variant: the published RCO 3.5 expert allocation, 8-bit affine group-64 token embedding and lm_head, and the official DSpark/MTP head. The previous plain RCO 3.5 checkpoint is superseded; its commit remains in HF history.

The DSpark sidecar is BF16 on disk because Inkling2 runtimes quantize draft projections to 8-bit at load time. That is the supported 8-bit MTP path.

Status

Gate Status Evidence
Local MLX load/generate PASS Generated โ€œParisโ€; MLX-LM peak 12.914 GB
Paired fidelity MEASURED KL 0.0519 vs previous RCO 3.5 KL 0.0513
Zero-shot parity PASS No task significant under corrected McNemar ฮฑ = 0.01
MLX-Serve load PASS Dedicated server reached state=ready
MTP/DSpark PASS spec=dspark active; short 1.12ร—, long 1.17ร—
HF consolidation PASS Old repo overwritten; duplicate repo withdrawn

Statistically lossless verdict: yes against the previous RCO 3.5 checkpoint under the five-task paired protocol. This means no significant degradation, not bitwise identity.

Measured fidelity

Protocol: paired logits against our locally dequantized BF16 teacher; 8 WikiText-2 rows ร— 512 tokens for KL/top-1, 256 rows ร— 512 tokens for full PPL. Teacher full PPL: 8.4582.

Metric Current checkpoint Previous RCO 3.5
KL vs teacher 0.0519 ยฑ 0.0012 0.0513 ยฑ 0.0012
Top-1 agreement 89.07% ยฑ 0.61 89.46% ยฑ 0.61
PPL full 8.7776 ยฑ 0.1659 8.7759 ยฑ 0.1661
ฮ”CE full vs teacher +0.0371 ยฑ 0.0012 +0.0369 ยฑ 0.0012

Zero-shot comparison vs previous RCO 3.5

Harness: hermitdave/model-eval zs_run_any.py; five tasks, 400 items each, temp 0, identical item sets. Wilson intervals are reported per run; significance uses exact paired McNemar on shared items. Bonferroni correction across five tasks gives ฮฑ = 0.01.

Task Previous RCO 3.5 Current ฮ” p(McNemar)
ARC-Challenge 62.00% [57.15, 66.62] 62.75% [57.91, 67.35] +0.75 pp 0.5488
ARC-Easy 88.25% [84.72, 91.05] 88.50% [85.00, 91.27] +0.25 pp 1.0000
HellaSwag 46.75% [41.91, 51.65] 46.75% [41.91, 51.65] 0.00 pp 1.0000
WinoGrande 51.25% [46.36, 56.11] 52.75% [47.85, 57.59] +1.50 pp 0.2101
MMLU 59.50% [54.62, 64.20] 59.00% [54.12, 63.71] โˆ’0.50 pp 0.6875

Direction count: 3 better, 1 tied, 1 nominally worse. No task survives the corrected threshold; the nominal MMLU decrease is uncorrected p = 0.6875.

Size and peak memory

Artifact Current Previous
Safetensors total 13.402 GB / 12.481 GiB ~13.63 GB
MLX-LM peak memory, short generation 12.914 GB 14.54 GB zero-shot peak
Token embedding 8-bit affine, group 64 BF16
lm_head 8-bit affine, group 64 BF16
DSpark sidecar BF16 on disk, runtime 8-bit absent

Context length

  • Config-advertised maximum: 1,048,576 tokens. This comes from mtp_config.max_position_embeddings; similar Inkling2 MLX-Serve checkpoints report context_length=1048576 and max_model_len=1048576.

  • Directly tested: 5,110-token prompt + 256 output tokens in MLX-Serve with DSpark enabled. This completed successfully.

  • KV-cache cost: Inkling2 has 48 layer visits per token. With BF16 KV, the eight full-attention visits cost about 32 KiB/token, plus a fixed ~160 MiB sliding-window cache. Approximate 8-bit KV cost is ~16 KiB/token; 4-bit KV cost is ~8 KiB/token.

  • Practical context on a 16 GB device:

    • BF16 KV: plan for roughly 8kโ€“16k tokens
    • --kv-quant 8: roughly 32kโ€“64k tokens
    • --kv-quant 4: potentially 64k+, not yet validated on a 16 GB device
  • MLX-Serve 4-bit KV context test on 64 GB M3 Max: with MTP off, --kv-quant 4, --ctx-size 262144, and deterministic needle retrieval, correct answers were returned at 4,038 / 32,041 / 128,059 / 260,035 prompt tokens. Wall times including prompt upload, prefill, and 12 output tokens were 4.4 / 38.4 / 233.6 / 622.0 s. This demonstrates 4-bit KV functionality up to ~260k tokens on this machine; it does not establish 16 GB-device headroom.

The 1M-token config value is therefore a model-format ceiling, not a memory-practical serving context on 16 GB hardware.

KV-cache quality

Measured with MLX-Serve prompt-token logprobs on the same 8 WikiText rows used for the paired teacher, 511 scored targets per row, MTP off. ฮ”CE is the checkpoint's CE minus the BF16 teacher CE.

KV mode CE ฮ”CE Top-1 vs teacher
off 2.2414 +0.0362 ยฑ 0.0077 89.21% ยฑ 0.46
--kv-quant 8 2.2427 +0.0376 ยฑ 0.0074 89.04% ยฑ 0.60
--kv-quant 4 2.2465 +0.0413 ยฑ 0.0064 87.99% ยฑ 0.23

8-bit KV is essentially neutral. 4-bit KV adds a small CE penalty and about a 1.2-point top-1 drop relative to off-KV in this 8-row probe. This is a runtime KV-cache comparison, not a new weight-quantization result.

Throughput

Apple M3 Max 64 GB, MLX-Serve 26.11.4, PLD disabled, warmup enabled, depth-1 DSpark, 256 output tokens.

Prompt MTP off Depth 1 Gain
Short, 32 tokens 79.82 tok/s 89.26 tok/s 1.12ร—
Long, 5110 tokens 72.78 tok/s 85.08 tok/s 1.17ร—

Server log confirmed spec=dspark with 1.44โ€“1.58 accepted tokens per round and 0.77โ€“0.80 positional acceptance.

Validation files

  • validation/zero_shot_current.json โ€” raw current zero-shot scores and per-item indices
  • validation/zero_shot_previous_comparison_only.json โ€” raw previous-RCO 3.5 scores used as the paired baseline
  • validation/zero_shot_paired_comparison.json โ€” McNemar statistics and verdict
  • validation/fidelity_paired_eval.json โ€” KL/top-1/PPL/ฮ”CE against the BF16 teacher
  • validation/dspark_mlxserve.json โ€” MLX-Serve throughput and acceptance

Running it

MLX-Serve

mlx-serve --model <this-checkout> --serve --no-pld \
  --mtp --mtp-min-depth 1 --mtp-max-depth 1 --warmup-full

Use server mode; one-shot CLI mode explicitly runs without the MTP head.

oMLX

ln -s <this-checkout> ~/llm-models/Inkling-2-Mini-MLX-RCO-3.5bpw
# model_settings.json: mtp_enabled=true, mtp_fixed_depth=1, ttl_seconds=3600
curl -X POST http://127.0.0.1:8000/admin/api/reload

Limitations

  • The fidelity teacher is a locally dequantized BF16 reconstruction, not an official BF16 release.
  • The DSpark head was not post-trained on this RCO trunk; acceptance and speed were measured, but head adaptation was not attempted.
  • Greedy decoding can loop on Inkling 2 Mini; sampling was used for generation smoke tests.
  • Zero-shot accuracy is reported at 400 items/task, not the full benchmark sets.

Attribution

Downloads last month
846
Safetensors
Model size
26B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for hermitdave/Inkling-2-Mini-MLX-RCO-3.5bpw

Quantized
(427)
this model