DeepSeek-V4.1-Flash-1017 Flare TP3 20261107 3x RTX PRO 6000 96GB
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by BoxTops4Coochie (recipe, Flare TP3 fork, measurements)↗, NVIDIA - Flare runtime + MXFP4 Engram tables↗, Local Inference Lab - FlashInfer b12x kernels↗, Fraser Price - BRRR fused decoder kernels (Apache-2.0)↗, DeepSeek - DeepSeek-V4.1-Flash-1017 base model (MIT)↗ · listed by localai-recipes
Initial version · updated 44 h ago · license MIT
chat code 1m-ctx speculative community-recipe mxfp4 long-context flare tensor-parallel dspark engram expert-offload
Second NVIDIA Flare TP3 recipe for DeepSeek-V4.1-Flash-1017 on 3x 96 GB RTX PRO 6000 Blackwell at 1M context, superseding this site's 20261105 Flare build. The author rebased the personal Flare fork onto upstream 972e28e4 (FlashInfer 1f8ed8a3) and adds BRRR's fused decoder layer tail on all 40 layers (CSF decoded in-kernel; parked layers 20-33 gated to <=12-row graphs), token embedding + vision tower in host RAM, 342 hot experts per parked layer in a merged VRAM/host bank, and MXFP4 Engram tables in RAM. No prebuilt image: export locally with EXPORT.md (~2 h, ~900 GB disk). Author-measured at 450 W/GPU, +75 MHz core, +6000 MHz memory: KV 2,373,760 tokens (2.37 x 1M); decode 32K c1/c4/c8 298-305/716-738/957-975 tok/s (350 W: 275/644/850); 128K 296/708/956; 512K c1/c4 275/657; prefill 32K/128K 14.5K-14.8K/14.6K tok/s; eval 43/43, tools 60/60, lavd + hotel-lights 30/30 at c8, retrieval 128K/900K pass, LiveBench coding 82.2, c8 KV stress PASS. Launch argv verbatim from serve.sh at the pin.
Launch command
'FLARE=<fork>/flare/target/release/flare PACKAGE=ds41-1017-engram-mxfp4 ./serve.sh' '# serve.sh default (ENGRAM_RAM=1) sets FLARE_ENGRAM_RAM_TABLES=0 and execs:' /usr/bin/env FLARE_ENGRAM_RAM_TABLES=0 '<fork>/flare/target/release/flare' run ds41-1017-engram-mxfp4 '--gpus 0,1,2' '--port 15015' '--host 127.0.0.1' '--served-model-name DeepSeek-V4.1-Flash' '--prefix-cache-memory 16G' '--mtp-draft-tokens 5' --mtp-adaptive-verification '--mtp-max-verification-token-budget 24' '--mtp-adaptive-verification-alpha 0.8' '--scheduler-policy balanced'runtime
env: 'serve.sh: FLARE=<fork>/flare/target/release/flare (default flare/target/release/flare) | PACKAGE=ds41-1017-engram-mxfp4 (Flare model-cache default version) | ENGRAM_RAM=1 default sets FLARE_ENGRAM_RAM_TABLES=0 (both Engram tables in host RAM); ENGRAM_RAM=0 instead passes --embedding-table-storage disk (direct I/O, ~59 GiB host RAM, decode -3-4%) | GPUS=0,1,2 | PORT=15015 | HOST=127.0.0.1 | PREFIX_CACHE=16G | DRAFTS=5 | ALPHA=0.8 | SCHEDULER=balanced | BUDGET=24 (max verification rows per step; author default since 2026-11-07 12:34 -05:00, commit a155eebeaff2c525343ba624d0554803f0261a59; 128 = no cap, ~1-2% slower at c8; BUDGET env overrides). All verbatim from serve.sh @ 2ce6a492b49992e2d67d5a637418614cae35fd8b (folder-freeze commit, 2026-11-08T05:16:50-05:00). Export-time (export.sh): FLARE_DS41_TP3_GRAPH_GIB=1 | FLARE_DS41_HOST_EXPERT_LAYERS=20-33 | FLARE_DS41_HOT_EXPERTS=342 (HOT) | FLARE_DS41_MERGED_BANK=1 | FLARE_DS41_TP3_VOCAB_PARALLEL=1 | FLARE_DS41_EXPERT_COUNTS_DIR=expert-order/ | FLARE_DS41_BRRR_LAYERS=0-39 | FLARE_DS41_BRRR_CKPT=$CKPT | FLARE_DS41_BRRR_PARKED_MAX_ROWS=12 | FLARE_DS41_EMBED_HOST=1 | FLARE_DS41_VISION_HOST=1 | FLARE_DS41_AR_ROWS=1024 | HF_HUB_OFFLINE=1; ignition export --gpus 0,1,2 --max-concurrency 8 --prefill-chunk-size 4096 --mtp-draft-tokens 5 --draft-head-quantization nvfp4 --markov-head-quantization fp8 --vocabulary-parallel-sampling.'
notes: "Flare serves an EXPORTED package (weights laid out per GPU, kernels autotuned, CUDA graphs captured): the package is tied to the hardware AND clocks it was exported with - export at the power limit and memory offset you will serve with, because kernel tuning measures the cards as they run. Author's box: 450 W/GPU, +75 MHz core, +6000 MHz memory offset (16,365 MHz), ECC off, persistence on, 3x PCIe Gen5 x16, Threadripper PRO 7965WX, 256 GB DDR5-6000, driver 615.71.09, CUDA 13.1. Power sweep on this build: 450 W vs 350 W = +10-14% decode, +12-14% prefill, +12% coding; 600 W measured once was within a few percent of 450 W (297/757/1,002 tok/s at c1/c4/c8, coding 460) for ~240 W more at c8, so 450 W stays the author's recommendation. Other exports (export.sh changes HOT only): HOT=300 -> 6,247,680 KV tokens (six 1M sessions), 350 W natural-EOS 32K 269/610/800 tok/s, 4-7% slower, corruption check clean. KV grows ~92.2K tokens per hot expert moved to host RAM (~79 MiB/GPU). top_p is fixed at 1.0 (vocabulary-parallel sampling has no top-p filter) and temperature is fixed at 1.0 by Flare's DeepSeek recipe. Thinking toggle is chat_template_kwargs {enable_thinking: bool}; vLLM's thinking/clear_thinking fields are rejected with 400. Spec decode: DSpark (checkpoint's 3 mtp.* layers), 5 drafts, NVFP4 draft head, FP8 Markov head, adaptive verification alpha 0.8 / budget 24 (the author default since 2026-11-07; the published perf table was measured at the old no-cap default 128, the A/B gaps sit inside run-to-run spread). TP3 needed four FlashInfer patches (swiglu_limit in the tiny_decode W4A8 MoE kernel - without it replies corrupt mid-way; world-3 DCP all-to-all + tuning tables; packed-FP4 Engram lookup) plus the fork's planner/bootstrap/vocab-parallel fixes in source.patch (49 files, 17 new incl. brrr/; review-pass regeneration 593ecb6cdbdb171bcf539a24c37d8fe4b147bed9, 2026-11-07T19:17:42-05:00). Startup ~55 s; server log line 'Start server. http://127.0.0.1:15015'. Qualification refresh 2026-11-08: results/2026-11-08-ab/ (default vs s2gated vs s2ungated vs variantA vs stage1-with-pdl @32K x r1-r3; every variant KV-verified with 0 TRUE corruptions, default restored at alpha 0.8; CHAIN.md carries the chain log), eos-bench.json refresh, run_qualification/stress_kv/tool_calls tooling updates; kept in THIS folder through the 2026-11-08 folder split."
Use this recipe with your agent
Paste this into any agent chat — it fetches and applies the recipe:
Fetch https://localairecipes.com/api/v1/recipes/deepseek-v4-1-flash-1017-flare-tp3-20261107-3x-rtx-pro-6000-96gb.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.Or fetch it directly:
curl -fsSL https://localairecipes.com/api/v1/recipes/deepseek-v4-1-flash-1017-flare-tp3-20261107-3x-rtx-pro-6000-96gb.jsonDownloads
- Weights https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017dense + routed-expert weights @ 1bae0e1088993b9b82de08f59de5be5a34e42170 (MIT), shards 1-46
- Weights https://huggingface.co/nvidia/DeepSeek-V4.1-Flash-1017-NVFP4both Engram n-gram tables in MXFP4 (97 GiB, MIT), shards 47-48; revision not stated in EXPORT.md
- Reference https://github.com/BoxTops4Coochie/RTX-PRO-6000-TP3-Inference-Recipesrecipe folder 'DeepSeek-V4.1-Flash Flare-tp3-20261107' @ 2ce6a492b49992e2d67d5a637418614cae35fd8b (folder-freeze commit 2026-11-08T05:16:50-05:00; 50e77133 no longer resolves after re-publication)
- Reference https://github.com/NVIDIA/flare-local-inferenceflare @ 972e28e44781d8d0c84d70ae434db92c36076a43 (= upstream HEAD on 2026-11-07) + this folder's source.patch (49 files, 17 new incl. brrr/, branch ds41-tp3-v3; review-pass regen 593ecb6)
- Reference https://github.com/local-inference-lab/flashinferFlashInfer @ 1f8ed8a3 (upstream Flare's pin) + four patches in tp3-patches/
- Reference https://huggingface.co/fraserprice/DeepSeek-4.1-Flash-1017-BRRRBRRR fused decoder layer tail origin (Apache-2.0); adapted for TP3 + Flare weights in brrr/kernels/decoder.cu
Revision notes
Initial version.
Revision history
Initial version.
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.