localairecipes launch configs for local inference

DeepSeek-V4.1-Flash-1017 EXL3 3bpw TP2 20261124 2x RTX PRO 6000

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by AzallazA (Hyperflare TP2 DS41 EXL3 release: fork + patches + measurements)↗, NVIDIA - Hyperflare runtime (ex-Flare; binary/CLI stay flare)↗, Local Inference Lab - FlashInfer b12x kernels + llm-inference-bench↗, Diffbot - EXL3 3-bit pack, int4 Engram tables, xmoe kernels↗, jcartu - WARMIND v1.1 steering sidecar (MIT)↗, DeepSeek - DeepSeek-V4.1-Flash-1017 upstream weights↗ · listed by localai-recipes

revision r2 · commit fada684e61 · updated 5 h ago · license MIT

chat code vision steering community-recipe mtp-speculative hyperflare long-context flare tensor-parallel dspark engram exl3 expert-offload

Diffbot's EXL3 3-bit expert pack of DeepSeek-V4.1-Flash-1017 (int4 Engram tables) served by NVIDIA Hyperflare at TP2 on two 96 GB RTX PRO 6000 Blackwell cards, 450 W PL. AzallazA's 20261124 release: post-split 3-repo stack (hyperflare-inference @ 5ffe4d54 + patches over hyperflare-recipes fee34e1 and flashinfer b12x 0aa01681) - the same serving binary as TP3. Plain package gb202-tp2-202611241005: 2,839,808 KV tokens / 269 snapshots, STACK_LIMIT 144 B, ~151 GiB host RAM (ENGRAM=ram). Optional WARMIND v1.1 steering twin gb202-tp2-202611241209 (steering_scale=0 unsteered default). Perf numbers are author-claimed: llm_decode_bench.py v0.8.0, 15 s decode cells, ignore_eos=true, paired R1-R2 runs.

Launch command

'FLARE=<fork>/flare-core/target/release/flare PACKAGE=DeepSeek-V4.1-Flash-1017-EXL3-3bpw ./serve.sh' '# serve.sh @ 4299d1a8 (defaults, ENGRAM=ram; verbatim exec line):' 'exec /usr/bin/env FLARE_ENGRAM_PRIVATE_TABLES=1 FLARE_FAST_EXIT=1 \' 'FLARE_CUDA_STACK_LIMIT=144 FLARE_SCHEDULER_PREFILL_MERGE_MIN_ROWS=512 \' '$FLARE run DeepSeek-V4.1-Flash-1017-EXL3-3bpw --gpus 0,1 --port 15015 --host 127.0.0.1 \' '--served-model-name DeepSeek-V4.1-Flash --prefix-cache-memory 8G --mtp-draft-tokens 5 \' '--mtp-adaptive-verification --mtp-max-verification-token-budget 32 \' '--mtp-adaptive-verification-alpha 0.8 --scheduler-policy interactive \' '--scheduler-prefill-tail-merge true --scheduler-encoder-prefill true \' '--embedding-table-storage ram --scheduler-ttft-order shortest'

runtime

