Instructions to use barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit") config = load_config("barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit"
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": "barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit 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 "barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit"
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 barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit"
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 "barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit" \ --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-Uncensored-MTPLX-3bit
MTPLX 3-bit pack of OpenUncensored/Inkling-2-Mini-Uncensored โ the abliterated (refusal-removed) build of Inkling 2 Mini โ with the model's own DSpark draft head included, for speculative decoding on Apple Silicon via MTPLX 2.13 or later.
Sibling: barozp/Inkling-2-Mini-Uncensored-MLX-3bit โ the same quantized weights for plain mlx-lm (no draft head).
The quantized weights are the GPTQ codes of the MLX-3bit release carried over bit for bit โ no dequantize-requantize step between the two repos. The one difference: the 32 attention-sink and short-conv weight projections, 8-bit in the MLX release, come straight from the source in BF16 here.
Abliterated / uncensored. This model has had refusal behavior removed by its authors. It will comply with requests the original Inkling 2 Mini would refuse. Use responsibly and in accordance with your local laws and the model's license. No additional content filtering is applied beyond what is in the checkpoint.
Why this release exists
The uncensored checkpoint ships the same DSpark drafter as the official release (mtp.safetensors, byte-identical). DSpark proposes up to seven tokens that the full model checks in one pass, so the output keeps the model's own distribution.
This pack puts the draft head next to our mixed 3-bit trunk: 15.24 GB on disk, attention kept at 8 bits, sized for 24 GB unified-memory Macs.
Speed on Apple Silicon
Apple M5 Pro, 24 GB unified memory, macOS 27.2.1, other apps closed; MTPLX 2.13.0 with its default serve profile and 512-token prefill chunks, greedy decoding, DSpark depth 3, up to 256 new tokens per prompt, prompt-copy drafting off. AR is the same pack with drafting off.
| Prompt | AR tok/s | DSpark tok/s | vs AR | Tokens per verify round | Drafts accepted |
|---|---|---|---|---|---|
| Python function (code) | 25.2 | 36.2 | 1.44x | 2.56 | 156/300 |
| Why the sky is blue (explanation) | 25.6 | 36.5 | 1.43x | 2.52 | 146/288 |
| Turkish question | 25.7 | 29.1 | 1.13x | 2.01 | 128/380 |
| JavaScript tips (list) | 25.7 | 31.2 | 1.21x | 2.21 | 140/345 |
| mean | 25.5 | 33.3 | 1.30x | 2.32 | 570/1313 (43.4%) |
Peak memory 17.2 GB on these prompts and 18.1 GB with a 3,779-token prompt (prompt + 64 new tokens in 16.6 s). The pack loads in under a minute.
Against the Uncensored-MLX-3bit sibling in mlx-lm on the same Mac (38.3 tok/s on the same prompts, prefill 957 tok/s): MTPLX's one-token path is slower on this 3-bit pack (25.5 tok/s), and on the abliterated trunk DSpark does not close the gap. On a Mac the MLX-3bit sibling is the faster choice; this pack is for setups already built on MTPLX.
24 GB Macs: serve with --prefill-chunk-tokens 512. If you call MTPLX's runtime from Python without the serve profile, the whole prompt is prefilled in one pass: a 3,779-token prompt then peaked at 24.5 GB and swapped.
Draft head acceptance on CUDA
Measured before the Mac run through MTPLX 2.13's portable MLX path on a CUDA GPU (Google Colab A100 80GB): greedy decoding, depth 3, 200 new tokens per prompt, prompt-copy drafting off. Depth 0 is plain AR on the same path.
| Prompt | AR tok/s | D3 tok/s | vs AR | Tokens per verify round | Drafts accepted |
|---|---|---|---|---|---|
| Python function (code) | 3.81 | 5.59 | 1.47x | 2.63 | 124/227 |
| Why the sky is blue (explanation) | 3.78 | 5.67 | 1.50x | 2.44 | 118/244 |
| Turkish question | 3.29 | 4.77 | 1.45x | 2.12 | 105/279 |
| JavaScript tips (list) | 3.64 | 4.71 | 1.29x | 2.10 | 104/284 |
| mean | 3.63 | 5.19 | 1.43x | 2.32 | 451/1034 (43.6%) |
The drafter was trained against the original model; on the abliterated trunk it accepts fewer drafts than in the official pack (2.48 tokens per round on CUDA, 2.52 on the Mac) โ still over two tokens per verify pass.
The portable path runs without MTPLX's Metal kernels, so the CUDA tok/s say nothing about a Mac; tokens per verify round carried over exactly (2.32 on CUDA, 2.32 on the M5 Pro).
Quality benchmarks
Measured on the MLX-3bit sibling, which carries the same quantized codes. lm-evaluation-harness 0.4.13 task definitions, 0-shot, loglikelihood (multiple-choice), chat template OFF; same questions for every model, so the delta column is the meaningful signal. Speculative decoding does not change the output distribution, so the draft head has no effect on these numbers.
| Task | Metric | Source (20 GB) | this trunk | Delta | ยฑ stderr |
|---|---|---|---|---|---|
| mmlu (2,847 q) | acc | 0.7856 | 0.7891 | +0.0035 | 0.0073 |
| arc_challenge (1,172 q) | acc_norm | 0.6911 | 0.6954 | +0.0043 | 0.0134 |
| winogrande (1,267 q) | acc | 0.7127 | 0.7103 | -0.0024 | 0.0127 |
| hellaswag (1,000 q) | acc_norm | 0.6480 | 0.6420 | -0.0060 | 0.0152 |
| average | 0.7094 | 0.7092 | -0.0002 |
Fidelity vs the source (teacher forcing, mlx-lm): KL divergence 0.0130 on raw text and 0.0686 on chat-template conversations, top-1 agreement 96.19% / 91.37%, needle retrieval 3/3 at 7,931 and 31,543 tokens.
Available Inkling 2 Mini Uncensored builds
| Repo | Format | Size (on disk) | Use case |
|---|---|---|---|
| this repo | MTPLX pack + DSpark | 15.24 GB | speculative decoding, 24 GB Macs |
| barozp/Inkling-2-Mini-Uncensored-MLX-3bit | MLX (mlx-lm PR #2086) | 14.65 GB | plain mlx-lm, no draft |
Which one to pick:
- Fastest on a Mac, mlx-lm / your own MLX code โ Uncensored-MLX-3bit (38.3 tok/s, prefill 957 tok/s)
- Already on MTPLX โ this repo (33.3 tok/s with DSpark, ~2.3 tokens per verify round)
- Want the original (non-abliterated) model โ Inkling-2-Mini-MTPLX-3bit
Pack contents
| Part | Format |
|---|---|
| Expert gate/up projections, layers 0-5 and 18-23 | 3-bit, group 64, GPTQ act-order |
| Expert gate/up projections, loop core 6-17 | 4-bit, group 128, GPTQ act-order |
| Expert down projections, layers 0-19 | original NVFP4, byte for byte |
| Expert down projections, layers 20-23 | 4-bit, group 64, GPTQ |
| Attention projections (q, k, v, r, gate, o) | 8-bit, group 64 |
| Attention sink and short-conv weight projections | source BF16 |
| Token embedding / output head | 5-bit / 6-bit, group 64 |
| Vision tower (422 tensors), routers, loop controllers, norms | source precision |
mtp.safetensors โ DSpark draft head, 54 tensors |
BF16, byte-identical to the source |
Conversion notes
- Source:
OpenUncensored/Inkling-2-Mini-Uncensored@4e5f06d72b5a; trunk codes from barozp/Inkling-2-Mini-Uncensored-MLX-3bit - Layout: MTPLX 2.13 Inkling pack โ original checkpoint tensor names, MLX affine codes with
<key>.mtplx_scales/<key>.mtplx_biases, per-matrix bits inconfig.jsonโmtplx_inkling_precision(174 matrices);hf_quant_config.jsonfrom the source sets the experts' trained activation formats - Draft head:
mtp.safetensorscopied unchanged, sha2567c3b6513โฆa1d2(identical to the official drafter) - Output: 3 safetensors shards (14.58 GB) +
mtp.safetensors(0.64 GB) + tokenizer, chat template, processor config,mtplx-pack.json - Verified: loads with MTPLX 2.13's Inkling loader with drafting on; generation, short answer checks and acceptance checked on an Apple M5 Pro and on CUDA (tables above)
- Kernels: the 3-bit affine experts run on MLX's quantized gather kernels; MTPLX's fused expert kernels target the native NVFP4/MXFP8 layout
- Built: 22 November 2026, Google Colab A100 80GB
Vision
The full vision tower is inside the pack (422 BF16 tensors), and MTPLX 2.13 reads images for Inkling 2 Mini. Image input was not part of the tests above.
MTPLX usage
Keep the pack in a folder of its own name:
# install (2.13 or later)
pip install -U mtplx
# download the pack
hf download barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit \
--local-dir ~/.mtplx/models/barozp-Inkling-2-Mini-Uncensored-MTPLX-3bit
# OpenAI-compatible local server (depth is chosen automatically each round)
# --prefill-chunk-tokens 512 keeps long prompts inside a 24 GB Mac's memory
mtplx serve --model ~/.mtplx/models/barozp-Inkling-2-Mini-Uncensored-MTPLX-3bit \
--prefill-chunk-tokens 512
# then: curl http://localhost:<port>/v1/chat/completions ...
# plain one-token-at-a-time baseline
mtplx serve --model ~/.mtplx/models/barozp-Inkling-2-Mini-Uncensored-MTPLX-3bit --no-mtp
About the source model
- Base: thinkingmachines/Inkling-2-Mini โ 26.4B total / 3.4B active MoE, 128 experts top-8, 24 layers with a 12-layer loop (6-17) run three times per token, native image input, Apache 2.0
- Post-training: abliteration (refusal removal) by OpenUncensored, shipped in the official NVFP4/MXFP8 format with the original DSpark drafter
- License: Apache 2.0 (inherited)
Source chain
thinkingmachines/Inkling-2-Mini (official release) โ OpenUncensored/Inkling-2-Mini-Uncensored (abliterated) โ barozp/Inkling-2-Mini-Uncensored-MLX-3bit (MLX mixed 3-bit, GPTQ) โ this repo (MTPLX pack + DSpark draft head)
Related repos:
- barozp/Inkling-2-Mini-Uncensored-MLX-3bit โ same weights, plain MLX
- barozp/Inkling-2-Mini-MTPLX-3bit โ official, MTPLX + DSpark
- barozp/Inkling-2-Mini-MLX-3bit โ official, MLX 3-bit
- Downloads last month
- 283
3-bit
Model tree for barozp/Inkling-2-Mini-Uncensored-MTPLX-3bit
Base model
thinkingmachines/Inkling-2-Mini