Run this model with HF Jobs

Run kiteteam/Inkling-2-Mini-q2a6-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/kiteteam/Inkling-2-Mini-q2a6-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/kiteteam/Inkling-2-Mini-q2a6-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/kiteteam/Inkling-2-Mini-q2a6-MLX. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Inkling 2 Mini, q2a6 (MLX)

Superseded on 16 GB Macs: Kite now uses kiteteam/Swift-Inkling-2-Mini-q2ia6-MLX (9.18 GB, MLX + GGML IQ2_XXS/Q2_0), which fits 64K context with 4-bit DFlash 2 speculative drafting inside a 16 GB Mac's GPU budget while improving fidelity (0.0710 vs 0.1229 KLD), writing (67.5% / 82.2 vs 45.6% / 75.6), and overall local-quality (81.7 vs 80.2). This build remains published for older Kite releases and standard mlx-lm loaders without GGML expert kernels.

A loop-aware mixed-precision 2/3/6-bit MLX build of Thinking Machines' Inkling 2 Mini (26.4B-parameter looped mixture of experts, 3.4B active) sized for Apple silicon Macs with 16 GB of unified memory. Built from the MLX BF16 dense conversion (pipenetwork/Inkling-2-Mini-MLX-bf16), it uses standard MLX affine quantization (group_size=64 throughout, requiring no custom runtime kernels): all attention and short-convolution projections stay at 6-bit, the 3-visit looped core's down_proj experts (layers 6–17) stay at 3-bit, the remaining routed experts compress to 2-bit via loop-aware multi-domain Hessian-GPTQ + Hessian-weighted coordinate descent + KL healing, lm_head stays at 4-bit, embed_tokens at 3-bit, and the vision tower's linear projections at 8-bit.

That cuts weight size by 9.96 GB vs. BF16 (9.63 GB vs. 19.59 GB; 9.26 GB text-only), fits a full 64K-token chat within a 16 GB Mac's 11.63 GB GPU budget (11.6 GB peak, 10.74 GB steady, 6/6 recall), scores 69.0% on Kite's 181-case agent evaluation (0 errors), and passes Kite's browser-steps gate (74.9% right, 3 irreversible picks; 27/27 on fixture+sites).

This is the build Kite runs locally on 16 GB Macs. For 24 GB+ Macs, see kiteteam/Inkling-2-Mini-q3a6-MLX.

What's in it

Part Base MLX (pipenetwork/Inkling-2-Mini-MLX-bf16) q2a6
Routed experts, looped core down_proj (layers 6–17, 3 visits/token) NVFP4, per-expert global scale affine 3-bit, group size 64
Routed experts, looped core gate_up_proj (layers 6–17) & outer layers (0–5, 18–23) NVFP4 / MXFP8 affine 2-bit, group size 64
Attention projections (q/k/v/r/o/gate/sink) & short-conv (_sconv.weight_proj) bfloat16 affine 6-bit, group size 64
Embedding (embed_tokens) bfloat16 affine 3-bit, group size 64
Output head (lm_head) bfloat16 affine 4-bit, group size 64
Router & loop message gates float32 / unquantized unchanged
Vision tower (linear projections) bfloat16 affine 8-bit, group size 64
Weights 19.59 GB 9.63 GB (−9.96 GB; 9.26 GB text-only)

Built from pipenetwork/Inkling-2-Mini-MLX-bf16 at revision 795acb02dcc72fc3714eb723e2bb4dff76a7a94e, preserving the tokenizer and chat template.

How it was made

Inkling 2 Mini loops its 12 core layers (6–17) three times per token while running the 12 outer layers (0–5 and 18–23) once. Keeping all attention and short-convolution projections at 6-bit/g64 and the 3-visit core's down_proj experts at 3-bit/g64 preserves routing and residual stability under aggressive 2-bit compression. Expert weights are quantized with 48-visit multi-domain Hessian-GPTQ (damp=0.025), refined with 2-sweep exact Hessian-weighted coordinate descent (alternating BF16-rounded (scale, bias) refit and block-wise integer code updates) plus core-only (layers 6–17) per-expert routing-weighted down_proj Hessians with packed 2-bit gate_up_proj active, followed by 2-epoch multi-domain KL healing over shared norms, gates, and quantization scales/biases. embed_tokens (3-bit) and lm_head (4-bit) use MSE-optimal Alternating Least Squares, and the vision tower's linear projections are quantized to 8-bit/g64. config.json records every per-layer override in its quantization block so standard MLX loaders handle the mixed precisions directly.

Evaluation

Metric Base MLX (BF16 dense) q2a6
Weights on disk 19.59 GB 9.63 GB (−9.96 GB; 9.26 GB text-only)
511-row held-out KLD vs. base MLX (lower is better) 0 0.1229 (0.0998 first 64 rows)
Top-1 agreement with base MLX (higher is better) 100% 87.5%
4K decode speed (M4 Pro 20-core) 36.9 tok/s (548 tok/s prefill) 55.8 tok/s (1.51×; 559 tok/s prefill)
Long-context memory & recall (4-bit KV, M4 Pro) 24.05 GB peak / 22.44 GB steady at 96K (6/6 recalled, 28.9 tok/s) 11.6 GB peak / 10.74 GB steady at 64K (16 GB budget, 6/6 recalled, 18.4 tok/s)
Kite broad agent set (local-quality, 181 cases, 295 runs) 69.0% pass / 83.2 score (0 err/to) 69.0% pass / 80.2 score (0 err/to, 0 harm)
Kite tool-heavy slice (90 cases, 132 runs) 77.2% pass / 89.1 score 79.4% pass / 86.5 score
Kite writing slice (8 cases, 32 runs) 55.0% pass / 76.4 score 45.6% pass / 75.6 score
Browser-steps gate (crawl test_family, 407 steps) 75.7% right (5 irrev, 802 / 1,468 ms; 26/27 fixture+sites) 74.9% right (3 irrev, 823 / 1,516 ms; 27/27 fixture+sites)
  • Kite's agent sets cover multi-step tool use (files, scheduling, messages, history, persistence, coding, writing, documents, chains, mail, assistant, safety), scored by model judges at temperature 1, effort low. Both Base MLX (BF16 dense) and q2a6 were evaluated apples-to-apples on Kite's current harness (script: true, reasoningBudgets: { low: 1024, minimal: 512 }, 4-bit KV) on Apple M4 Pro (20-core GPU).

Use

Inkling 2 Mini needs mlx-lm with ml-explore/mlx-lm#2086, the pull request that adds the architecture:

pip install "git+https://github.com/ml-explore/mlx-lm@refs/pull/2086/head"
mlx_lm.generate --model kiteteam/Inkling-2-Mini-q2a6-MLX --prompt "Hello"
  • Sampling: the vendor's, temperature 1 with nothing truncated (generation_config.json).
  • Reasoning effort: we run it at low for agent work. high, the template's default, scored no better on our agent tests and ran much slower.
  • Memory: plan on 11.6 GB peak (10.7 GB steady) for a 64K-token chat with a 4-bit KV cache on a 16 GB Mac. That includes the 0.37 GB 8-bit vision tower only when it is loaded.
  • Input: text and images. No draft model is included.

Licence and attribution

Apache-2.0, as the original. Inkling 2 Mini is by Thinking Machines; this build derives from pipenetwork's BF16 dense MLX conversion. See the original model card for the model's training, intended use and limitations.

Downloads last month
144
Safetensors
Model size
11B params
Tensor type
U32
·
BF16
·
F32
·
MLX
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for kiteteam/Inkling-2-Mini-q2a6-MLX

Quantized
(3)
this model