runbare-inkling-2-mini
Thinking Machines Lab Inkling-2-Mini (26.4B total / 3.4B unique active / 48 looped passes, 128 experts top-8) packaged as a zero-copy, no-GGUF bare-Metal image for runbare (bare / bared) β engineered to run fast and reliably on 16 GB Apple Silicon Macs.
Highlights
- Zero-Copy, No-GGUF
MAP_SHAREDArena (8.944 GiB): Single 16 KB page-aligned binary packed with mixed-precisionQ4M3attention/embeddings/LM-head,Q2M3/Q3M3128-expert MoE, losslessFP16loop controllers, and bundledQ4M3DSparkMTP drafter weights β boots in~30β70 mswarm (2.6 sHTTP ready) with zero weight duplication. - Built for
16 GBApple Silicon: Runs comfortably on a base16 GBApple M4 Mac mini with zero OOM across512and2048prefill (whereoMLXOOM-crashes at512andMTPLXexceeds16 GBRAM). - Hardware
MMA+ Tiled FlashSDPA Prefill: ChunkedB β€ 128simdgroup_matrix<half, 8, 8>prefill with bank-conflict-free stride-72tiles, parallel 128-thread top-8 expert CSR binning,MMAloop controllers, andBQ=8, BKV=32tiled FlashSDPA β199.6 tok/sat512and172.6 tok/sat2048(+64%faster thanllama.cpp 1.1.0). - OpenAI-compatible: Served via
baredonhttp://127.0.0.1:8080/v1/chat/completionswith scale-to-zero auto-boot.
Benchmarks (Apple M4 Mac mini 16 GiB, Aqua GUI)
Apples-to-apples OpenAI HTTP temperature=0.0 suite (6 decode prompts + 512/2048 prefill, internal NVMe):
Engine (Inkling-2-Mini, Apple M4 16 GB) |
Disk / Memory | Startup | TTFT (short) | c1_decode (tok/s) |
prefill_512 (tok/s) |
prefill_2048 (tok/s) |
Status |
|---|---|---|---|---|---|---|---|
runbare (Q2M3 + MMA/FlashSDPA) |
8.94 GiB |
2.6 s (~30 ms boot) |
289.4 ms |
30.41 |
199.6 |
172.6 |
#1 every metric (0 OOM) |
runbare (Q2M3 + DSpark K=1) |
8.94 GiB |
2.6 s |
281.2 ms |
26.83 |
141.4 |
134.0 |
OK (0 OOM) |
oMLX 0.8.4 (oQ2.5e-mtp, Lightning MTP) |
10.77 GiB |
2.7 s |
624.2 ms |
25.02 |
OOM crash | OOM crash | OOM_PREFILL_512 |
llama.cpp 1.1.0 (UD-Q2_K_XL, plain) |
8.51 GiB |
13.8 s |
341.3 ms |
20.81 |
121.9 |
105.4 |
OK |
llama.cpp 1.1.0 (UD-Q2_K_XL + dspark-Q8_0) |
8.99 GiB |
3.6 s |
570.2 ms |
6.45 |
60.2 |
52.9 |
OK (3.2Γ slower) |
MTPLX 2.13.3 |
β₯ 16.0 GiB |
β | β | β | β | β | Exceeds 16 GB cap |
Benchmarks (NVIDIA L4 24 GiB, sm_89 Ada, 300 GB/s)
Exact same 8.944 GiB INK2M3V1 cache loaded 1-shot into VRAM (2.80 s), running runbare's native CUDA v4 engine (48-layer cudaGraph decode, FP8 e4m3 cublasLt dense prefill 242 TFLOPS, WMMA 16Γ16Γ16 Expert-Grouped MoE prefill MAX_B=512, Per-Head Q8_0 KV cache, and GQA-3 Γ Split-K4 FlashDecoding):
Mode / Engine (Inkling-2-Mini, NVIDIA L4 24 GiB, bench.py) |
Startup | Peak VRAM | TTFT (short) | c1_decode (512 tok) |
Code CLI (256 tok) |
prefill_512 (tok/s) |
prefill_2048 (tok/s) |
Status |
|---|---|---|---|---|---|---|---|---|
runbare CUDA v4 (K=0, plain B=1) |
~6 s (2.8 s load) |
9.68 GiB |
101.8 ms |
60.80 (reps 60.45β61.28) |
62.13 |
1,099.5 |
898.4 |
#1 decode, TTFT, prefill_512, startup |
runbare CUDA v4 (DSpark K=2) |
~6 s |
9.90 GiB |
111.7 ms |
47.76 (code rep: 59.99) |
64.73 (tau=2.52, 77.2%) |
776.1 |
676.8 |
OK (0 OOM) |
llama.cpp b12931 CUDA 12.8 (UD-Q2_K_XL, -fa on) |
32 s |
9.09 GiB |
186.4 ms |
51.73 |
β | 880.1 |
1,000.1 |
OK |
Quickstart
# 1. Install runbare (Apple Silicon, Linux amd64, Linux arm64)
curl -fsSL https://raw.githubusercontent.com/tlpinney/runbare/main/site/install.sh | sh
# 2. Install & start the background daemon
bare service install
# 3. Pull & run this model (OpenAI-compatible proxy on http://127.0.0.1:8080)
bare pull hf://tlpinney/runbare-inkling-2-mini
bare run hf://tlpinney/runbare-inkling-2-mini
Attribution & Licenses
- Base model:
thinkingmachines/Inkling-2-Mini(Apache 2.0)
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support
Model tree for tlpinney/runbare-inkling-2-mini
Base model
thinkingmachines/Inkling-2-Mini