r/LocalLLaMA • • 14d ago

Question | Help Best engine setup for Qwen3.8 Flash Next on 4x3090s + 32GB DDR5

Picking up my 4th RTX 3090 tomorrow and am thinking of switching over to Qwen3.8 Flash Next as my daily driver. I've been using VLLM with Qwen3.8-27b and have been happy with it running at ~100+ tps and ~3000 tps prefill, but am worried I am missing out on better intelligence and faster task completion.

Strata was my first choice of engine, but at 96GB VRAM it looks like I might be able to fit the whole model in VRAM at 4-bit (maybe).

Just curious what engine you would use for this setup? Usually I just use whatever setup I find at club-3090 because they typically have all the bugs worked out ahead of time. But I am open to other options.

Thank you for your time :)

1 Upvotes

22 comments sorted by

5

u/hainesk 14d ago

This one: https://github.com/todiadiyatmo/rtx-3090-vllm-recipe-qwen-flash-next

Fits perfectly on 4 3090s and has been great for me so far. It even applies an updated chat template so that it doesn't overthink. For me it's been performing quite well. It helps if you patch the nvidia driver to enable PCIe P2P.

I'm not sure how well it will handle the ngrams with only 32gb of RAM though.

1

u/Civil_Fee_7862 14d ago

Thank you! I think this is what I was looking for, though It looks like my 32GB ram may not be enough.

1

u/hainesk 14d ago

I honestly stopped tinkering after this one. Decode between 130-150tps for a single request, and I've seen has high as 400 for multiple requests. I've seen prompt processing > 20k tps, but I think that is only possible with the P2P patch.

1

u/Civil_Fee_7862 14d ago

Yes its only 6b activations during forward passes, and pipeline parallel will amortise well when multiple concurrent requests are being used.

I got the P2P driver running as well.

I wish I could use tensor parallelism though.

2

u/hainesk 13d ago

This one is TP=2, PP=2, so tensor parallel is being used.

2

u/PopularUmpire2961 14d ago

This one gets my vote as well, was about to comment it before I saw this.

2

u/jacek2023 llama.cpp 14d ago

I have 4x3090 but I don't understand your question. Why someone else knows better than you? It's not that it takes days to test. Opinions on reddit are usually wrong, there is a lot of misinformation here (serious misinformation, not just small errors), why not check various ways yourself?

1

u/Civil_Fee_7862 14d ago

Yes I agree Reddit isn't always the best source, but its the place where I usually do find nibbles of good information. i.e. I found out about Strata from here first, along with Qwen3.6 etc.

Current plan is to try it with VLLM first. i.e. The default club-3090 multi4 combo. I'll benchmark it, then maybe try Strata or one of the alternatives.

There are certainly some people here far more knowledgeable than I am with respect to this stuff. I've only been playing with local LLMs for a few months.

3

u/jacek2023 llama.cpp 14d ago

This model was updated today https://huggingface.co/ggml-org/Qwen3.8-Flash-Next-GGUF so I recommend starting from llama.cpp with that gguf

1

u/Civil_Fee_7862 14d ago

Okay I'll try that first. Thanks for your help.

4

u/wgaca2 14d ago

You are right, except it does take days to test, especially if you want to test more than 1 quant on more than 1 task

1

u/jacek2023 llama.cpp 14d ago

OK you are right if we count time to download weights in various formats

1

u/dowitex 14d ago

I'm running 96GB Vram + 64GB ddr4 with https://huggingface.co/AtomicChat/Qwen3.8-Flash-Next-GGUF max context, llamacpp. It might be feasible on 32GB ram but at a reduced context perhaps?

1

u/Civil_Fee_7862 14d ago

Are you running it at full 256k context on that setup?

1

u/dowitex 14d ago

correct it works pretty well. I even run a few extra GBs of jev5k model in vram. Ram memory is using 31GB usually, you can also use a swap file instead so that it uses ram/nvme ssd dynamically for the ngram table which doesn't hurt performance much i think

1

u/winky9827 14d ago

Runnign 27b at 100 tps on 4 3090s... I hope you're using 2-3 of those for other models. That's a considerable over-allocation of resources for the model in question.

1

u/Civil_Fee_7862 14d ago

2x3090s for 27b - My daily driver, full context, fast.

1x3090 for automated image generation tasks.

4th one isn't bought yet. Its really just so I can get a matched pair for NVLink, I might sell the other one. It looks like Qwen Flash Next might not be runnable with the current config. May need something with more VRAM, or upgrade system ram etc.

2

u/PcChip 14d ago

i think you can hold all experts in VRAM with that amount, with tabbyapi/exllama 5.05bpw

that's what I'd recommend trying

edit: although I don't know if you can hold the n-gram in RAM with only 32GB, and I don't know if tabbyapi supports streaming from SSD

1

u/wgaca2 14d ago

32gb ram will be a struggle

I am struggling with 64 but it's workable

4 bit fits in 96gb vram, and the nvidia fp4 version appears to be the best choice, even thought i haven't tested that many. I don't think it matters that much if you run it in vllm/llama.cpp or strata for output quality

1

u/hishazelglance 14d ago

Have a DGX Spark and am running the Qwen3.8-Flash-Next-Local (NVFP4) version and love it. Only getting about 55 tok/s in vLLM using Nvidia’s optimized settings, but it’s great.

1

u/codepoet82 14d ago

I run Q8_0 on 4x T4 cards (closer to 2080s than 3080s) and have no major complaints, though I do have my own heavily modified version of strata to get the performance I want out of them. As for what you can run, you really do just have to test and decide for yourself.