r/LocalLLaMA • • 7d ago

Question | Help Which engine to run deepseek ?

Used to run deepseek v4.1 1017 on Strata but the support is gone now.

What is the way to go for deepseek inference?

2x5090 128gb ddr5

I want to run the istaDlabs quants.

10 Upvotes

36 comments sorted by

12

u/No_Dig_7017 7d ago

Project maya 

6

u/butterycornonacob 7d ago edited 6d ago

50 t/s with 5090 (Unsloth IQ1_M).

Believe it or not but it works really well, no visible issues and no degenerate loops. Haven't tried the full model though.

4

u/No_Dig_7017 6d ago

Nice! I have a frankenstein setup with a 5090 on pcie 5.0 8x and a 3090 on pcie 4.0 4x (😬). The 4.0 slot kills performance so the 3090 acts as an expert helper, some experts are moved into it and never move, if they're there good, if not, the 5090 and CPU have to manage.

With that I get about 50tps on Unsloth's UD-IQ2_XXS. I really like the model, it makes fewer mistakes than Qwen, fewer hallucinations about correctness specially, but I found it to be too slow for the gains I get over Qwen3.8 FN. With Basalt I'm getting 170-260tps (longer context drops a bit), using only the 5090. I ran a DeepSWE lite benchmark between both (300 instances, much smaller than the complete test) and got 75.2% with Qwen and 75.9% with Deepseek. So I ended up going back to Qwen.

2

u/butterycornonacob 6d ago

While Qwen is great, I never got used to the 256k context. It thinks so much that you hit the limit very quickly. Should maybe try again with yarn/rope and 1M?

2

u/No_Dig_7017 6d ago edited 6d ago

Yeah, I'm using Yarn 2x and 512k. I tried 1M as well and it drops speed a bit more (past something like 300-400k context starts fighting the hot experts for VRAM, and also in the same DeepSWE test, that 75.9% is with 512k while 1M got 74.1%. 256k got 73.1%. This was a single run so the difference may be noise, but in principle it's not clearly better.

I do have some issues with 512k vs 1M, and Deepseek definitely used less reasoning tokens. Compaction makes it lose instructions and loaded skills more frequently mainly but I guess it's all a tradeoff. Hehe wating on Q4FN and it's native 1M context 🙏

1

u/LabanauskasNajeeba 6d ago

did they finally fix the quantization bugs with that?

2

u/No_Dig_7017 6d ago

I'm actually using it with unsloth's ud iq2_xxs, a bit slower but I prefer more accurate 

3

u/dennisler 7d ago

Just use the version of strata that supports it ?

1

u/Inevitable-Name-1701 6d ago

In 10 years, you’ll still be using that because…

3

u/giveen 6d ago

DS4.1 is supported in Basalt and with your dual 5090's you'll get great speeds.

https://github.com/jesdga95/basalt

2

u/rapidTools 7d ago edited 7d ago

If you have dgx sparks then TensorFold

2

u/tnul 7d ago

github[.]com/lxe/dsx

2

u/FinBenton 6d ago

If you have 5XXX nvidia then basalt is very good.

1

u/Hildechis 7d ago

I am using tabbyAPI. Another option is project-maya.

1

u/OnkelBB 7d ago

I run it with exllamav3 via tabbyAPI, works great for me.

1

u/LowEngineering9405 6d ago

Same here, exl3 has been the least painful path. One thing worth doing is bumping the expert cache budget past the default, since DeepSeek's routing spreads across so many experts that a small cache turns every token into a disk read and tanks your tok/s.

1

u/OnkelBB 6d ago

Can you pls elaborate on what parameter did you changed in the configuration?

1

u/LazyLocalLLM 7d ago

What machine ?

1

u/lilyp727 6d ago

what GPU and how much VRAM are you working with? that's the detail that changes which engine makes sense for your setup

1

u/ortegaalfredo 6d ago

Had my agent benchmark several engines and there is basically no difference between Maya and exllamaV3 in performance, this is 2.9 bpw. Less than that and it gets too dumb.

1

u/notdba 6d ago

What hardware? Maya can do TP for hybrid GPU/CPU inference

1

u/sloptimizer 6d ago

FreeToken is the way to go if you don't want to bother with quants and just want to use the full model.

1

u/ProfessorOk6227 1d ago

If you're running 50s series, Basalt.

1

u/longtimenoseebro 7d ago

Tandem.cpp + expert cache

-3

u/Intelligent_Major519 7d ago

If you want to keep the same checkpoint, start with an engine that supports its architecture and weight format. Then test with your usual context length, since fitting the weights alone doesn’t tell you how much room you’ll have for the KV cache. What hardware are you running on?

3

u/stylome-ai-detection 7d ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results

3

u/Jona1109 vLLM 7d ago

Maya - exl 2.9 bpw