env: 'serve.sh @ 4299d1a8: FLARE (fork binary path) | PACKAGE=DeepSeek-V4.1-Flash-1017-EXL3-3bpw (exported package name) | ENGRAM=ram default (both int4 Engram tables in host RAM, --embedding-table-storage ram; one = layer 1 in RAM + layer 14 on NVMe with ENGRAM_CACHE 4GiB row cache, consistency 0.969-0.979/0 miss, ~110 GiB RSS; disk = both on disk) | STACK_LIMIT=144 (max registered kernel stack 136 B; empty = core default) | PREFIX_CACHE=8G | BUDGET=32 | DRAFTS=5 (must equal export DRAFTS) | ALPHA=0.8 | SCHEDULER=interactive | TTFT_ORDER=shortest | TAIL_MERGE=true | PREFILL_MERGE=512 | ENCODER_PREFILL=true | FAST=1 (FLARE_ENGRAM_PRIVATE_TABLES=1 FLARE_FAST_EXIT=1) | STEERING_KEYS_FILE optional (FLARE_STEERING_API_KEYS_FILE, sidecar packages) | GPUS=0,1 | PORT=15015 | HOST=127.0.0.1. Export-time (EXPORT.md @ 4299d1a8): MAXC=8, PREFILL=4096, DRAFTS=5, hot experts 344 (layers 2-4,6-19)/316 (20-39) via FLARE_DS41_EXL3_HOT_LAYERS, PARK=2-4,6-39 EXPORT_HOT=308 HOT=316, ENGRAM_FULL_PROJECTION=0, A16_QKV=0, FLAT_POOL=1, POOL_SCRATCH=1, WOA_SINGLE=1, ENGRAM_CHUNK_ROWS=768, GATHER_PULL=1, B12X_PCIE_TWOSHOT_PULL=1, FLARE_DS41_EXL3_BULK_MIN_ROWS=1, MLA_DECODE_SPLITS=9:10,18:5,23:4,31:3,47:2,94:1, COUNTS=expert-order/ (TP2 blended route counts shipped in folder), COMPILE_WORKERS=3; optional WARMIND: STEERING=warmind-v1.1-orth4c-steering.safetensors FLARE_DS41_STEERING_PLAIN_IDENTITY=1.'
notes: 'Serves an EXPORTED Hyperflare package (weights per GPU, kernels autotuned, CUDA graphs captured) tied to hardware AND clocks - export at the power limit you serve with (author box: 450 W/GPU PL, clocks unlocked 3165/17001 MHz, do NOT lock GPU mem clocks under 450 W: -19% to -26% ms/graph; ECC off, 2x PCIe Gen5 x16, Threadripper PRO 7965WX, 256 GB DDR5-6000, driver 615.71.09, CUDA 13.1, torch 2.14.1+cu132; kernel boot params amd_iommu=off iommu=off pcie_aspm=off processor.max_cstate=1; PCIe MRRS=4096 worth +1.0-3.3%). KV: 2,839,808 served / 269 snapshots (plain gb202-tp2-202611241005; WARMIND twin gb202-tp2-202611241209: 2,868,992 / 272 snapshots, scale=0); STACK_LIMIT=144 B (max kernel stack 136 B), 102 graphs 0/102 racy, boot prep 1.7 s. Host RAM ~151 GiB committed with ENGRAM=ram (~110 GiB with ENGRAM=one). Steering (twin only): EXL3 has no BRRR in-kernel steering - the 66 Triton steering launches add ~0.65 ms/step at c1 vs plain; export without STEERING= for max c1 speed. Supersedes Hyperflare-tp2-exl3-20261117 (package gb202-tp2-202611171416, 2,140,800 KV): +699,008 to +728,192 KV (+32.7-34.0%), +11.6-37.3% prefill, decode -0.3% to +8.6% vs that baseline (32K c4 was -0.3% to +2.4%; author-claimed ranges).'

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-exl3-3bpw-tp2-20261124-2x-rtx-pro-6000.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-exl3-3bpw-tp2-20261124-2x-rtx-pro-6000.json

Engine

