localairecipes launch configs for local inference

DeepSeek-V4.1-Flash-1017 Flare gb202 TP4 DSpark 4x RTX PRO 6000

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by Local Inference Lab — FLARE gb202 prepared package + measurements↗, NVIDIA — Flare/Hyperflare Helios runtime (binary + CLI: flare)↗, DeepSeek — DeepSeek-V4.1-Flash-1017 base weights (MIT)↗, NVIDIA/hyperflare-inference v0.4.4 (99339606) — owner-GO gate note 2026-12-01/12-03: satisfies the t_2a02594a gate (>= c↗ · listed by localai-recipes

revision r4 · commit aa6d568e8b · updated 5 h ago · license MIT

chat code vision 1m-ctx prepared-package gb202 mtp-speculative hyperflare long-context flare tensor-parallel vision dspark engram

First signed, self-contained prepared FLARE runtime package (images + config + measurements) from Local Inference Lab on 4x RTX PRO 6000 Blackwell TP4. MXFP4 expert weights keep native block scales (no CSF compression), BF16 attention arithmetic, FP8 KV; native Rust Helios serving - no Python, and Transformers/vLLM/SGLang/llama.cpp cannot load the format. 32 concurrent requests, 7 DSpark draft tokens per round (--mtp-only), 1M-token per-request context, ~17.02M KV tokens (59.4 GiB) across four 96 GB cards, Engram tables 188.8 GiB disk-backed by default. Author-reported (T0, Prometheus-verified at their box): cold prefill 44,712-59,051 tok/s over 8k-128k buckets (64k peak 59,077), decode 460.1 tok/s C1 to 1,743.4 tok/s C32 aggregate. Package download ~527 GB on fast local NVMe at first start. Text + images (4 simultaneous image-bearing requests).

Launch command

'# verbatim package README '\''Run with Docker'\'' block @ HF revision' '# 1a828e726b79adef9a686afd66a588567e20d96c (branch gb202) — launch authority.' '# Native variant: same args with the host '\''flare'\'' binary; download-only variant adds' '# --tensor-parallel 4. See config.runtime.notes for the preparation argv + flag notes.' 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 1.0 --scheduler-policy balanced --embedding-table-storage disk --prefix-cache-memory 64G --kv-cache-limit memory --host 0.0.0.0 --port 8000

runtime

env: "Docker variant requires NVIDIA Container Toolkit + working CUDA P2P between the 4 GPUs; 'NVreg_EnablePCIERelaxedOrderingMode=1' in /etc/modprobe.d recommended for PCIe P2P collectives; '--security-opt seccomp=unconfined' enables io_uring for disk-backed Engram reads; -v flare-home:/home/flare (UID 10001) persists the package + accepted publisher; bind-mount an NVMe dir instead for package placement."
notes: "Preparation argv (README @ pin, verbatim): --max-concurrency 32 --image-concurrency 4 --mtp-draft-tokens 7 --mtp-only --speculative-token-capacity 128 --speculative-graph-budget 64 --prefill-chunk-size 8192 --mla-compute-mode bf16 --expert-scale-compression native --draft-head-quantization nvfp4 --markov-head-quantization fp8 --vocabulary-parallel-sampling --autotune-effort default --row-shard-prefill --row-shard-attention. Flag notes: package exported --mtp-only (120 graphs): drafts must be 7 (default) or 0; positive 1-6 and fixed-width verification unsupported. Prefill captured chunks cap 8192 tokens. --embedding-table-storage ram keeps Engram tables in host RAM (>=320 GiB; then seccomp change unneeded); disk default reads 188.8 GiB tables from NVMe via RAM row cache (--embedding-table-cache-size default 4 GiB). Sampling pinned by server: temperature 1.0, top-p 1.0, top-k off, min-p 0, zero presence/frequency penalties; repetition_penalty 1.0-1.1 + seed allowed. Images: OpenAI image_url content items (PNG/JPEG/static WebP data URLs), 4 simultaneous image requests within the 32, 4096 visual tokens/request budget. API model name 'DeepSeek-V4.1-Flash'."

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-gb202-tp4-dspark-4x-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-flare-gb202-tp4-dspark-4x-rtx-pro-6000.json

Engine

Install note: FLARE gb202 signed prepared package @ HF revision 1a828e726b79adef9a686afd66a588567e20d96c (branch gb202, committed 2026-11-25T16:01Z); launch authority is the package's own README Run-with-Docker block (config.launch verbatim), not this card. Serving image: ghcr.io/local-inference-lab/flare:release — MUTABLE tag; digest snapshot 2026-12-04 = sha256:1815a176f05365b6495812662ed2a6c18e7befa5a90fa0cf5995b6e5b835f6aa (ingest snapshot d3ae301e superseded; OCI index, build revision label unverified). Engine baseline NVIDIA/hyperflare-inference v0.5.2 cc0a49d (2026-12-02) cc0a49d2ba6b0233715c7c10781eb9a9f97ae09a (#628 offload-CE fix via v0.5.1; >=1e78f08/#515 still required so --mtp-adaptive-verification-alpha 1.0 delivers full packed speculative throughput). Prepared per README @ 1e78f08: Flare + #508 dd77728; recipes PR#30 096f7074 on #28+#29; FlashInfer 0d48af53 + PR#142 13c63c37 (0-ULP). First-start download ~527 GB; accept publisher + model license prompts.

Model

Context

  • max context: 1M tokens

KV pool

  • 17,020,000 tokens across concurrent requests

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
5121—460.1 tok/s—reported
5124—866.3 tok/s—reported
5128—1120.5 tok/s—reported
51216—1384.3 tok/s—reported
51232—1743.4 tok/s—reported
8,700—44712 tok/s—194 msreported
17,379—51264 tok/s—340 msreported
35,540—56997 tok/s—624 msreported
71,212—59051 tok/s—1205 msreported
142,508—57944 tok/s—2460 msreported

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

reported

notesAuthor-measured (claimed_by stamped submitter server-side; NOT box-verified). Cold prefill: Prometheus-verified 0% prefix-cache reuse, N=2 mean, --embedding-table-storage ram mode, NVreg_EnablePCIERelaxedOrderingMode=1. Decode sweep: unique prompts, 512 output tokens, alpha=1.0; context_len=512 marks the bench output length, not a prompt cell. 64k peak 59,077 tok/s in the 64k point notes. Synthetic repetitive benchmarks reach up to 2,635+ tok/s at C32 — excluded (synthetic ceiling, not headline). Transcribed verbatim from the package README @ 1a828e726b79.

Install requirements

NVIDIA driver floor: unknown - check the image tag

Source: NVIDIA CUDA Toolkit Release Notes - driver compatibility tables (https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/, fetched 2026-10-03).

Map the placeholders to your rig

Downloads

Revision notes

Ingest 2026-11-26 (t_509b0d56, lar-scout QUEUE card, sweep 2026-11-26). Submitter/listed-by: localai-recipes (attribution rides the minted key's person); recipe + package + measurements by Local Inference Lab (u/festr__), reproduced as published. First prepared FLARE package on rtx-pro-6000-blackwell-x4 (existing lanes deepseek-v4-1-flash-4x-...-wtogami-dspark-k7 / ds4-1-flash-4x6000-jj-dspark-k7 are vLLM builds; flare TP3 siblings 5751/5769/5951 are build-your-own forks). All numbers author-reported T0, transcribed verbatim from the package README @ 1a828e726b79 (raw 13,235 B fetched; model.safetensors 20,297,753 B md5-verified 1409df308ab2f014b86d9c34c3417970; flare.manifest embedded, not a separate result JSON file). README states two inconsistent improvement ranges over the prior gb202 (baseline 31.2k-33.5k): '+43% to +82%' (results bullet) vs '+77-82%' (runtime-improvements section); arithmetic supports the bullet - per operator ruling the per-prompt table is published and no single percentage is claimed. Weights repo deepseek-ai/DeepSeek-V4.1-Flash-1017 HEAD has since moved to 08c8657f (chat template #11, 2026-11-10); the package's flare.manifest pins the release commit 1bae0e10... so hf_revision stays 1bae0e10. GHCR :release digest d3ae301eb499dfbf... is a tag-snapshot at ingest time (mutable tag). Quant kept full: native weights (MXFP4 experts + BF16 dense, FP8 KV) - do not collapse to bare mxfp4. Engine rides the flare enum (NVIDIA rename Flare->Hyperflare covered here; siblings 5930/5951 same lane).

Update 2026-11-28 (t_2a02594a owner GO 2026-11-28: option A hold + option C watch; provenance-only - no pin, image, config or perf change): upstream NVIDIA/hyperflare-inference published v0.4.0 (2026-11-27T21:12:47Z, annotated tag -> 5adb27f; v0.2.3..v0.4.0 = 55 commits incl #473 KV-plane granule fix, #426 pricing rebase, #499 row-sharded prefill planning). GHCR flare:release moved d3ae301eb499dfbf... -> sha256:7693ca9bb91bc907f274001230d2b97d8f7b871274dacc9e7131d3ff37ee435c (= release-5adb27f-main-20261127 build; latest == release, LIL publish signal green); the pinned digest still pulls by manifest digest. LIL package branch gb202 head moved 1a828e72 -> a60e3d87 (2026-11-27T21:07Z): README @ a60e3d87 adds intermediate batch capacities B=6/12/24 (#555) and REQUIRES Flare built from main >= c9693765 (recommended >= 74618652) - older binaries including v0.2.3 reject that package at load time, so the a60e3d87 package must NOT be paired with this recipe's v0.2.3+ image. The pinned 1a828e72 package + d3ae301e image remain the matched measured pair; the slug is held there DELIBERATELY until the author republishes measured numbers for the a60e3d87/v0.4.0 generation (watch card t_c67904f8 re-probes each sweep - republication is the re-pin trigger, not the release itself).

ENGINE revision 2026-12-04 (t_60fcae10 owner-GO 2026-12-04 option-b, target v0.5.2): Engine lane repinned NVIDIA 1e78f08 -> v0.5.2 cc0a49d (2026-12-02) (#628 fix via v0.5.1 1fbcc3c). GHCR :release is MUTABLE — digest snapshot 2026-12-04 sha256:1815a176f053... (ingest-era d3ae301e superseded; tag moved >=2x during audit; OCI index, build-revision label unverified). v0.5.x releases now addressed (t_662bb020 r3 cited them as not carried). 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 BASIS-STALE: rows were author-reported T0 on the v0.2.3-era image; re-bench on current :release required before any refresh. No perf touched.

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)