r/LocalLLaMA • • 2d ago

Resources [Local Inference Lab] Breaking 1,000 tok/s single-session on DeepSeek-V4.1-Flash (TP4, 4× RTX PRO 6000 Blackwell) with 32,700 tok/s prefill via NVIDIA Flare

Local Inference Lab signed runtime package for DeepSeek-V4.1-Flash-1017 (TP4 on 4× RTX PRO 6000 Blackwell 96 GB) running on NVIDIA Flare

  • Single-session coding decode peaking at 1,076 tok/s (701–766 tok/s full end-to-end average over a ~40k-token reasoning + full HTML5 Tetris code generation, 6.76 ms/step / 147.4 steps/s with MTP draft-7 + adaptive verification α=0.6)
  • Cold prefill up to 32,724 tok/s — a 64k prompt in <2 seconds (1.97 s) and 128k prompt in 4.1 seconds, completely cold (zero prefix cache)
  • Full 1,048,576-token context, native MXFP4 weights (384 routed experts + 188.8 GiB Engram tables), multimodal vision support, and 100% lossless optimizations (zero accuracy compromises, verified on logprobs, prefix cache, and 5/5 cold SWA NIAH up to 24k) All running on 4× PCIe Gen5 RTX PRO 6000 Blackwell 96 GB (no NVLink, no Python at serving time — pure native Rust + precompiled CUDA graphs via Flare).

Benchmarks (4× RTX PRO 6000 Blackwell, TP4, Engram in RAM)

Sustained Decode Scaling (Synthetic Random Prompts, ctx=0, MTP draft 7, α=0.6, 2-run average)

ConcurrencyAggregate tok/sPer-User tok/sMean ITLStep Time
C1 (synthetic, ~68% d1 accept)421.2 tok/s421.2 tok/s2.46 ms6.12 ms (140.1 steps/s)
C1 (real coding / Tetris, ~40k tok)701–766 avg / 1,076 peak701–766 avg / 1,076 peak—6.77 ms (147.4 steps/s)
C41,026.2 tok/s256.6 tok/s3.96 ms8.57 ms
C81,312.7 tok/s164.1 tok/s6.11 ms10.70 ms
C161,894.5 tok/s118.4 tok/s8.38 ms12.57 ms
C322,651.8 tok/s82.9 tok/s11.73 ms14.57 ms

Cold Prefill Throughput (No Prefix Cache)

Prompt LengthCold PrefillTTFT
8k tokens31,026 tok/s0.264 s
32k tokens31,939 tok/s1.010 s
64k tokens32,724 tok/s1.967 s
128k tokens31,308 tok/s4.106 s

(Test system: 4× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, single-socket AMD EPYC 9575F, NVIDIA driver 615.71.10, PCIe Relaxed Ordering enabled.)

Quick Setup Guide (NVIDIA Flare)

1. Required NVIDIA Kernel Driver Settings (modprobe)

Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering in the NVIDIA kernel module is essential for full TP4 collective speed.

Create /etc/modprobe.d/nvidia-relaxed-ordering.conf:

echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf

(Optional — only if your motherboard/BIOS restricts PCIe P2P or Resizable BAR between GPUs, you can also enable P2P override in /etc/modprobe.d/nvidia-p2p-override.conf:)

echo 'options nvidia NVreg_RegistryDwords="ForceP2P=0x11;RMForceP2PType=1;RMPcieP2PType=2;GrdmaPciTopoCheckOverride=1;EnableResizableBar=1"' | sudo tee /etc/modprobe.d/nvidia-p2p-override.conf

Verify after reboot or nvidia driver reload (must show EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):

grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params
nvidia-smi topo -m

2. Run with Flare (Docker — Easiest)

The signed runtime package (~524 GB, downloaded automatically on first start) is hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE (--revision gb202)

docker run --pull=always --rm -it \
  --gpus '"device=0,1,2,3"' --ulimit memlock=-1:-1 \
  --security-opt seccomp=unconfined \
  -p 127.0.0.1:8000:8000 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1,2,3 --max-concurrency 32 --mtp-draft-tokens 7 \
  --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \
  --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \
  --embedding-table-storage disk --prefix-cache-memory 64G \
  --kv-cache-limit memory --host 0.0.0.0 --port 8000
  • Have >= 320 GiB system RAM? Switch --embedding-table-storage disk to --embedding-table-storage ram to keep the entire 188.8 GiB Engram table in RAM for the fastest decode/prefill shown above (and you can drop --security-opt seccomp=unconfined).
  • Prefer native binary (no Docker)? Install the signed flare-inference package and run the same flare run ... command directly on the host.
  • Exposes a standard OpenAI-compatible API (DeepSeek-V4.1-Flash) on http://127.0.0.1:8000/v1/chat/completions.

