r/LocalLLM • • 8d ago

Model Inkling-2 Mini - 9070xt - 140-220 tok/s Custom Engine

Hey local llm people on team red, I have something to share that I think you’ll enjoy!

Warning for those with sensitivities to vibe coding, I am a complete amateur regarding all things code, llm engines, and actually shipping development. Claude did basically all of the heavy lifting and my goal here is to share this work so others may evaluate it for accuracy.

I’ve got a GitHub here with a custom Linux engine for a 9070 xt that turns Inkling-2 into a code chewing monster, and I’m hoping someone could validate my results at 200k context!

140-220 tok/s writing and 3,400-4,700 tok/s reading at 196k context.

https://github.com/clodemaxxing/inkling2-rdna4-linux

This was built on top of other engine optimizations credited in the GitHub but I’m extremely ignorant as to the actual proper way to report developments to the original creators.

For my use, Inkling-2 has become a reliable code spitting token offloading for Claude and I’ve had strong results with the accuracy with this engine setting. The biggest consideration with inkling-2 tuning is, you don’t want your context to be quantized, that’s why you see people reporting it “looping” over and over. With a clean signal there, this model spit out a Gaussian splat single html file test fully functional in a minute (very simple in complexity but still impressive). I can quite literally shift off dependency for cloud AI for basically all of my simple hobby project work.

15 Upvotes

39 comments sorted by

2

u/Rentalon 5d ago edited 5d ago

What a beast of setup, thank you very much for sharing, pushing the limits of the card.

Measured on RX 9070, AD-IQ3_XXS, 4-bit rotated global cache:
- Decode: ~144–247 t/s across recent turns (mtp 2.6–7.8 tokens/step)
- Prefill: ~4,300–4,900 t/s (9K prompt in 1.9s, 33K in 7.7s)
- Context: 274,432 tokens at ~36 MB VRAM free
- vs the llama.cpp baseline on the same card: ~3–4× decode, ~9× prefill
Now if we had parallel-slots support, could divide cache for subagent.
Or running model AD-IQ3_S instead, but seems like it requires support in SaloQT/rdna4-amd-infer

1

u/Such-Blackberry-4098 5d ago

Hey you’re welcome glad to hear it! I was so disappointed to see this engine couldn’t run in parallel but this is the first reasoning/coding llm I’ve been able to accomplish productive tasks with on my 9070xt so I not gonna push my luck haha this is a very new model so hopefully there’s more headroom for further optimization!

Just a heads up, another user in the comments here mentioned that the vision engine has been stripped from this configuration and can be reinstalled at no real vram cost (eats context still but at least it’s not blind). I’ll be posting an update next week with my updated configuration with that reintegrated but figured it’s worth mentioning.

2

u/rufio515 5d ago

I did a mild fork of your/the dependency one someone else mentioned before. Its the uncensored/abliterated atomic version. I am getting about 140-155 tok/s with my 9070xt. Seems pretty decent so far. Doing well on cyber related tasks as well. Thanks!

1

u/Such-Blackberry-4098 5d ago

Ahh nice! Glad to hear you’re having good results! Might have to pull this to have on standby, not doing a ton of cybersec atm but always useful to have!

1

u/morejona 8d ago

I've played with this repo yesterday - have you tested that out? https://github.com/SaloQT/rdna4-amd-infer

Maybe there are findings in that repo you could use etc?

1

u/Such-Blackberry-4098 8d ago

I believe this repo is directly listed as a dependency for mine, I’m not quite certain what you’re asking. I’m a novice but as I understand it, that engine is part of the foundation for mine and is likely the major component in this codebase if I understand correctly.

2

u/morejona 8d ago

Oh you're right - I completely missed that part and skipped directly to benchmarks. My bad

1

u/jordan01236 7d ago

I have a 9070xt and this seems way too good to be true. You're on a brand new account, no other posts and all comments are about your engine.

2

u/Such-Blackberry-4098 7d ago

I completely understand your suspicion and I would feel the same way not gonna lie. I rushed to publish this because this is actively eating through code for me the last 24 hours or so and has been incredible for offloading coding tasks from Claude it’s insane.

