Fast local build of rohit267/Qwen3.8-9B-heretic-uncensored for Apple Silicon, tuned for native-MTP speculative decoding with MTPLX.
Measured 21.25 -> 40.05 decode tok/s (+88%) on an M5 24GB MacBook, lossless (exact speculative verify - the emitted tokens match the target model's own decoding).
| File | What it is |
|---|---|
model.safetensors (+ index) |
4-bit affine MLX trunk, group size 64 (4.5 bpw, ~5.0 GB) |
mtp.safetensors |
Native MTP head sidecar (Qwen3.5-9B lineage) |
mtp-adapter-r64.npz |
Trained C4 LoRA MTP adapter (rank 64) that lifts draft acceptance on this fine-tune |
mtplx_runtime.json |
MTPLX runtime contract (depth, hidden variant, sampler) |
The adapter is merged at load time; it is not baked into mtp.safetensors, so the
base sidecar stays reusable.
mlx_lm.convert --q-bits 4 --q-group-size 64.Full lever study (every quantization / depth / adapter-rank / verify-core tested): see the autoresearch repo linked below.
Requires macOS 14+, Apple Silicon, and MTPLX (brew install youssofal/mtplx/mtplx).
mtplx serve \
--model . \
--model-id qwen-heretic \
--mtp --depth 2 \
--profile sustained \
--verify-strategy capture_commit \
--verify-core linear-gdn-from-conv-tape \
--mtp-adapter mtp-adapter-r64.npz --merge-mtp-adapter \
--host 127.0.0.1 --port 8080
Serves OpenAI /v1/chat/completions and Anthropic /v1/messages (Claude Code / OMP compatible).
<think> block; budget tokens accordingly.Apache-2.0, inherited from the Qwen3.5-9B base.