Instructions to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Inkling-2-Mini-Unbound-Fast-AntiOverthink · MLX 4-bit
This is an MLX conversion of thiagovelsa/Inkling-2-Mini-Unbound-Fast-AntiOverthink-GGUF (IQ4_NL file), for Apple Silicon. It's in the runtime layout oMLX uses for Inkling 2, and Splash ≥ 1.7.3 also loads it.
It keeps all three parts of the source finetune:
- the Lucebox Fast weights, which give shorter reasoning;
- the Unbound v2.1 merge, which removes refusals;
- the Anti-Overthinking polish on
output.weight.
Fastest setup measured on a MacBook Pro M3 Max: oMLX → Splash with the DFlash2 drafter, at 59 tok/s. That's 17 % faster than Splash on the source GGUF and about 55 % faster than oMLX's own engine.
⚠️ Uncensored model. The Unbound merge removes most refusals. You are responsible for how you use it and for any filtering your application needs.
🧪 Limited testing. One person tested this on one MacBook Pro M3 Max, with a 12-question sanity set and a short speed benchmark. Read the caveats below before relying on it.
Measured on a MacBook Pro M3 Max (40-core GPU, 128 GB unified memory, 400 GB/s)
All runs use the same prompts, greedy (temperature 0), one request at a time. "Generation" is the mean of 4 runs: 2 prompts (≈ 200-word prose and a Python function with tests), 2 runs each.
| Engine and model | Generation | 12-question set | Reasoning tokens |
|---|---|---|---|
| oMLX 0.8.4 → Splash 1.7.3, this MLX 4-bit + DFlash2 | 59.4 tok/s | 12/12 | 641 |
Splash 1.7.3, source IQ4_NL GGUF + DFlash2 |
50.7 tok/s | 12/12 | 642 |
| Splash 1.7.3, IQ4_NL-16GB GGUF + DFlash2 | 50.9 tok/s | 12/12 | 693 |
| oMLX 0.8.4 own engine, this model, DSpark MTP on | 38.2 tok/s | 12/12 | 568 |
| oMLX 0.8.4 own engine, this model, DSpark MTP off | 38.9 tok/s | 12/12 | 568 |
| oMLX 0.8.4 own engine, this model, MTP + LoopCD | 32.5 tok/s | 12/12 | 774 |
What the numbers show:
- Splash is the faster engine for this model. Through oMLX's external-engine mode you get Splash's speed with oMLX's management, cache and API.
- The DSpark drafter gives no speedup on oMLX's own engine for this finetune: 38.2 tok/s with it, 38.9 without. On Splash, the DFlash2 drafter accepts about 3.4–4.8 tokens per draft cycle.
- LoopCD (oMLX 0.8.4) was slower here and lengthened reasoning by about 35 %. Its claimed quality gains, on ARC-Challenge and HumanEval, can't be judged from a 12-question set.
- Prompt cache with pi: pi's ~9.1K-token system prompt was reused at 9,088/9,100 tokens across separate pi sessions (first token in 0.06 s instead of 14.6 s cold), through oMLX → Splash with
--persistent-cache.
Recommended settings
oMLX (recommended: Splash as the external engine)
Per-model settings, via the admin UI or PUT /admin/api/models/<id>/settings:
{
"external_engine": "splash",
"temperature": 0.6,
"top_p": 0.95,
"top_k": 0,
"max_context_window": 131072,
"mtp_enabled": false,
"loopcd_enabled": false
}
- Put incoai/Inkling-2-Mini-DFlash2 in one of oMLX's model directories. oMLX finds it and passes it to Splash as the drafter.
- oMLX starts Splash with
--persistent-cache,--idle-release offand an int8 KV cache by default. It doesn't pass--cached-states exact. max_context_window131072: a cache miss at 128K already means minutes of re-prefill. Raise it only if you need it.- If you use oMLX's own engine instead:
mtp_enabledmakes no difference for this model, so leave it off, and leaveloopcd_enabledoff unless you've checked that it helps your workload.
Sampling and reasoning
These come from the source model card:
- Sampling:
temperature 0.6,top_p 0.95. Avoid DRY sampling. - Reasoning effort:
high(the default) is a safe choice, andlowalso worked in a small test.- The test: the pi coding agent fixing a 3-bug Python project with this model, 3 runs per level.
- At
low: 3/3 fixed, 0 repeated tool calls, about half the thinking (13 s vs 18 s per task). - At
high: 3/3 fixed, 0 repeated tool calls. - Not covered: long sessions with hundreds of turns and context compaction. An earlier long session at
low, on a different setup (another file, LM Studio, default sampling), repeated tool calls. That hasn't been reproduced with these settings.
pi coding agent
"omlx": {
"api": "openai-completions",
"baseUrl": "http://127.0.0.1:8000/v1",
"apiKey": "<your oMLX API key>",
"authHeader": true,
"models": [{
"id": "Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit",
"reasoning": true, "input": ["text", "image"],
"contextWindow": 131072, "maxTokens": 32768,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"thinkingLevelMap": {"off": "none", "minimal": "minimal", "low": "low", "medium": "medium", "high": "high", "xhigh": "xhigh", "max": "max"}
}]
}
Set "defaultThinkingLevel": "high" in ~/.pi/agent/settings.json.
What's inside
| Part | Format | Source |
|---|---|---|
| Routed experts (all 24 layers) | affine 4-bit, group 64 (oMLX oQ4 style) |
requantized from the source GGUF's IQ4_NL (layers 0–19) and Q8_0 (layers 20–23) |
| Attention, LM head, embeddings | affine 8-bit, group 64 | from the source GGUF's Q8_0, which holds the Unbound LoRA and the Anti-Overthinking rows |
| Norms, convs, clips, router, loop controllers, residual queries | BF16 / FP32 | from the source GGUF's F32 tensors |
| Vision tower (23-layer ViT) | BF16 | from junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8, which takes it from OpenUncensored/Inkling-2-Mini-Uncensored. The source GGUF has no vision weights. |
config.json, tokenizer, chat template |
— | same template. Tokenizer and chat template verified identical to the source GGUF (200,058 tokens, 0 mismatches). |
mtp.safetensors |
BF16 | official Thinking Machines DSpark drafter, unchanged (sha256 7c3b6513…a10b1d2) |
Size: about 16 GB on disk.
How it was converted
Every GGUF tensor was dequantized, mapped to oMLX's layout and requantized with MLX:
- Attention: q/k/v/rel/gate/sink projections stacked into
in_proj(sliding layers) orq_proj/k_proj/v_proj(global layers). - Experts: the expert
gate_upinterleaved tow13. - Global layers: the static conv taps reversed.
- Loop tensors: the loop controllers and message queries reshaped.
Each mapping was checked by cosine similarity against an existing oMLX checkpoint of the same architecture, a different finetune of Inkling 2 Mini:
- Tensors neither finetune touches (norms, convs, clips, router, loop controllers, embeddings): ≈ 1.0000.
- Attention, which the Unbound merge changes: 0.993–0.9999.
- Experts: 0.91–0.99. They differ between the finetunes, but only the interleaved layout correlates at all.
Fidelity of this file against the dequantized source GGUF:
- Dense 8-bit tensors: cosine ≥ 0.99996.
- 4-bit experts: cosine ≥ 0.9956. That's re-rounding error on top of the source's own 4-bit quantization.
Caveats and limitations
- Limited testing. One MacBook Pro M3 Max, a 12-question sanity set (easy arithmetic, coding and factual questions) and short speed runs. That's no benchmark suite, no long-context quality tests and no multi-user load.
- Double quantization. The experts were 4-bit (
IQ4_NL) in the source and are re-rounded to affine 4-bit here, and the coda experts go fromQ8_0to 4-bit. There's no KL or perplexity measurement for this MLX file. On the sanity set it reasoned slightly less on oMLX's own engine than the GGUF did (568 vs 642 tokens). That's within noise for so small a set, but it's a reminder that outputs differ. - Vision only smoke-tested. The vision tower comes from a different uncensored variant (OpenUncensored), not from the source finetune. Splash loads it ("vision enabled"). In a single synthetic test through oMLX → Splash, the model correctly described a red-left/blue-right image. Real-world image understanding (photos, screenshots, OCR, charts) has not been evaluated.
- pi users: declare
"input": ["text", "image"]for this model, or pi refuses images. - Runtime support. This needs oMLX ≥ 0.8.4, which has the
inkling2_loopruntime and its patches, or Splash ≥ 1.7.3. Stockmlx-lm/mlx-vlmwon't load it. - Speed numbers are from one M3 Max; expect different numbers on other chips (memory bandwidth largely sets them), and with other software versions; both engines change quickly. The GGUF baseline comparisons use the same prompts and settings.
HumanEPi: all builds of this finetune, side by side
HumanEPi = HumanEval + Pi, a quick test of how a build behaves as a coding agent:
- HumanEval: a fixed 40-problem subset (oMLX 0.8.4's accuracy benchmark, deterministic sample). The generated code is executed against the tests. Greedy, reasoning effort
high, at most 8,192 tokens per problem. - pi agent task: the pi coding agent (
@earendil-works/pi-coding-agent) fixes a small Python project with 3 bugs (4 failing tests), 3 runs. A run passes when all tests pass and the tests weren't modified. Repeated identical tool calls are counted as loops.
Hardware:
- Mac: MacBook Pro M3 Max (40-core GPU, 128 GB, 400 GB/s), Splash 1.7.3 / oMLX 0.8.4, DFlash2 drafter.
- NVIDIA: RTX 5060 Ti 16 GB on PCIe 3.0 x8, llama.cpp b12776, whole model on the GPU.
| Build | Engine | Size | KL vs full precision ¹ | HumanEval (40) | pi agent | Generation ² |
|---|---|---|---|---|---|---|
| Full precision, NVFP4 + BF16 (reference) | Splash, Mac | 21 GiB | — | 37 | 3/3, 0 loops | 48.0 tok/s |
| thiagovelsa IQ4_NL | Splash, Mac | 16.4 GiB | 0.0082 | 38 | 3/3, 0 loops | 50.7 tok/s |
| IQ4_NL-16GB GGUF | Splash, Mac | 14.0 GiB | 0.0145 | 38 | 3/3, 0 loops | 50.9 tok/s |
| IQ3_M GGUF | Splash, Mac | 12.0 GiB | 0.0223 | 37 | 3/3, 0 loops | 65.2 tok/s |
| MLX 4-bit | oMLX → Splash, Mac | 16 GB | n/a | 38 | 3/3, 0 loops | 59.4 tok/s |
| MLX NVFP4 (bit-exact experts) | oMLX → Splash, Mac | 17 GB | n/a | 37 | 3/3, 0 loops | 53.7 tok/s |
| oQ4e | oMLX → Splash, Mac | 16 GB | n/a | 36 / 37 / 37 ³ | 3/3, 0 loops | 62.5 tok/s |
| IQ3_M GGUF, 64K context | llama.cpp, RTX 5060 Ti | 12.0 GiB | 0.0223 | 38 | 3/3, 0 loops | ~53–60 tok/s |
| IQ4_NL-16GB GGUF, 24K context | llama.cpp, RTX 5060 Ti | 14.0 GiB | 0.0145 | 35 | 3/3, 0 loops | 57.9 tok/s |
| For comparison: Lucebox Fast UD-Q8_K_XL, without Unbound or Anti-Overthinking | Splash, Mac | 21 GiB | n/a | 37 | 3/3, 0 loops | 55.3 tok/s |
¹ Mean KL divergence on held-out code and docs (60 × 512 tokens), against the full-precision rebuild of this finetune. Measured for GGUF files only; llama.cpp can't measure MLX files. ² Mean of 4 greedy runs (two prompts of ~400 and 700 tokens), one request at a time. ³ Three separate greedy runs: Splash's speculative verification isn't bit-deterministic.
What this means in practice
- Quality doesn't decide which build to run. Every build scored 35–38 / 40 on HumanEval. With 40 problems the noise is about ±2, so that's within noise. Every build fixed the agent task 3/3 with zero tool-call loops.
- Pick on speed, memory and context:
- Mac:
oQ4ethrough oMLX → Splash (62.5 tok/s), or the IQ3_M GGUF on Splash (65.2 tok/s, smallest). - 16 GB NVIDIA card: the IQ3_M GGUF. It fits 64K context in VRAM, against about 24K for the 16GB GGUF.
- Maximum fidelity: MLX NVFP4, whose experts are bit-identical to the release.
- Mac:
- KL is the more sensitive measure and ranks the GGUFs as you'd expect: IQ4_NL 0.008 < IQ4_NL-16GB 0.015 < IQ3_M 0.022. Even the largest of these didn't show up in HumanEval or the agent task.
- Lucebox Fast scores the same and runs about 15 % faster in Splash. The likely reason is that the DFlash2 drafter predicts the unmodified model better (an inference, not measured). But it has no Unbound, so it refuses like base Inkling 2 Mini, and it lacks Anti-Overthinking. It's only the better choice if you don't need the uncensoring.
Caveats
- Limited testing: one M3 Max, one RTX 5060 Ti, 40 HumanEval problems and one small agent task.
- Not covered: a full benchmark suite, long multi-hundred-turn sessions, refusal behaviour (the point of Unbound) and multi-user load.
- Speeds depend heavily on the chip (memory bandwidth) and on software versions. Expect different numbers elsewhere.
Lineage and credits
thinkingmachines/Inkling-2-Mini (Apache 2.0)
└─ Lucebox Fast weights + nokeepai Unbound v2.1 + Anti-Overthinking polish
= thiagovelsa/Inkling-2-Mini-Unbound-Fast-AntiOverthink-GGUF (IQ4_NL file)
└─ this MLX 4-bit conversion (oMLX runtime layout)
+ vision tower and config template from junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8
- Thinking Machines Lab: Inkling 2 Mini and the DSpark drafter.
- Lucebox, nokeepai and thiagovelsa: the finetune.
- junafinity and OpenUncensored: the vision tower and the oMLX checkpoint layout.
- oMLX (jundot) and Splash (incoai): the runtimes.
Apache 2.0.
- Downloads last month
- 195
8-bit
Model tree for fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-MLX-4bit
Base model
thinkingmachines/Inkling-2-Mini