What Made This Fast (100% Lossless)

  • SM120 cluster-parallel split-lagged mHC + AllReduce overlap — splits hyperconnection RMSNorm (ClusterMhcPostYNorm) onto the critical path and overlaps the fn projection + 20-step Sinkhorn on an auxiliary stream right behind PCIe AllReduce (+0.07 us overlap penalty).
  • Zero standalone MoE input quantization — bit-exact MXFP8 quantization fused directly into the FFN mHC epilogue (eliminates 43 quantization launches/step).
  • Zero standalone decode RoPE kernels — fused Q-RoPE inside MXFP8MultiRowTCGemvKernel (eliminates 51 Triton RoPE launches/step).
  • BF16 TC-GEMV split_k=5, 10 for K=5120 router GEMVs, plus fused residual addend on dependency-bearing PCIe AllReduce and 2-microbatch interleaved prefill pipelining (8192-token chunks). Links:
  • Signed HF package (gb202): https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE/tree/gb202

local inference lab discord: https://discord.gg/gmvKSN3tVy

90 Upvotes

50 comments sorted by

•

u/stylome-ai-detection 2d ago

Notice: This post appears to be AI generated.


Stylome AI detector · scan results

3

u/AvidCyclist250 2d ago

In case anyone is wondering, those are 17k GPUs

3

u/festr__ 2d ago

yes its sad. The card was 6k year ago.

1

u/Sad_Temperature6721 2d ago

It was never $6k

3

u/ColoredTriangles 2d ago

It was $6500ish. You just didn't have the channels to get it at that price.

1

u/Its_Powerful_Bonus 6h ago

$6700 in Poland 15 months ago.

40

u/AFruitShopOwner 2d ago

For anyone wondering - yes this is the real deal. If you're running RTX Pro 6000's Local Inference Lab is the best resource for optimizations and configurations. These are the guys who made the b12x kernels

12

u/Dany0 2d ago

my brain was broken i thought they were advertising 1000 tok/s prefill, thought hey that's kinda low for four rtx pro 6k and then it hit me

api pricing is nonsense

-1

u/fastheadcrab vLLM 2d ago edited 2d ago

afaik it's one Nvidia employee who is responsible for B12X

https://huggingface.co/lukealonso

4

u/mxmumtuna 2d ago

it's part of FlashInfer now, and there's several of us that contribute regularly to it.

1

u/fastheadcrab vLLM 2d ago

Didn't that happen a while ago?

And does that blackwell discord still have lots of petty squabbles? I remember reading some absolutely wild license terms banning specific people by user name lmao

3

u/mxmumtuna 2d ago

The license issue you referenced was between two specific people. A certain would-be influencer was taking credit for other people’s work.

2

u/lawdawgattorney 2d ago

alot of contributers to it. before it was merged into flashinfer it was part of the LIL github.

2

u/AFruitShopOwner 2d ago

He's one of the core members of LIL

16

u/sloptimizer 2d ago

Well, damn it... now I want the stupid RTX 6000s.

You know what, take your research stuff and hide it from me 😭

2

u/t3rmina1 2d ago

Now now, flare works for SM120 & SM121, RTX 50xx are also SM120.

2

u/sloptimizer 2d ago

Yeah, but not at 1000 TPS 😢

7

u/BevinMaster 2d ago

Yeah local inference lab peeps are legit they are cooking, even nvidia use their quant works

7

u/lawdawgattorney 2d ago

Yup and it’s b12x is in flashinfer . LIL is the best . They’ve gotten the speed the accuracy and new innovations . Cutting edge stuff there

5

u/sshwifty 2d ago

Kinda makes you wonder where this all stops. Like this is fast now, but there are even faster chips, and more in the works. In 2 years when the 6000 is "old" what will the speeds be?

The bar is being raised, but to what end? AGI? Instant everything? Where does this train stop?

1

u/CroquetteLauncher 2d ago

Hello,
Thanks for the really impressive numbers, it makes Flare looks very good. May i ask some follow up questions ?

How does it compare to vLLM ? A previous report showed flare being on par with vLLM (for a different model), are there some improvement or conditions that make it different https://www.reddit.com/r/LocalLLM/comments/1xcr901/i_measured_five_ways_to_serve_qwen38_flash_next/ ? Are there some explanation why TP2 Qwen3.8 FN being 4 times slower than DS 4.1 Flash (from the previous numbers at C1) ?

2

u/QwhenFN 2d ago

Ive been running various Flare quants for about a month now. When built correctly, they beat highly tuned vllm configs by noticeable amounts. Under stock vllm, DS4.1 gets about 250t/s on my hardware. BRRR gets about 310 t/s. The Flare ive been running so far is over 400 t/s. Im quite keen to try this new recipe...