Install note: Build-your-own (no prebuilt image). Folder 'DeepSeek-V4.1-Flash Hyperflare-tp2-exl3-20261124' @ 4299d1a83ad1 (post-split 3-repo stack, .patch over upstream, no fork tags): runtime AzallazA/hyperflare-inference @ 5ffe4d54 (tag hyperflare-tp2-exl3-20261124, peels f1010fca; NVIDIA main + PR #416/#473/#479/#491 + disjoint CPU pinning); flare binary sha256 be55094c1984220519e9fe280ae5568ef642c2f6b2efdf501c38d1e5b702b67f. hyperflare-recipes @ fee34e1 (PR #9) + FOLDER DeepSeek-V4.1-Flash Hyperflare-tp2-exl3-20261124/tp3-patches/hyperflare-recipes-tp2-exl3-20261124.patch; flashinfer b12x @ 0aa01681 (PR #132/#136) + FOLDER DeepSeek-V4.1-Flash Hyperflare-tp2-exl3-20261124/tp3-patches/b12x-tp2-exl3-20261124.patch. Build: cargo build --locked --release (flare-cli), uv sync --locked --extra prepare, b12x-overlay symlink; CUDA 13.1, rustc 1.93.1, uv 0.11.29, ulimit -l unlimited. Export per EXPORT.md @ pin (344/316 hot experts, MAXC=8, PREFILL=4096, DRAFTS=5), then serve.sh.

Model

Context

  • max context: 1M tokens

KV pool

  • 2,839,808 tokens across concurrent requests

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
8,192—12233.5 tok/s——reported
32,768—13469 tok/s——reported
32,7681—250 tok/s—reported
32,7684—572.5 tok/s—reported
32,7688—809.1 tok/s—reported
43,0081—296.5 tok/s—reported
53,2488—806.4 tok/s—reported
65,536—13198.5 tok/s——reported
131,072—13367.5 tok/s——reported
131,0721—258 tok/s—reported
131,0724—578.8 tok/s—reported
131,0728—806.7 tok/s—reported
161,7928—798.5 tok/s—reported

prefill = prompt processing · decode = generation. All decode/prefill figures are shown as reported.

reported

notesAuthor-claimed numbers from README.md @ 4299d1a8: llm_decode_bench.py v0.8.0, 15 s decode cells, ignore_eos=true, two paired runs (R1-R2 ranges; midpoints submitted as decode_tok_s/prefill_tok_s, full ranges in point notes). Basis differs from the 20261117 baseline the README compares against (30 s cells, 3-run ranges) - not like-for-like. Telemetry across all 12 decode cells: GPU active 100.0%, PCIe RX 8.9-16.0 GB/s, 0 repetition loops. WARMIND twin rows are markers (+10240/+20480/+30720) explained per point. Real-world coding = tetristest.py. Qualification PASS: 0/102 racy graphs, verify_fix 0 TRUE, eval-43 42/43, tool calls 60/60, hotel-lights 30/30, long retrieval 128K+900K pass, 1.5x KV stress 16/16 + 109/109 pings (min free VRAM 82 MiB).

Downloads

Revision notes

Community ingest 2026-11-27 (t_97865ff6, owner-GO Q2 from t_d20794d4; lar-scout candidate). Submitter/listed-by: localai-recipes; author credit in credit[]. NEW slug for the genuinely different hardware shape (TP2 EXL3 3-bit pack on 2x RTX PRO 6000); the TP3 sibling slug deepseek-v4-1-flash-1017-hyperflare-tp3-20261121-3x-rtx-pro-6000 is untouched and shares the identical serving binary 5ffe4d54. Source: folder 'DeepSeek-V4.1-Flash Hyperflare-tp2-exl3-20261124' @ 4299d1a83ad1 (BoxTops4Coochie twin identical; verified fresh blob:none clone 2026-11-27). Supersedes the earlier tp2-exl3 folder 20261117 (README supersession line; not ingested here). Patches are FOLDER-QUALIFIED paths 'DeepSeek-V4.1-Flash Hyperflare-tp2-exl3-20261124/tp3-patches/<f>' (repo-root tp3-patches/ 404s). Tags verified: hyperflare-tp2-exl3-20261124 peels to 5ffe4d54 (same commit as hyperflare-tp3-20261124 tag peels; tag objects f1010fca/40220dd8). diffbot pack HEAD df0e545faadd14f8becaee09334b40870a8de141 verified anonymously at ingest (gated:false). flare binary sha256 be55094c...b67f per versions.txt. WARMIND twin documented as OPTIONAL extra: export with STEERING=<sidecar> FLARE_DS41_STEERING_PLAIN_IDENTITY=1; sidecar sha256 68551f9b...6a2d verified vs the repo's SHA256SUMS @ 1bf69d8f. Perf basis: author-claimed, llm_decode_bench.py v0.8.0 15s cells ignore_eos=true, paired R1-R2 midpoints; README's comparison baseline (20261117) used 30s cells - not like-for-like. max_context_len 1048576 from README's 900K-token long-retrieval pass (no explicit launch arg).

ENGINE revision 2026-12-04 (t_60fcae10 owner-GO 2026-12-04 option-b, target v0.5.2): Upstream NVIDIA/hyperflare-inference releases: v0.5.0 0a8c20f (11-30) / v0.5.1 1fbcc3c (12-01) / v0.5.2 cc0a49d (2026-12-02) / v0.5.3 / v0.6.0. This lane's fork tag hyperflare-tp2-exl3-20261124 (peel 5ffe4d54) NOT re-tagged on v0.5.x — owner tp2 0.5-line is a different quant lane (v0.5.0-tp2-nvfp4-experimental-20261204 68d58222, experimental). Re-pin plan: owner rebase tp2-exl3 onto v0.5.2 cc0a49d (2026-12-02) + re-tag, then adopt + re-bench; no silent lane swap. Stability (flagged, not gating, per ruling): v0.5.0 DS41 islands crashed 3x/2d Xid 13/69/32 (LIL Discord 12-01/02); #628 offload CE-gate fix only from v0.5.1 1fbcc3c; upstream hyperflare-recipes hit 2 regressions in-window (9ac5e2d). Perf held pending per-slug re-bench on the new engine (ruling); published rows keep their current basis.

Revision history

Fork

Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.

Export

recipe.yaml (raw)