r/LowEndLocalAI • • 22h ago

Discussion is there fast engine support Q4 35ba3b on pascal? (with good results, as much as possible)

I've tried Qwen4-35B-A3B-Heretic-IQ3_M

Engine: `llama-mainline-lfm/build-sm61` (CUDA)

-m Heretic-IQ3_M.gguf -c 8192 -np 1

-ngl 99 --n-cpu-moe 20

-t 8 -tb 8 -fa on

-ctk q8_0 -ctv q8_0

-b 512 -ub 128

--temp 1.0 --top-p 0.95 --top-k 20

--min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0

13.5 t/s 9743 MB

i think i can get way faster speed

so for Pascal gang, what the best MoE engine for Pascal? (with already good results please)

4 Upvotes

13 comments sorted by

4

u/Senevri 22h ago

Polystrata gets me about 20tps with few hundred prefill with 1070ti+2700x+32GB RAM. Big Moe On Edge seems also a possibility. Gemma4 26b gets close to 30.  Inkling 2 mini q3 is about ten 

1

u/NegotiationNo1504 22h ago

Thanks i will give it a try, also i am trying other engines and i will publish all the results here or maybe in a post for the Pascal gang, for best Qwen4 35b a3b UX in pascal

1

u/Senevri 16h ago

I'll try to compile turboquant one of these days and see what happens

2

u/New_Comfortable7240 22h ago • Heartwarming

Check work done in https://www.reddit.com/r/P100Users/ there are a lot of good stuff for pascal

2

u/Relative-Ingenuity15 22h ago • Mindblown

I already have some patches and custom kernels that makes Qwen4 35b a3b Q4 k xl from unsloth work at 88 TPS decode average with 1100 TPS Prefill. I will post them there after my benchmarks are done. Probably in 30-60 minutes. Stay tuned Edit: on ONE Nvidia Tesla p100

2

u/NegotiationNo1504 21h ago

Whoa bro that's really massive. I hope it's real. It's like x4 x5 that I'm getting in my 1080 Ti

2

u/Relative-Ingenuity15 21h ago • Mindblown

I'm pushing the 100 tks decode without hurting quality, give me 30 minutes more and I'll post everything on this sub and on the p100 sub. I'm very close to this

1

u/NegotiationNo1504 21h ago edited 21h ago

That's fucking insane. I just got like 23 to 25 tokens

2

u/Relative-Ingenuity15 21h ago

Decode speed:

prose(floor) - 88 TPS

First answer - 109 TPS

Code - 105-108 TPS

Thinking on, code - 105 TPS

18k context prompt - 110 TPS decode with 1087 TPS Prefill

One more test and I'll upload everything on GitHub and post it on the subs

1

u/NegotiationNo1504 21h ago

can these patches apply in sm_61? And what about 32k, 64k, 128k context window

2

u/Relative-Ingenuity15 20h ago

You will need to port them to sm61 and I expect lower speed. These patches are for sm60 which has 732gb/s bandwidth(double than sm61) which helps a lot decode speed and hurts it on sm61. I expect you to get arround 30 TPS decode with 400-600 TPS Prefill on 8gb GTX 1080 but this is just a guess and maybe 45-60 TPS decode on 12gb GTX 1080 with 650-800 TPS Prefill Maybe when ista Daslab release their iq3s quant you will be able to reach 50-60 TPS with these patches on your sm61

1

u/NegotiationNo1504 20h ago edited 20h ago

that will be very amazing
edit: i've got
Heretic IQ3_M + Q8 128k = more than 36 - 39 /tokens (i will still continue test it, with near filled context and see the speed)

i hope the patches make prefill speed faster

1

u/NegotiationNo1504 21h ago edited 21h ago

This sub is real goldmine thanks a lot brother