Inkling 2 Mini Uncensored MLX + Pi LoRA
Want 2.5× faster local coding (56–70 tok/s on M2 Max, 128K context, live thinking toggle)? Try our companion Native Metal + Q8 DFlash 2 build at
kaisers/Inkling-2-Mini-Uncensored-Pi-Metal(auto-configured for M1–M5 Macs viaprofiles/pi-native/start-nano.sh). Stay on this repo if you prefer oMLX with the unmerged modulars034LoRA inomlx/.
A full Inkling 2 Mini checkpoint for local MLX inference on Apple Silicon. The download includes the uncensored weight edit and s034, a LoRA tuned for token-efficient coding in Pi. The command below loads both from the same snapshot.
| Component | What ships |
|---|---|
| Uncensored MLX model | Hybrid 4-bit / 8-bit / BF16 weights (48.5% of parameters at 8-bit or full precision; 67.6% of weight bytes) with AtomicChat’s uncensored LoRA merged into the model. |
| Pi tuning | The s034 oMLX adapter in omlx/, loaded by the launcher. |
| Download | About 23.7 GB on disk, plus space for the runtime and its cache. |
Precision breakdown
This snapshot is a hybrid 4-bit / 8-bit / BF16 build (26.39B parameters, 23.55 GB of weights), not a uniform 4-bit quant:
| Precision | Parameters | Weight size | Layers |
|---|---|---|---|
4-bit (nvfp4) | 51.5% (13.59B) | 32.5% (7.64 GB) | Routed experts.w13 (layers 0–19) |
8-bit (affine) | 30.9% (8.15B) | 39.0% (9.17 GB) | Routed experts.w2 (all 24 layers, merged uncensored edit) |
8-bit (mxfp8) | 10.3% (2.72B) | 11.9% (2.80 GB) | Routed experts.w13 (layers 20–23) |
Unquantized (BF16 / F32) | 7.3% (1.93B) | 16.7% (3.92 GB) | Attention, embeddings, lm_head, vision, norms/routers |
Attention, embeddings, lm_head, and vision stay in full BF16, while the merged uncensored experts.w2 weights are stored as 8-bit affine instead of being re-quantized to 4-bit — preserving quality where 4-bit hurts most, while keeping s034 modular in omlx/.
What to expect on Apple Silicon (M2 Max 64 GiB)
| Metric | Observed result |
|---|---|
| Warm first-token latency (oMLX prefix cache) | 0.63–0.91 s on multi-turn cache hits (11.12 s → 0.65 s median on 4.8K-token repeats; 7.5 s cold first turn) |
Coding efficiency (s034 on original base) | 47.1% SWE pass rate across 103 held-out tasks with 16.5% fewer output tokens per trial |
Live decode speed (this hybrid build + s034 LoRA) | ~25 tok/s steady warm decode (24.6–25.3 tok/s on an actively used M2 Max 400 GB/s; 37.8–40.6 tok/s on 4-bit oQ4e; 56–70 tok/s in the companion Native Metal build) |
Run locally with Pi
The setup uses macOS 15 or later on Apple Silicon, Node.js 22.19 or later, uv and the Hugging Face hf CLI.
git clone https://github.com/Yxonyx/inkling-2-mini-uncensored-pi.git
cd inkling-2-mini-uncensored-pi
uv venv --python 3.12 .venv-omlx
uv pip sync --python .venv-omlx/bin/python results/m2-max/omlx-requirements.txt
npm ci --ignore-scripts
MODEL=$(hf download kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX --quiet)
TINTA_MEMORY_GUARD=balanced TINTA_LORA_DIR="$MODEL/omlx" \
sh profiles/pi-native/start.sh "$MODEL"
Pi is the recommended coding environment because s034 was trained and evaluated with its tool format. oMLX keeps inference local and reuses matching prompt context across turns. The launcher shuts down the services it started when Pi exits.
For current information and answers that need sources, start Docker with Compose and add --search to the launch command. The extension gives Pi ranked links and short page excerpts through SearXNG. Web search guide
Can I run this on an M1, M2, M3, M4 or M5 Mac?
MLX runs on Apple Silicon. This full hybrid snapshot occupies 23.7 GB on disk and uses roughly 23–27 GB of unified memory in oMLX with active context, so it is recommended for 48–64+ GiB Apple Silicon Macs (tested on an M2 Max with 64 GiB using Pi 1.6.0 and oMLX 0.8.2).
If you are on a 24–32 GiB Mac, use the standalone kaisers/Inkling-2-Mini-Pi-Tuned-LoRA on the smaller 16.9 GB 4-bit oQ4e base instead. Apple MLX
Evaluation
The combined uncensored model and s034 adapter loaded and ran across multi-turn Pi sessions on M2 Max (64 GiB). In a separate paired SWE comparison on the original base, s034 matched the 47.1% pass rate across 103 held-out tasks and used 16.5% fewer output tokens per trial. Training and evaluation
This is an experimental community release. Reduced refusal makes it especially important to review commands and tool actions before execution.
Credits and license
The base model is Thinking Machines Lab’s Inkling 2 Mini. The uncensored edit is from AtomicChat’s LoRA. The Pi fine-tune and MLX packaging are from this community project. Distributed under Apache 2.0. See NOTICE for the weight changes.