localairecipes launch configs for local inference

DeepSeek-V4.1-Flash-1017 Hyperflare TP3 20261201 3x 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 TP3 DS41 fork + recipe + measurements)↗, NVIDIA - Hyperflare runtime (ex-Flare; binary/CLI stay flare)↗, Local Inference Lab - FlashInfer b12x kernels + llm-inference-bench↗, Fraser Price - BRRR fused decoder kernels (Apache-2.0)↗, jcartu - WARMIND steering (upstream PR #404) + sidecar (MIT)↗, DeepSeek - DeepSeek-V4.1-Flash-1017 base model + FP8 Engram tables (MIT)↗ · listed by localai-recipes

Initial version · updated 30 h ago · license MIT

chat code 1m-ctx steering community-recipe mtp-speculative hyperflare long-context flare tensor-parallel dspark engram expert-offload fp8

AzallazA's DS41 TP3 build on NVIDIA Hyperflare (Flare renamed upstream; binary/CLI stay flare run), Wave 21.1 folder (Hyperflare-tp3-20261201 @ 472dc3a9) on the Flare v0.5.0+ base: All-Resident HOT=384 default (15,360/15,360 experts in VRAM, zero parked) with 2,374,656 KV tokens / 564 shared snapshots - fits 16x 128K unique contexts concurrently. Wave 21.1 root-caused the SM120 PCIe multi-warp coherence race, ships CUDA Graph Node-12 BATCH_MEM_OP, WARMIND 1.3 DUO cold-boot steering, the evict_k L2 fix (+2.48K tok/s at 512K -> 47.7K) and a prebuilt flare tarball. Author-measured 450 W PL: decode 32K C1 418.1 / C16 1,735.4 tok/s (240 s soak 1,742.9); prefill 8K 41.3K srv, 32K 51.0-51.2K, 512K 47.7K; 5x2K Tetris peak median 592.0 tok/s (+12.2% vs Wave 19).

Launch command

'FLARE=/path/to/flare ./serve.sh' '# folder README verbatim: download the prebuilt flare-linux-amd64.tgz (or build from source),' 'export the package per EXPORT.md (HOT=384 all-resident default), serve.sh defaults' 'STACK_LIMIT=32 HEADROOM_MIB=16; MOE_RESERVE_SMS=0 with B12X_PCIE_DMA_MEMOP_SYNC=1 (Node-12)'

runtime

env: 'serve.sh @ 4299d1a8: FLARE (fork binary path) | PACKAGE=ds41-1017-engram-fp8 (Hyperflare picks its default version; model name = checkpoint view dir name) | ENGRAM_RAM 1 (default, both FP8 Engram tables in host RAM, sets FLARE_ENGRAM_RAM_TABLES=0) | layer1 (layer 14 on disk via --embedding-table-storage disk --embedding-table-cache-size ENGRAM_CACHE, default 32GiB) | 0 (both on disk) | READ_AHEAD (default 1; empty=off; inert with tables in RAM) | ENCODER_PREFILL (default true = --scheduler-encoder-prefill) | STEERING_KEYS_FILE (unset: any client may set steering_scale; set -> FLARE_STEERING_API_KEYS_FILE, nonzero scale then needs X-Steering-Key) | PREFIX_CACHE=12G | BUDGET=32 | DRAFTS=5 (must equal export DRAFTS) | ALPHA=0.8 | SCHEDULER=interactive | TTFT_ORDER=shortest | TAIL_MERGE=true | PREFILL_MERGE=512 | STACK_LIMIT=48 (default; empty = limit recorded in core, 1,024) | FAST=1 | GPUS=0,1,2 | PORT=15015 | HOST=127.0.0.1. Export-time (versions.txt): STEERING=<sidecar> + STEERING_PLAIN_ID=1, ENGRAM_FULL_PROJECTION=0, A16_QKV=0, FLAT_POOL=1, ENGRAM_CHUNK_ROWS=768, COMPILE_WORKERS=3, PARK=20-39 HOT=355 (blended expert order, expert-order/ route tables shipped in folder), MAXC=16, PREFILL=4096.'
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 to 3165/17001 MHz, ECC off, 3x PCIe Gen5 x16, Threadripper PRO 7965WX, 256 GB DDR5-6000, driver 615.71.09, CUDA 13.1, torch 2.14.1+cu132; README warns NOT to lock GPU mem clocks under 450 W: -19% to -26% ms/graph). KV: 5,810,816 served (549 shared snapshot slots; plain package gb202-tp3-202611240119: 5,825,408 / 551 snapshots, max kernel stack 32 B), STACK_LIMIT=48 (max registered kernel stack 40 B); 107 graphs, 0/107 racy on the static CUDA-graph check, boot prep 1.3-1.4 s. Steering: default package bakes the WARMIND v1.1 sidecar; steering_scale 0-1 top-level or chat_template_kwargs on Chat Completions/Completions; 0/omitted = normal model and shares prefix-cache entries; nonzero adds a position-0 event so scales never reuse each other's prefixes; mixed batches OK; STEERING_KEYS_FILE optional. 20261124 verification: scale=None vs 0.0 exact match (top1_dlp 0.005), monotonic distribution shift 0.0->0.5->1.0 (steer_dlp 1.47), 256-tok coding 483.5->541.1 tok/s steered, mismatched top-level vs chat_template_kwargs -> HTTP 400, 1.5 clamped to 1.0. top_p fixed 1.0, temperature 1.0; thinking + forced tool calls HTTP 400. Token embedding+vision tower in host RAM. ENGRAM_RAM=layer1/0 trade RAM for prefill speed (20261121-era figures: layer1 ~4-5% slower cold 128K, 0 ~11% slower; not re-published for 20261124). Supersedes the 20261121 build (that revision stays in history); distinct from flare-tp3-20261107/kraken slugs."

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-hyperflare-tp3-20261201-3x-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-hyperflare-tp3-20261201-3x-rtx-pro-6000.json

Engine

Install note: Folder 'DeepSeek-V4.1-Flash Hyperflare-tp3-20261201' @ 472dc3a9. Prebuilt flare-linux-amd64.tgz + SHA256SUMS.txt via upstream packaging/archive.py; b12x-tp3-20261201.patch & hyperflare-recipes-tp3-20261201.patch pass git apply --check on fresh upstream 0d48af53 & 39c157a4. Default package gb202-tp3-202612020001 includes WARMIND 1.3 DUO steering (upstream #505 steering_scale; 0 = bit-exact unsteered bypass).

Model

Context

  • max context: 1M tokens

KV pool

  • 2,374,656 tokens across concurrent requests

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
8,192141271 tok/s——reported
16,3845—592 tok/s—reported
32,7681—418.1 tok/s—reported
32,7684—915.3 tok/s—reported
32,76816—1735.4 tok/s—reported
131,0721—381.4 tok/s—reported
131,07216—1697.6 tok/s—reported
524,288147734 tok/s——reported

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

reported

notesAzallazA-measured at 450 W PL, HOT=384 all-resident default (llm-decode-bench v0.9.2), Wave 21.1 matrix. KV 2,374,656 tokens / 564 snaps; WARMIND DUO PASS cold-boot and >35 s idle with zero warmups; 23,152-graph C16 coherence soak: 0 divergences / 0 Xids.

Downloads

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.

Export

recipe.yaml (raw)