From Unsloth’s post on Reddit:
Hey guys Thinking Machines released Inkling 2 Mini, the strongest 26.4B model (regardless if MoE or dense) that runs on ~16GB RAM.
Inkling 2 Mini is Thinking Machines Lab’s new 26.4B MoE (5.4B active) model for coding, agentic & vision workloads.With a Looped Transformers architecture and 1M context, it scores 48.2% on DeepSWE v1.1 and 77.9% on SWEBench Pro v2 (Hard), the highest for its size. Thanks TML for day 0 access.
Run on Unsloth Desktop or llama.cpp.
But looks like the model is not available in llama.cpp yet:
But if benchmarks are true, it’s somewhat on par with Qwen 3.8 27B!


setup summary:
^ it’s vision, I can cut on vision too. Just wanted to see it in action.
the llama.cpp work for this model is still in progress so optimization isn’t finished yet, a few tips though
--no-mmproj-offloadto keep it in RAM instead of VRAM, it’s extremely slow with vision but if you rarely use it then it helpsset
-ncmoe 999(or just use the shortcut for it-cmoe) and use the new MoE caching stuff instead https://lemmus.org/post/26756208 especially since this model uses many experts multiple times per token you’ll want to make sure the correct experts are being cached, and-ncmoeis not smart enough for thatuse
--ubatch-size 2048to improve your prefill speeds since you’re using expert offloading, this will increase VRAM usage slightly during prefill but it means it copies the layers to your GPU every 2048 tokens instead of every 512 tokens, this can give a huge speedup especially if you’re not on PCIe 5Thank you very much. Didn’t respond cause I was lost in benchs and attempts to vibe fix things I didn’t like lol.
Anyway, here is what I got:
State: 256k context, vision works (CPU projector). VRAM ~8.5 GiB without desktop at full 256k context; ~7.5 GiB at short prompts;
On stock llama.cpp: pinned Unsloth b12631-mix-acc0843 (source 59f66204), TheRock 10.3.0a20261121, Clang 24, Ubuntu 22.04 GCC 11 headers, gfx1200;gfx1201. Local patch: capture-safe pinned-only HIP pool. Host: LimitMEMLOCK=infinity + mlock. DSpark not enabled.
-ngl 99 --cpu-moe --moe-cache-mib 2048 --moe-cache-cpu-share 0.45 -ub 512 -c 262144 -ctk q4_0 -ctv q4_0 -fa on --parallel 1 --load-mode mmap+mlock --mmproj ... --no-mmproj-offloadcmoe vs ncmoe
- cmoe cache 4096, ub512: 23.3 write t/s @ 13.61 GiB - ncmoe16, ub512: 16.5 write t/s @ 13.74 GiBAbsolute win on the similar size of vram.
Short prompt at 2 GiB cache: 454 t/s read / 19.4 write. Cache 3/4/5/6 GiB: 21.6/22.7/25.2/26.7 write t/s; VRAM 11.4/12.4/13.4/14.4 GiB.
– so pretty much +2t/s decode per 1 GiB of vram if I wanted (chose to have more headroom of vram as this is my working machine and I would want to open other apps that eat vram too)
The Patch
VRAM used to grow until OOM, I didn’t like it, so I vibed this patch; Now it stays flat because only graph-pinned buffers are kept.
Prefill is down about -3% to -5% and decode is pretty much unchanged.
–moe-cache-cpu-share
Pretty much flat 0.3–0.6, with best (within noise) results at 0.4 / 0.5
0.7 and up drops (19.4 → 14.2 write).
-ub
ub512: ub2048 adds ~1.3 GiB + 2.4 GiB graph, OOMs at depth; only ~3–8% prefill gain.
I am on PCIe 5 so it probably didn’t matter much.
Going down from 512 hurts like hell, 1/3 prefill on each half.
Q3
Didn’t do anything good cause you are dragging gigabytes of experts to vram anyway - same vram cause you are literally specifying how much of vram you want to be loaded with it. So, same size, 3-5% more speed, quality loss.
Host memory fix
Saga to make it not to eat all of my GPU processing and leave a headroom
Utterly failed to do anything about it.
At decode it stays at roughly 80-90% avg and it’s comfortable enough for any activity.
Prefill though goes to 100%, and since it throws batches, you can’t just gradually sleep patch it or anything.
Tried to throw it at low priority for GPU but it didn’t work either - no difference between AI in low + concurrent ~80% GPU burn in normal & AI in normal priority + concurrent ~80% GPU burn in normal.
Sooo, when it’s not run at dedicated AI PC, it’s gonna cause disturbances and it cannot be just backgrounded without cost. Non-backgrounded? Slow asf to be looking at it. Also why even look at an agent. Who looks at code today anyways.
The Model
Well it works. Agent did build be a simple python webserver that hosts my previous experiments at local embeddings - embedding images/audio and searching by text. Done and works in a first attempt. Took about 35-40m. This wasn’t very hard task, but not a trivial either.
But
It looks like it’s specifically designed to be run in agentic mode.
^ high thinking.
Both Qwen 3.8 27B & Qwen 3.8 Flash Next crack it on normal thinking.
I’m pretty sure -ub doesn’t need to be a power of 2 number, try 600 or 768 or something
Tried different numbers again. All the fractional numbers lose to 1k, but after 1k to 1.5k / 2k the increase isn’t visible.
Feel stupid for not considering to try more numbers inbetween though :)
Ty again.
It’s not stupid, I always gravitate towards power of 2 numbers even when it’s not necessary lol. I do think llama rounds context sizes to a nearest multiple of 256 or something IDK, I always just multiply by 1024 to get my context sizes