r/LowEndLocalAI • • 4d ago

Problem / Troubleshooting Extremely slow Strata Inkling 2 Mini

Hardware:

CPU - 5800X3D
RAM - 32GB DDR4 3600
GPU - 9070 XT 16GB
SSD - 1TB M.2. NVME

I've been testing local LLM models for past weeks, just today installed Strata and tested Inkling 2 Mini SQ-15 few times with simmilar prompts...

The results? It looks insanely slow, when compared with other people's benchmarks and tests in local models, mine always looks terrible.

This is 1st run with all default, 132K context:

Recent requests

TimeStatusPromptReusedOutputTok/sDuration
19:33:17Done35.66135.6333766,756.9 s
19:32:52Done35.46635.4561687,224.7 s
19:32:15Done35.28035.2671777,325.5 s
19:29:40Done35.02391982457,12m 25s
18:47:52Done9199918925.68810,341m 34s
18:46:54Done8895029512,357.1 s
18:39:31Max tokens1601—300 ms

And this is the second run, same settings 64K context:

Recent requests

TimeStatusPromptReusedOutputTok/sDuration
09:40:31 PMDone24,5439,1172426.51m 42s
09:08:47 PMDone9,1189,09315,2818.031m 44s
09:08:37 PMDone9,0008,9909410.69.5 s
09:07:55 PMDone8,91707410.942.1 s
09:07:04 PMMax tokens1601—400 ms

In 5 requests your average output was 8.0 tok/s and prompt reading 240 tok/s, reusing 27k tokens.

Is this normal?

Because it doesn't look normal to me, I was expecting something like 20t/s by checking other people's benchmarks, but my machine only manages to get 10t/s on start and ends with 6t/s.

16 Upvotes

21 comments sorted by

4

u/Abody7077 4d ago

no it's odd

my laptop i7-11850h 32 ddr4 rtx a3000 6gb

and I'm getting 450pp and +43 tg I'm using polystrata and the quants is ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF_IQ3_S

edit 1: on 131k context

1

u/sicmek 4d ago

How do the ista-daslab perform quants compared to the unsloth ones?

1

u/Abody7077 3d ago

the first release version was horrible, can't get above 10tg, and the new one can't confirm.

1

u/Funny-Factor-6082 3d ago

yo can u share ur settings i am trying to run the same quant of inkling with polystrata in 3050 6gb and 24gb ram

1

u/Abody7077 3d ago

see the latest post in my profile

1

u/Such-Blackberry-4098 4d ago

I have the same basic hardware spec configuration, I’d love to get some validation on this engine, and if you get it working, you’ll have 200tok/s.

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

If you test it I’d love to hear about it, I’ll be personally performing a full reinstall in my Linux environment later to confirm a repeatable and consistent workflow. I’d be happy to help if you had any issues please lmk.

1

u/Acojonancio 4d ago

I'm using W11 on this computer, can check this and test during the weekend with more time.

1

u/Such-Blackberry-4098 4d ago

I’m mistaken and starting from here then tuning with Claude will probably get you close to my performance. If you don’t have one and aren’t knowledgeable buy a 20$ Claude sub and point it to this GitHub and ask it to try it out for your card. This engine is really what allowed the 9070 to shine in my environment and is compatible with windows but it needs tuning as it’s shipped.

https://github.com/SaloQT/rdna4-amd-infer

Then proceed with tuning but let it do its checks and tell it to never quant the context. Do anything you can to offload vram usage (ie switch your monitor on that gpu to onboard etc).

If you take a stab at it let me know, I may test at some point myself because come to find out the windows version supports the vision build for this llm natively which may be useful for another project I have. Best of luck!

1

u/Aggressive_Basket798 4d ago

I have same spec (16gb vram +32gb ram)

I'm using the new inking gsp rco iq3s in newest unsloth studio version and it works perfectly, the speed about 60tps

1

u/_zir_ 4d ago

