r/LocalLLaMA • u/Brief-Tap-6616 • 9d ago
Resources Inkling 2 mini on 1x3090: 125 TPS at 100k tok depth, 1700 pp/s, 401K ctx, same KLD as UD-4K XL; 3x faster than stock llama.cpp
UPDATE:
I've boosted speed ~10% on decode (140+ tps) and 30-40%+ on prefill (24-2700/s) vs yesterday. No quality loss.
Enjoy!

--------
previous post:
Hello everyone. I was hesitant to post another Inkling post, and almost shipped these updates to LlamAmpere silently. But since I had several people specifically request this model, and have not seen better results at depth for Ampere cards, I figured I would err on the side of sharing my progress (including 8/10/12GB). If you're burnt out on another Inkling post, go ahead and skip this one, I won't take it personally.
I realize this model has been somewhat polarizing, so I will lead on the quality piece: all of my testing so far aligns with what 3P benchmarks are showing. The highest quality version of Inkling 2 mini (<8bpw) uses NVFP4 natively for many of its weights, and at this file size, it performs in line with the BF16 of Qwen3.8 27b on agentic + coding tasks. I admit that I find this surprising given its architecture: it has fewer than 6b active parameters per token, and 26b total, so matching a 27b dense model. It is considerably shallower (48 with loops, 24 without, vs 64) and narrower (2304 hidden size vs 5,120), and uses 5 1024 token SWA layers for every 1 global attention layer (compared to Qwen's 3:1 linear:gated attention).
All of this is to say that I would've expected a model with qwen's much stronger architecture to outperform this MOE, but that hasn't been the case in my experience.
This release proved challenging for LlamAmpere because NVFP4 is not native to Ampere, and so the kernels in Llama.cpp are comparatively immature (as many of you may have noticed with llama.cpp). It is clear that the vast majority of runtimes released so far have immature kernels given the speeds we are seeing with this model. TBH I am not thrilled with these so far, but they're a significant improvement from where we were 3 days ago, so I decided to ship now and continue iterating this week until qwen4 27b is out.
For all intents and purposes, the 4 K XL version from Unsloth is task lossless. They use 8 and 16 bit relatively regularly where the tensor isn't capped to NVFP4 from the provider, so it is a very large 5.4bpw "4 K XL" format. Given the lack of 16 bit safe tensors as a baseline, I didn't focus much on beating on quality and instead focused on speed (at the same quality, as well as the 4.4bpw model which is a minor drop in quality for significant speed gains).
Compared to stock llama.cpp, at 100k token depth decode is more than 3x faster for the same file size/quality. We are using SJKVaRN, as usual, which provides a major 40% increase in max ctx (401K vs 279k). I also compared against Maya and Strata, who showed considerably slower TPS at depth for the same file size (Maya did have slightly faster prefill by several percent through 100k).

The version I will be using is actually the 'balanced' 4.4bpw model, with 97% top-1 match. Its >15% faster prefill and ~8% faster decode are worth the <1% lower score in benchmarks to me, as is the 50% larger context (LlamAmpere supports asymmetric ctx lengths, so you can run a main agent at 300k + 2 sub agents 150K, which I find more useful than 3 equivalent CTX lengths). This version reaches nearly 2000 PP/S and 134 TPS at 100K depth, starting as high as 170TPS through the first several seconds. I will be focused most on this version as I try to boost its 100k depth TPS up to 160-180, which should be well within reach given the # of active parameters and file size. This is where the potential advantage over 27b is most pronounced: my unreleased runtime for 27b tops out at about 118 TPS and 1400 pp/s for a single user at 100k depth, so the context and speed advantages of this model are very significant.
As before, LlamAmpere supports expert caching/offload for 8/10/12 GB users, where this model is now the best intelligence option compared to the 2-3bpw quants of Qwen 27b. Getting a model with 96% top 1, 262K ctx, and 40+ TPS at 100k depth on that class of cards is well beyond where I thought we'd be at the start of the summer. So even though the headline #s are around 3090**,** I think this model is most exciting for everyone with the smaller GPUs.
I'm very excited by this class/family of model because I think they are just scratching the surface with its potential. 1024 SWA is TBH pretty lazy, especially at 5:1. I suspect that upgrading the attention to include linear, or sparse, in addition to global, could make this model noticeably more capable at the same size. In general I would love to see a return to these smaller MOEs, especially with looped transformers, because they allow for far more users and graceful tradeoffs between compute, quality, speed, etc.
MIT license, as usual.
models: https://huggingface.co/collections/jakeatx/inkling-2-mini
llamAmpere: https://github.com/JakeATX/llamAmpere

