🍎 Run it on your Mac with MLXL3, a free, open-source app for EXL3 models on Apple Silicon (Rust, MLX and Metal) with chat, an agent and an OpenAI-compatible server. If it helps you, a ⭐ on GitHub is appreciated.
📥 Open in MLXL3 Desktop: opens this model in the app's Models tab, where you check its size and click Download. Needs MLXL3 Desktop newer than 2.4.1.
EXL3 quantization of thinkingmachines/Inkling-2-Mini
(revision ed40e7da625f594fc9c4990f5f66be24873c22d7) for MLXL3, packaged for
Apple silicon. The routed experts were requantized to EXL3 MCG trellis codes: 3 bits for the gate and up projections
and 4 bits for the down projection of every expert in all 24 layers, 3.33 bits per weight on average over the expert
projections (not a whole-checkpoint bitrate).
This revision is the slim packaging of that quantization (R3) with its vision encoder restored: 13.10 GB of language-model weights instead of 14.75 GB, plus 0.64 GB for the vision encoder in a file of its own. Only the 8-bit embedding table changes the outputs, by an amount within the measurement noise (see below).
model-vision.safetensors: the 422 BF16 tensors model.visual.*
(636,512,256 bytes of data), byte for byte those of revision 0a4558409fc77d6491979505c0668e7469f7b3f7. The four
language-model shards and the drafter are the same files as the previous revision
dde31cd0aea4ca0f61eaa5649559ef01e5baf25a, so an existing download only adds this file.
Image input works in MLXL3 engine 2.0.29 or later (Desktop 2.0.21); older engines read text only and leave these
tensors unused.mtp.safetensors) stores its projections in MLX affine 8 bits, the precision MLXL3 runs
them at by default. It also stores the fold of its Markov head, precomputed in FP32 from the BF16 head and rounded to
FP16, because that fold cannot be recomputed from the 8-bit head.Weights: 12,608,348,568 bytes for the language model, 636,563,512 bytes for the vision encoder and 493,122,668 bytes for the drafter.
hf download 0xzknw/Inkling-2-Mini-EXL3-3.33bpw --local-dir ./Inkling-2-Mini-EXL3-3.33bpw
This revision needs MLXL3 engine 2.0.23 or later, and 2.0.29 or later for image input. Older engines stop at
load ("expected floating-point weights"). Its language model and drafter are the files of revision
dde31cd0aea4ca0f61eaa5649559ef01e5baf25a.
| Engine | Use the revision |
|---|---|
| 2.0.29 or later (Desktop 2.0.21) | this one: text and images |
| 2.0.23 to 2.0.28 (Desktop 2.0.14 to 2.0.20) | this one (text only), or any revision below |
| 2.0.23 or later (Desktop 2.0.14) | dde31cd0aea4ca0f61eaa5649559ef01e5baf25a: the same files without the vision encoder |
| 2.0.22 (Desktop 2.0.13) | a5763a01f6e34c84bdf1a5812c890ff3978d5d75: same packaging with a BF16 embedding table, outputs identical to R3 |
| 2.0.21 (Desktop 2.0.12) | 0a4558409fc77d6491979505c0668e7469f7b3f7: R3 with BF16 head, drafter and embeddings, vision encoder included |
| 2.0.20 (Desktop 2.0.11) | d1248f8abc322dbaf82cd571f6e7eaca9f7d6dee: the earlier R2 quantization |
Each Desktop version pins its revision and keeps working.
hf download 0xzknw/Inkling-2-Mini-EXL3-3.33bpw --revision a5763a01f6e34c84bdf1a5812c890ff3978d5d75
Text generation, image input (engine 2.0.29 or later) and the DSpark drafter are supported in MLXL3. These files are not a stock ExLlamaV3 checkpoint: the head and drafter use MLX's affine layout.
Measured in MLXL3 on an Apple M5 against an exact local reference of the source model (experts dequantized exactly, BF16 head), on 12 held-out rows (6,144 positions; the same rows as the H100 evaluation, every 4th position). The first column is R3 (BF16 embeddings), the second the same model with 8-bit embeddings. Paired differences, with 95% bootstrap intervals:
| Rows | Positions | KL, BF16 embeddings | KL, 8-bit embeddings | Difference [95% CI] |
|---|---|---|---|---|
| Prose (English, French, code) | 4,608 | 0.01374 | 0.01393 | +0.00019 [-0.00023, +0.00063] |
| English | 1,536 | 0.01029 | 0.01017 | -0.00012 [-0.00050, +0.00020] |
| French | 1,536 | 0.01945 | 0.01994 | +0.00049 [-0.00023, +0.00126] |
| Code | 1,536 | 0.01147 | 0.01166 | +0.00019 [-0.00077, +0.00114] |
| Agentic chat transcript | 1,536 | 0.0996 | 0.1014 | +0.0018 [-0.01535, +0.01866] |
| All | 6,144 | 0.0352 | 0.0358 | +0.0006 [-0.00381, +0.00500] |
Top-1 agreement: 94.68% and 94.76% overall, 95.07% and 95.31% on prose. No difference is significant; the acceptance criterion fixed before the measurement (prose difference at most +0.0007 nats, upper bound at most +0.0014) was met.
Checked in MLXL3 on an Apple M5, default settings (8-bit head, 8-bit drafter projections), on revision
dde31cd0aea4ca0f61eaa5649559ef01e5baf25a, whose language-model and drafter files this revision keeps unchanged:
a5763a01f6e34c84bdf1a5812c890ff3978d5d75 with its embedding table rounded to
8 bits at load (MLXL3_INKLING_EMBED_BITS=8, the setting measured above): fingerprint of all logits over 128 greedy
decoding steps, a DSpark block's drafter states and proposals, DSpark generation at widths 2 and 3, and the KL on
two held-out rows;a5763a01f6e34c84bdf1a5812c890ff3978d5d75 gives the same results bit for bit as R3 (0a4558409fc77d6491979505c0668e7469f7b3f7);slim_report.json lists every
copied, removed and replaced tensor and the hash of every file.The encoder described by vision_config in config.json: a 23-layer vision transformer (width 1024, 16 heads,
MLP ratio 4, 32 × 32 learned position grid) on 20-pixel patches, merged 2 × 2 and projected (hidden size 4096, no bias)
to one 2304-wide language-model token. processor_config.json describes the input: one image token
(<|unused_200054|>) per 40 × 40-pixel tile, pixels scaled to [-1, 1].
Restoring it changes no other tensor. Checked statically, without loading the model:
model-vision.safetensors have the dtype, shape and bytes of revision
0a4558409fc77d6491979505c0668e7469f7b3f7 (model-00001-of-00004.safetensors, SHA-256
6ecfe49df1cd3e3fce123a00627185839559f4b8998810f31e95d0579efe17ab); vision_report.json lists the SHA-256 of
every tensor's content;model.safetensors.index.json maps them to model-vision.safetensors and leaves every other entry unchanged;
quantization_config.json gets back the 235 model.visual.* storage entries of that revision, every other entry
unchanged; config.json only changes its mlxl3_slim note;Checked in MLXL3 engine 2.0.29 on an Apple M5 against Hugging Face Transformers 5.24.0.dev0 (Inkling2ImageProcessor,
Inkling2VisionModel with these tensors, on the CPU), on a 210 x 130 test picture (24 image tokens):
MLXL3 reads a picture at its native resolution, one image token per 40 x 40 pixels, up to 1920 x 1080 by default
(MLXL3_INKLING_IMAGE_MAX_PIXELS); a larger picture is scaled down, keeping its aspect ratio.
KL(reference ‖ quantized), nats/token, on held-out rows of 2,048 tokens that share no 64-token span with the calibration data. Reference: the source model with its experts dequantized exactly, run in BF16 with Hugging Face Transformers on an H100. Quantized: the decoded EXL3 weights in the same pipeline. Top-1 is argmax agreement.
| Held-out set | KL, R1 3.0 bpw | KL, R2 (previous version) | KL, this version | Top-1, R2 | Top-1, this version |
|---|---|---|---|---|---|
| All (24,564 positions) | 0.0381 | 0.0336 | 0.0280 | 94.22% | 94.66% |
| English prose | 0.0150 | 0.0117 | 0.0106 | 94.77% | 95.41% |
| French prose | 0.0284 | 0.0247 | 0.0202 | 91.97% | 92.56% |
| Rust code | 0.0138 | 0.0133 | 0.0125 | 97.23% | 97.15% |
| Agentic chat transcript | 0.0954 | 0.0845 | 0.0689 | 92.88% | 93.52% |
All three conversions use the same source, versions, calibration and evaluation, so the columns are directly comparable. This version has exactly the same size as the previous one (R2) and lowers the mean KL by 17% overall and in every domain.
The chat transcript mixes text the model writes with prompt text it never generates (system prompt, JSON tool schemas, tool outputs). On the 1,649 positions whose next token the model writes, this version has KL 0.0126 and top-1 96.79%; on the 4,492 positions of prompt text, KL 0.0895.
MLXL3 engine check on this checkpoint (Apple M5, MLX 0.32.2, FP16 Metal against the CUDA BF16 oracle of the same quantized weights): on a 1,200-token row (sliding window crossed, last 64 positions) the median relative RMSE of centered logits is 2.1% (maximum 7.2%), argmax agreement 96.9%, and KL(oracle || engine) 0.0009 nats/token; on two short chat prompts (26 and 33 tokens) argmax agreement is 96-100%. Against an independent exact reference of the source model run locally in the same engine (9 held-out prose rows, 4,608 positions), this version has KL 0.0137 and top-1 95.07%, against 0.0156 and 94.60% for the previous version. With engine 2.0.21 on an Apple M5 (24 GB, AC power), greedy decoding with the DSpark drafter runs at about 25-31 tokens/s on short answers (plain decoding: about 19.6), and sampled long-form text at about 17-18 tokens/s, close to plain decoding (about 18.4); single runs. No bit-exact parity with the CUDA oracle is expected or claimed.
quantize_exl3_batch), codebook MCG, scaled Hessian, refit, automatic
output scales from the real activation slopes, sigma regularization 0.025.quantization_report.json (per-module recipe, statistics and file hashes) and quantization_config.json (tensor
layout read by MLXL3) are included.
Slim packaging, done after quantization:
model-vision.safetensors);quantization_report.json describes the EXL3 conversion; its file hashes are those of revision 0a4558409fc77d6491979505c0668e7469f7b3f7.
| File | Bytes | SHA-256 |
|---|---|---|
model-00001-of-00004.safetensors |
2,787,052,300 | b1ca6d03f5ba821fad16bea104f282743d5899fb43527228cba3da31854ef0d6 |
model-00002-of-00004.safetensors |
4,296,105,484 | 58acbcbac2d7aa5fb821589a3b4e346432dd8ed254fa17801b9000147c08f3d6 |
model-00003-of-00004.safetensors |
4,296,119,260 | 3ecde06961828acdc78db09ecca64b35d6e39771a219df966d67157390bfa0b3 |
model-00004-of-00004.safetensors |
1,229,071,524 | 4c6216189d62a554469a0d0199796d8ba9c460085312a069bdf368f714c02072 |
model-vision.safetensors |
636,563,512 | 2d1341e9933ac4821c9b1665892f8f7bf55acde532e5704dc5dd0f5f804e9027 |
mtp.safetensors |
493,122,668 | 4e4254a98dca313ac718b8c9ce6554a92c20fbd98abda6d7e40d1a259cb108d8 |
Apache 2.0, as the source model; see NOTICE for the modifications. The Thinking Machines Lab model acceptable use policy applies to the source model.
model-00003-of-00004.safetensors 4.0 GiBmodel-00002-of-00004.safetensors 4.0 GiBmodel-00001-of-00004.safetensors 2.6 GiBmodel-00004-of-00004.safetensors 1.1 GiBmodel-vision.safetensors 607 MiB