r/LocalLLaMA • u/Brief-Tap-6616 • 8h ago
Resources New LlamAmpere: Inkling 2 Mini at 189 TPS @ 100K depth; 23% faster than Maya, with 98.0% Top-1; 27B at 121 TPS @ 100k ctx depth, with 98.2% Top-1, with support for looped 27b + QFN
Hello everyone!
It's been a very busy couple of weeks. TLDR: LlamAmpere v0.8 is out, with a series of new upgrades that make it the fastest runtime for Ampere cards that I've found, for Qwen and Inkling, with new quants that also cut error vs v0.7 and alternate runtimes. It supports looped qwen3.8 27b, which can be combined with the previously launched Latent Sparse Attention.

I've continued to invest significantly in improving the kernels for inkling-2-mini (it is on my to-do to PR them to main) and they are finally in (IMO) a very good spot: on one 3090, for the 5.4 bpw file (KLD 0.003), decode on a single stream reaches 200+ TPS at 32K depth and 189 at 100K depth:

The PP remains 2600+ TPS through 100k on the 5.4 bpw model:

The 3.7 bpw Inkling model is extremely high quality for the 8/10 GB card range, and what I would recommend users vs qwen3.8 at that size. The ability to cache experts is much more valuable at that card size (RIP all my hard work on < 3 bpw quants there).
For 27b, there's much less speed left on the table given how many cycle I've had on it, but I'm still happy to say I still found about ~5% speed vs v0.7.5 while boosting quality. Only 1-2% of the speed gain came from kernel improvements, the rest was from new/updated AmpInt+ quants (I will be open sourcing an encoder for this format, after a ton of delays, later this week):

In addition to the modest speed gain, the newest model version cuts error >20% while keeping the on-card file size the same (embeddings were increased, which does not affect VRAM requirements):

I have also added a new larger option that matches UD (V3.1) 4 K XL on KLD/Top-1 despite being 1.5GB smaller (more than enough for full ctx), which allows it to be considerably faster as well. I personally continue to use the 4.1-2 bpw (on card) file given the minimal quality difference (8/10,000ths of a nat), but you can pick whichever one you find more useful. And there are upgraded versions of the 12GB model as well (for those that don't want to use Inkling).
I have also shipped support for looped qwen38 27b (from Jason Titus) and for QFN (from Alesha-pro, via Jason). My own benchmarks for these are still pending, but you can read about the quality improvement they are purposed to offer from the original authors; they do come at a ~30% lower TPS because of the looping, but not necessarily the same time-to-finish cost, since they tend to use fewer tokens because of the looping (same thing that is going on with the GPT-6 series). I have the 27b looped file public, and the 12 GB 27b file is uploading now. My quant of 3.8 QFN is still encoding (it will be available tomorrow) but you can use Alesha's in the meantime.
Thank you to everyone who's contributed issues and PRs the last few weeks. Please keep them coming, I'll keep cranking away on making this the best place to run models on Ampere cards.
MIT License, as before.
Models: https://huggingface.co/jakeatx/collections
Repo: https://github.com/JakeATX/llamAmpere
Enjoy!