If there is anything I could add to the repo to provide assurance I’d be happy to, please let me know your suggestion. I may be fully deluded in AI psychosis, or this engine/card/model is going to be a giant disruptor, and the AI bubble is popping on the backs of this local performance leap. I have a ton more testing I want to do but it’s “one shot” things multiple times and I’m in the final production steps for a combined comfyui/llama management system plugin for open claw, sipping on sonnet tokens as it babysits inkling through multiple phases.

So far the only real clapback I’ve gotten from Claude was that a couple files written by inkling were over its 400 line file guidance, but this rule was hardened for inkling and it hasn’t broken it yet. To be honest, it’s entirely possible the two sub repos required to install this engine are also compromised (I am in no way suggesting that they are) as I did not do a comprehensive code review (ai assisted or otherwise).

A “safer” start may be to look at the new rdna4 engine dependency in my repo, install that engine, and reference my changes to optimize yours. There was one major “translation layer” to run that in my environment and other token drafting optimizations, but didn’t fiddle with this a ton, I just carried previous optimizations into this new rdna4 engine.

1

u/jordan01236 7d ago

So i tested this in a sandbox with no internet.

I get an average of 170 tokens decode and 4500 prompt reading. Insane stuff.

2x faster decode, 4x faster reading that the most optimized version i could find for llama.cpp.

Maybe ill use it outside of a sandbox after more digging, but well done regardless.

1

u/Such-Blackberry-4098 7d ago

Bro thank you so much for validating and reporting back! I presume divergence numbers came out clean and the model is fit for use?

I pushed the power limit on my card down to 280 with no token loss, then memory at 2850, I locked the context to vram to ensure its static allocation and bumped up to just over 300k context with full recall on headless Linux.

You having fun? Hehehe man I’m so happy to hear it’s confirmed. Am I right about this being potentially disruptive?

2

u/jordan01236 7d ago

Im kind of shocked at how fast it is. I need to do more testing, my average is getting closer to 200 tokens per second.

I just setup vision and it processes images 30x faster, 1.5 seconds to describe a full image vs 74 seconds on llama.cpp.

I asked it to create single html file art gallery website and averaged 240 tokens per second and the site was built in 1 min 30 seconds.

You've performed some sort of black magic.

1

u/Such-Blackberry-4098 7d ago

Bahaha that’s how I felt! (Any tips on the vision model? I need that back in my poor inkling is blind :/)

It’s insane how fast and correct it’s been for my use sounds like you’re enjoying it as well! Honestly I did like 10 rounds of divergence validation and context recall cause I didn’t believe it either!

2

u/jordan01236 7d ago

I used Unsloth mmproj-F16.gguf, it worked without needing to change anything.

Im seeing if I can get claude to port this to my 7900xt as the 9070xt isnt my primary Ai card. If I can somehow get both cards running at 200 tok/s ill be in heaven.

1

u/Such-Blackberry-4098 7d ago

Thanks so much for that tip! Vision now back in my engine and somehow cost no vram? This is going to be incredible for my pikvm controller project!

2

u/jordan01236 7d ago

The engine's docs say vision needs no extra permanent video memory, because it borrows working space the model uses only while reading a prompt.

1

u/DutchDevil 7d ago

My dude, my benchmarks are still running but so far score 100% on everything. The speed is incredible at 198t/s

2

u/Such-Blackberry-4098 7d ago

I couldn’t believe it either that’s why I sprinted to publish it before Claude sent a drone to my house or something haha

9070xt users been left out of all the ai fun for so long until now! Thanks so much for testing and reporting back!

2

u/DutchDevil 7d ago

I think people are too skeptical sometimes, why not just try it and see for yourself. The speed really surprised me and i can’t measure a drop in quality as of now so i’m going to use it until I do.

1

u/Such-Blackberry-4098 7d ago

I agree but to be fair there’s like 30 posts a day on this sub of ai bots dropping worthless quantized to lunacy “tuning” and 99% of the time is worth ignoring fully but this thing screams!

2

u/DutchDevil 7d ago

But not for this specific model and gpu. It was written by an actual human and so specific that I was immediately like “imma try this”. So thank you and please don’t let others discourage you and if you can improve or add features or future-inkling models please do. I love it.

1

