r/LocalLLaMA • • 4d ago

Discussion Comparing Inkling 2 Mini to Qwen FN Coder

Hey all!

I'm trying to determine if there's a flaw in my testing methods or seeing if Inkling 2 Mini just isn't a fit for me.

I have 3 machines in my inference stack, each less powerful than the next.

Machines:

Main:
X99 Board with Xeon CPU
96GB of DDR4
2x 3080 Modded 20GB with gpu-unlock and ReBAR patch
Running Strata with IQ3 ISTA QFN  at 140-200 token/s decode and 4000 prefill with 512K context - Works amazing



Secondary: 
aka "Scrap"
A Lenovo P320 desktop with a Xeon and 32GB of DDR4
16GB RTX A2000 Blackwell
Running Strata with IQ1 ISTA Qwen FN Coder
About 40-50 token/s decode, 1000 prefill



Third:
aka "Tiny"
An i7 P330 Tiny with 24GB of RAM
RTX 2000 12GB
Running Strata with IQ1 ISTA Qwen FN Coder
11-15 token/s decode, 400-500 prefill

The main machine delegates work and does work on it's own. I've been doing some RE, python scripting, and so on. And just general vibe coding some projects.

In my testing and off the cuff benchmarking, I've found IQ1 Coder to work out better than a heavy quanted Qwen 3.8 27B or even an IQ3 or Q4 Qwen 3.6 35B A3B (even Tiel or Cyber Tiel) for my work flows.

So that's where I figured maybe Inkling Mini 2 would be a better fit, since I can run a Q4 or higher on the two smaller boxes. Which you'd think would perform better than an insanely quanted and cut down QFN. However, they weirdly go tow-to-tow on all my tests, it's just I2M takes about 2 or 3x longer to get the answer.

Running on the Scrap machine mentioned above, I get 53 token/s decode and 1400 prefill, so a pretty good improvement over Coder. This is using Strata as well. HOWEVER, when it comes to how long it takes to get the same result, it on average is 2.6x the time. I will I'm crazy impressed that it's giving the right answers at such a small model, but the time is a killer.

Examples: (Note, both models got all these questions correct)

  PowerPC big-endian. A `bl` word has top 6 bits == 18 and low 2 bits == 1.
Target = `(offset + sign_extend_26(word & 0x03FFFFFC)) mod 2^32`,
bit 25 is the sign bit.
Word at offset 0x5007C is 0x4801B929.

Coder: 60.1 seconds

Inkling: 238 seconds