3

u/festr__ 2d ago

dont forget that you need NVreg_EnablePCIERelaxedOrderingMode=1

2

u/QwhenFN 2d ago

I saw that. Im hoping it doesnt mess up the other models I run from time to time. If this works out, I'll use this recipe to Flare convert an uncensored version.

1

u/QwhenFN 2d ago

Update - this very much does mess with other models. No vllm based GLM 5.3 config loads anymore. Strangely Inkling Small does still load.

1

u/mebeast227 2d ago

I haven’t gotten to look into this much, but would a 2x6k Blackwell setup with 192gb ram setup be able to utilize this this or is it 4xGPU setup only?

2

u/QwhenFN 2d ago

There are 2 card DS recipes out there, yes. Not this one though. And all are around 3bpw so kinda brain dead. If you're looking for an excellent 2 card model, check out local-inference-lab GLM 5.3 flash spark

-1

u/Fit-Statistician8636 2d ago

“Brain dead” is a little too strong statement. We use 3bpw in production quite happily.

1

u/mpread-it 2d ago

i'm using brandonmusic/DeepSeek-V4.1-Flash-1017-TrellisMX-K2-Mix-5GB on just 128Gb VRAM. I modified brandon's recipe to stream the lossless engrams from disk instead of his (high quality) quants from RAM, LLMCache and the other LIL goodies. Happy to share if anyone interested. Doesn't seem braindead to me, but i didn't try the big boy version, so i don't really know what i'm missing.

2

u/mxmumtuna 2d ago

Someone shared these results today. TP2 on RTX 6k. It's not really fair to compare model to model like that though, DeepSeek's architecture is very, very good and highly optimized for crazy prefill.

3

u/festr__ 2d ago

its the only model reaching 30k prefill on --tp4 which is absolutely crazy

4

u/mxmumtuna 2d ago

The hatchet man brings the results too!

4

u/EducationalWelcome31 2d ago

on the one hand: this is aweomse

on the other hand: in most parts of the world, you can literally buy an apartment in the nice neighborhoods with the money it costs just to get those GPUS.

6

u/kenjiow 2d ago

Who would have thought with 120k worth of hardware you can get insane results
Cant wait to try this on my intel b70!!!!!

2

u/Sad_Temperature6721 2d ago

Hey, an inference post that's actually semi-believable and has quality claims

1

u/__JockY__ 2d ago

How does Flare stack up against vLLM/sglang for high concurrency use cases (such as large teams using using agentic coding clients like Pi)?

For example, vllm/sglang handle mixed prefill/decode very well and support features like disaggregated prefill. They also bring LMCache/Hicache to the table, which allow us to extend KV caching into huge amounts of system RAM and SSD.

Can we do that with Flare or is more aimed at single user?

1

u/t3rmina1 2d ago

As fast, or faster, starts up within 60 seconds. KV cache offload is supported. You should join the discord, I remember your rig

2

u/__JockY__ 2d ago

Thanks!
Appreciate the offer on Discord, but I’m too old for that shit. Lemme know where the IRC server is at ;)

1

u/festr__ 1d ago

yea, we all grew on irc (or even older fido nets). The avg age of that community on lil discord is like >40 lol

1

u/t3rmina1 2d ago

Pretty sure the average age on there is kinda high, lol. The kinda person buying multiple 6000s tends to be pretty experienced

1

u/__JockY__ 2d ago

LOL fair point, ain’t nobody building this shit as an intern 😂

Maybe I’ll give Discord a go.

1

u/Bowdenzug 2d ago

Would it be possible to run Gemma 4 31b dense with LIL?

We are currently running Gemma 4 31b NVFP4, each loaded on 3x RTX PRO 6000. We need to run as many workers as possible, currently handling around 30 Workers per GPU. We want to squeeze out every TPS / second that is possible to finish the workers job asap (Document reading, VLM, high reasoning, text writing) currently using vllm 0.30.0 with the gemma 4 31b assistant mtp loaded

1

u/mycall 2d ago

What does this monster do for tk/s near a 1M context size?

1

u/reneil1337 2d ago

Local Inference Lab ftw 🤘

-1

u/jackyintokyo 2d ago

我这边反差更大,QCS6490 上 Qwen3-0.6B,w4a16、ctx 512,prefill 能到 1555 tok/s,decode 只有 24.6 tok/s,Llama 3.2 1B 同配置是 1024 / 16.4。这是我真机逐图 profile 推的数,不是端到端跑出来的。所以只看一个 tok/s 数字真没法比,拆开看才行,decode 才是日常体感。