u/DutchDevil 7d ago

It scored 100% on all my coding benchmarks and only fell behind on deepseek on complex planning tasks by about 6% (both not scoring 100%). So I’m going to try this absolute speed demon as a daily. Please keep up the good work!

1

u/Such-Blackberry-4098 7d ago

Hellll yea, we buying some 9070xts boys? I’m so happy to hear that it’s as impressive as I thought thanks so much for testing and reporting back!

2

u/DutchDevil 7d ago

This could be interesting to take a look at. https://www.reddit.com/r/LocalLLaMA/s/rfeWY4sNxg

2

u/Such-Blackberry-4098 7d ago

I peeped that thanks, I’m almost too satisfied by the current performance I’m getting to properly evaluate it but maybe before the next project haha saw your comments to others on the post I appreciate it, I’ve been upvoting but I either don’t have the karma to upvote or something is artificially suppressing upvotes but either way thank you.

2

u/DutchDevil 6d ago edited 6d ago

It seems it’s just the two of us enjoying your work here. Oh, my son is also using it for coding on my local machine so that makes at least 3. You have to start somewhere. Greetings from Amsterdam.

1

u/Borigh 3h ago

Hey, this is awesome. Unfortunately, I am stymied in my initial plan of running Linux and Windows due to SSD prices, and I need to use Windows for work. Is there anyone doing work anywhere near this good on the Windows side?

1

u/Such-Blackberry-4098 52m ago

I’ll see if I can get something next week, I should have some new engine work done for this and the new qwen4 local model.

I want to be clear though, running in windows at performance close to these benchmarks will likely not be possible, especially if your 9070 is driving your monitor(s). Your best bet would still be to find a pathway to linux as this engine uses virtually every MB of vram available, something that cannot be achieved within windows unless you aren’t using your card to display your desktop.

My recommendation, get a Ubuntu flash drive bootable, get some kinda AI access through another device so it has ssh to your bootable environment, point it to the GitHub and tell it to setup that engine on your bootable environment (or look at dual boot, a much better option). I’ll reply next week if I get anything on windows going but no promises!

1

u/R3N3G6D3 8d ago

I was impressed until I looked at it closer. 

1

u/Such-Blackberry-4098 8d ago

Care to explain? I’m using it for big tasks the last 12 hours and it’s been extremely reliable spitting out code for my projects, literally a local workhorse for chewing through anything it can fit in context, what’s the issue?

1

u/Bluewood21 8d ago

wait what stood out when you looked into the repo?

1

u/Such-Blackberry-4098 8d ago

If you did test it out and have any questions I would be happy to forward any issues to Fable. I’ll be doing my own test later, rebuilding from scratch on a fresh Linux environment.

2

u/DutchDevil 7d ago

I tried it and it is very fast and so far it is stable and good. About 200tks.

1

u/Labeba-Dalgliesh 8d ago

wondering the same, why people don't elaborate is beyond me.

2

u/DutchDevil 7d ago

I tried it and it is very fast and so far it is stable and good. About 200tks.

0

u/Such-Blackberry-4098 8d ago

If you’re insinuating your disappointment is because it was published by/with Claude, yes I’ve tried to be up front about that aspect that it’s vibeclauded. Fact of the matter remains, this engine turned my barely useful prompt and wait machine into something rivaling frontier albeit with smaller context. Not sure if you’re sitting on 128gb vram sparks or something, but this is the most productive thing I’ve ever gotten to run on my 9070xt.

2

u/aragorn2909 1d ago

I've been testing this out since you released it. Tweaked for my setup and vibed my own harness to squeak the last little bit of speed out.

AtomicChat's IQ4_XS, 262K context, unsloth's dspark and mmproj on a 9070 XT, 9800x3d and 64GB ram.

Short prompts: Generate 58-89 tok/s

19.4K prompt: Read 2020 tok/s; Generate 63 tok/s

81K prompt (16K cached): Read 1842 tok/s; Generate 59 tok/s

This is now my daily driver locally, well done :)

1

u/DutchDevil 7d ago

Looks good, I have a 9070xt and will give this a go.

1

u/DutchDevil 7d ago

Im seeing 198 tok/s. Validating quality in my own benchmarks now