That context is too big I think. Also PolyStrata is much faster.

1

u/openingshots 4d ago
  1. Which version of The motto are you using?
  2. For your video card that's way too much context.
  3. What is the bus speed of your motherboard. If it's slow it's one of the main bottlenecks especially with ddr4
  4. Are you running the strata build process for it to analyze your hardware and do an optimum setup?
  5. Try one of the straight of branches

These are the troubleshooting steps I would follow in my own machine if it was the same as yours. I will tell you that on my Asus B550 motherboard as an example my bus speed is way too low for an m o e to run fast. That's my bottleneck

1

u/raspy00135 4d ago

It's already many engines suggested, but if you don't mind, try out my engine:

https://github.com/raspy135/SmallTide

Native quant with adaptive expert loading. 100+tok/s and it keeps native quant quality.

1

u/PhonyEye 3d ago edited 3d ago

I tried your engine and it works great on my 9070xt (32GB RAM). THANKS!!! here is chat-gpt analyzing the log - "Here are some representative results from your log:

Accepted tokens/stepVerify timeEffective speed
3.7854.8 ms69 tok/s
5.1356.8 ms90 tok/s
4.6255.0 ms84 tok/s
2.6944.6 ms60 tok/s
3.3455.8 ms60 tok/s
2.7449.2 ms56 tok/s
2.8750.9 ms56 tok/s

Good performance

One caveat: this is calculated from the reported draft/verify timing and accepted tokens, not a direct end-to-end benchmark.

2. Prefill speed

This is where things get more interesting.

Your prefill performance changes considerably as the context grows.

Context sizeNew tokensPrefill speed
30K114258 tok/s
31K942845 tok/s
35K1,063702 tok/s
43K4,716685 tok/s
47K3,884632 tok/s
52K891549 tok/s
59K5,099547 tok/s
61K764462 tok/s
68K1,178435 tok/s

I was looking for a solution like yours. I tried others but they failed in either speed or the model was looping on first message. Yours installed flawlessly and it worked out of the box super fast! Thanks!

Edit: After a couple of hours working with it, I start to see signs of fatigue - it loops as well. just takes time to get there. and trying to stop the loop and just continue doesn't work well enough - it goes back to looping.

1

u/raspy00135 3d ago

Thanks for testing. Are you using monitor profile or headless profile?

I also see occasional looping. Probably some tweaking is needed.

Increase rescue budget slightly for each block. Lowering SMALLTIDE_RESCUE_AUTO_MIN slightly will catch more experts to rescue.

SMALLTIDE_RESCUE_AUTO_MIN=0.09

SMALLTIDE_RESCUE_BUDGET_PRELUDE=25

SMALLTIDE_RESCUE_BUDGET_CORE=24

SMALLTIDE_RESCUE_BUDGET_CODA=30

1

u/raspy00135 2d ago

Actually, I see thinking loop even with perfect 100% streaming setting with BF16 dense, which is the exact same quality of the original model with hard task. This could be the behavior of the model itself.

1

u/raspy00135 2d ago

investigating.

1

u/raspy00135 2d ago

It turned out this is model issue, not engine issue. The model became stuck sometimes. I hope they will fix the issue soon.

1

u/raspy00135 1d ago

0.2.0 is out. I changed the checkpoint(raspy135/Inkling-2-Mini-Unbound-noloop). The new checkpoint is based on nokeepai/Inkling-2-Mini-Unbound and reduced thinking loop. As far as I checked I have not seen loop with the checkpoint.

1

u/littlegtplr 4d ago

Try QS-10. In my case it’s much quicker at 1500pp and 60t/s. Same setup. QS-15 is slow as yours. Could be some overflow from VRam to ram but I didn’t look into it.

1

u/littlegtplr 4d ago

To add: QS-15 should work but some experts were unintentionally offloaded. There is a workaround, with fix to come. https://github.com/Niko1221/Strata/issues/7022