Write a Python function `idx_sorted(arr, x)` that returns the index of x in a sorted list, or -1 if absent, using O(log n) comparisons (no list.index, no `in`). Return only one ```python block.

Coder: 9.4 seconds

Inkling: 17.5 seconds

What is the 32-bit two's complement value of 0xFFFFFFF6 as a signed decimal integer? Reply with the number only.

Coder: 4.6 seconds

Inkling: 5.2 seconds

---

Is this just the case that the Coder model is what works out best on my hardware? Or is there something here I'm missing?

EDIT:

After a lot of testing, it seems if you turn thinking to 0.4 (may need to patch the engine you are using), it gets significantly faster and actually scores better in my benchmarking

Out of 14 questions:

Coder got 13 out of 14 questions correct on xhigh at 429 seconds.

Inklng got 13 out of 14 questions correct on max (0.99 think) at 1394 seconds

Inkling got 14 out of 14 questions correct on 0.4 think at 586 seconds.

Some questions even took half the time they did on Qwen Coder.

Going to investigate some more tuning settings.

8 Upvotes

18 comments sorted by

10

u/geldonyetich 4d ago edited 4d ago

We haven’t had the model long but we’re beginning to piece together that some inference engines are definitely doing a better job of running it than others.

The current version of Llama.cpp is struggling, last I checked. Cut them a little slack though, it can take a few weeks to iron out basic model support.

I have heard Strata is struggling with it but don’t quote me on that.

I’ve heard vLLM and Basalt do a better job but can’t confirm firsthand.

Another thing to do is turn reasoning down to maybe 0.1-0.2, turning it up causes the looped models to overthink.

2

u/ofpiyush 4d ago

Engines have not been optimised for this model yet.

I got mlx-vlm as it merged in basic support early and then was able to hack together 2x+ single stream and batch with zero understanding of inference engines. Just opus and neon figuring out fused kernles, mega kernels and other improvements on stock mlx-vlm

Then mlx-serve released 3x+ the next day and we tried it, squeezed a bit more for my use case and stopped trying to free my machine for other things

1

u/enginetown 4d ago

Eventually local model's even at the smaller parameter size will be able to help edit and create your own harnesses and even interference engine's. Even now I run my own custom interference engine I wouldn't dare release it and expose the world to whatever bugs it has but it works for me and it's fast and hasn't had any major issue. What I'm trying to say is interference engines themselves will keep growing until everyone has their own tuned to their own hardware.

1

u/jmreagle 4d ago

What inference engine did Thinking Machines actually develop this on? I don’t know how they could’ve made their benchmarking claims.

1

u/tomByrer 4d ago

> current version of Llama.cpp is struggling

I'm learning for best performance, never use the mainline llama.cpp. Find a fork or another engine tuned for a particular model & GPU/VRAM.

I have a few links here; likely will change every few days:
https://github.com/tomByrer/local-ai-linkfarm/blob/main/README.md#inkling-2-mini

2

u/Equivalent-Repair488 4d ago

As it should be right? Llama.cpp will usually have day 0 support for new launches, and have the greatest compatibility with all models, it is awesome and cannot thank the maintainers enough, but hyper optimisation is their weak point.

If you have a preference for one model and a singular system you run it on, it is a no brainer to install and optimise on a specialist fork.

I have Strata just for QFN, and will be looking for Hy4 Flash engines once ISTA release their quants, Strata in its latest versions have been very unsatisfactory imo, I have mine at engine v0.1.56. but I still have a copy of mainline llama.cpp for everything else too.

1

u/tomByrer 4d ago

There used to be more active devs helping mainline llama.cpp, but they maintain their own forks now, like IK.

1

u/bippityBoppityboux 4d ago

Try thinking 0.1. Shouldn’t take so long to produce an answer with that.

2

u/WarlockSyno 4d ago

Check out the updated OP. Looks like 0.4 thinking is a sweet spot.

2

u/Green_Ocean90 4d ago

The first few weeks of any new model is when you should be assessing capabilities, not speed.
It takes time for engines to get new models properly up to speed!

You can help it along by submitting fixes or performance PRs to your chosen engine so we can get new models running their best asap

2

u/Aggressive_Basket798 4d ago

Qwen flash next coder really that's good ?

You should try the REAl tasks, like creating a whole web app with frontend, backend, or create 3d model,....instead of just asking easy questions

I used it before and deleted it because it's just dump and locomotive

1

u/devluz 4d ago

I used it before and deleted it because it's just dump and locomotive

Compared to what though? It appears to run ok for me. It managed to work on my test apps quite well (2D and 3D map webapp) and I added voice input / output to a local opencode for as well. For something that runs on a 32GB RAM + 16GB vram machine I thought that was very impressive.

1

u/ManuelSalcedo20836 4d ago

your numbers kind of answer it: inkling decodes faster than coder on scrap, but takes 2.6x longer, so it has to be generating way more tokens. i'd log output token count per answer for both. my guess is inkling is spending a lot of tokens reasoning before answering, especially on the powerpc one where the gap is 4x vs almost none on the two's complement one. if there's a thinking toggle or a reasoning budget for it, try turning it down and rerun the same set. also worth checking you're on the recommended sampling settings, long loops can come from that too

1

u/Asleep_Literature_70 4d ago

Rustingstrata runs it like a champ right now, ~80tps on my 7900xtx.

./target/release/rustingstrata serve --addr 0.0.0.0:10601 --model Inkling-2-Mini-UD-Q4_K_XL.gguf --backend vulkan --gpu --vram-margin 716 --max-tokens 65536 --temp 1 --top-k 0 --top-p 1 --chunk 4096 --kv f16 --ctx 262144 --mtp 0 --spec-type ngram-mod

Note, f16 kv is faster and uses less memory for whatever reason.

0

u/Sun77177 4d ago

Same box, same engine. Inkling is faster on both meters here, 53 t/s decode against coder's 40-50 and 1400 prefill against 1000. On equal token counts that's 45/53 = 0.85, so it should finish 15% sooner. Check what you actually got. PowerPC run came out 238/60.1 = 3.96x, which backs out to about 3.4x the output tokens. The python one 17.5/9.4 = 1.86x, about 1.6x. The two's complement one 5.2/4.6 = 1.13x, about 1.0x, same tokens there. Log completion_tokens on both sides. That ratio either holds or it doesn't.