localairecipes launch configs for local inference

DeepSeek-V4.1-Flash-1017 EXL3 2.7bpw Eager 1x RTX PRO 6000 Max-Q

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by recipe by LichAmnesia (openseek-recipe experimental port)↗, serving recipe by diffbot (DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-6000, MIT)↗, weights by sfxnz (DeepSeek-V4.1-Flash-1017-EXL3)↗ · listed by localai-recipes

Initial version · updated 2 d ago · license MIT

chat code tp1 prefix-caching community-recipe single-gpu fp8-kv eager experimental exl3 expert-offload engram-nvme

Experimental DeepSeek-V4.1-Flash-1017 (MoE, 8,220 host experts) single-card first gate: EXL3 2.7bpw mixed-K MCG weights, TP1 and EAGER (no CUDA graphs) on one RTX PRO 6000 Blackwell Max-Q 96GB, 128GB host RAM and NVMe. The serving image is built locally from the vllm/vllm-openai nightly base plus the vllm-exl3 mixed-bit plugin (AGPL-3.0) and ExLlamaV3; launch goes through LichAmnesia's openseek-recipe prepare.py/serve.sh, which patch diffbot's TP2 serve script into a TP1/loopback eager launcher with disk Engram. ~79 GiB expert weights sit in GPU, ~92 GiB for 8,220 experts in host RAM accessed over PCIe, ~203 GB Engram tables stay on SSD inside the ~405 GB checkpoint. Author-measured 2026-10-26: 10.64 tok/s decode, 5.31 s TTFT (1550 in / 256 out, C1 median of 3), FP8 KV 1.1 GiB, prefix caching on, 262144 context; container swap 0. Speed targets were missed and full quality acceptance is incomplete. This standalone experiment is not registered in the Qwen-specific main recipe CLI.

Launch command

'python3 experiments/deepseek-v41-flash-1017/prepare.py --root "$DSV41_ROOT"' 'bash "$DSV41_ROOT/scripts/download_model.sh"' 'python3 "$DSV41_ROOT/scripts/verify_weights.py" "$DSV41_ROOT/evidence/sfxnz-model-info.json" "$PACK" "$DSV41_ROOT/logs/weight-verification.json"' 'bash "$DSV41_ROOT/scripts/build_port.sh"' 'bash "$DSV41_ROOT/scripts/build_lmhead_port.sh"' 'bash experiments/deepseek-v41-flash-1017/serve.sh'

runtime

env: "IMAGE=dsv41-2p7-sm120:eager-v2 NAME=dsv41-2p7-manual PORT=8010 SERVED=dsv41-1017-2p7-test API_KEY=local-benchmark-only CACHE_DIR=$ROOT/cache CONTAINER_MEM=100g PLAN=plan-1gpu-bootstrap.json XMOE_EXT=xmoe_port EAGER=1 VISION=0 SPEC=none MAX_MODEL_LEN=262144 MAX_NUM_SEQS=1 MAX_BATCHED=512 KV_MEM=1181116006 UTIL=0.98 EXL3_DO=0 HOST_CACHE=0 EXL3_HOST_CACHE=0 CPU_EXPERTS=0 EXL3_CPU_EXPERTS=0 EXL3_HOST_DMA=0 EXL3_HOST_COLD_PACK= VLLM_EXL3_MOE_KERNEL=exllamav3 DS41_CAR=0 DS41_CAR_PCIE_IPC=0 DS41_FP8AR=0 WARMUP=0 THINKING=off EXTRA_ARGS='--enable-prefix-caching --load-format safetensors'"
notes: 'serve.sh @ 3ffdab5a runs dsv41-2p7-manual (--restart no, localhost:8010, --network host --ipc host --shm-size 32g --memory=100g --memory-swap=100g, -e VLLM_PLUGINS=vllm_exl3 -e DSV41_ENGRAM_DISK=1 -e DSV41_ENGRAM_INT4=0 -e DSV41_TP1_MIXED_K=1 -e NCCL_CUMEM_ENABLE=0 -e TORCH_CUDA_ARCH_LIST=12.0a). prepare_serve.py patches diffbot serve.sh (recipe @ 2c379757) into serve-1gpu-eager.sh (TP2 -> TP1/loopback, disk-Engram + mixed-K env swap, --rm -> --restart no). vllm argv: serve $PACK --tensor-parallel-size 1 --host 127.0.0.1 --port 8010 --max-model-len 262144 --kv-cache-dtype fp8 --kv-cache-memory 1181116006 --gpu-memory-utilization 0.98 --max-num-seqs 1 --max-num-batched-tokens 512 --block-size 64 --quantization exl3 --language-model-only --tokenizer-mode deepseek_v41 --tool-call-parser deepseek_v41 --enable-auto-tool-choice --reasoning-parser deepseek_v41 --served-model-name dsv41-1017-2p7-test --enforce-eager --disable-custom-all-reduce --enable-prefix-caching --load-format safetensors.'

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-2-7bpw-eager-1x-rtx-pro-6000-max-q.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-2-7bpw-eager-1x-rtx-pro-6000-max-q.json

Engine

Install note: NOT installable as written: the serving image is a LOCAL docker build (docker/build.sh from the diffbot recipe @ 2c3797578722747dad3593531fd447b1d3d4c732, base vllm/vllm-openai:nightly-5555a2d8f7 @ sha256:8896fd7b29fc..., + vcruz305/vllm-exl3 @ d3cfd394920360d69f820d2dc96f8292a9e10283 + exllamav3 @ 5be886578ec80324c2c715269387be2058724b6e + diffbot patches, series label v41-parser-strict-dsml) - not in any registry; rebuild IDs may differ (lock image_note). Then openseek-recipe experiments/deepseek-v41-flash-1017: python3 prepare.py --root $DSV41_ROOT (fetches 152 hash-locked files), download+verify 55 weight files vs model-files.json, build_port.sh + build_lmhead_port.sh, then bash serve.sh (wraps recipe/serve/serve.sh patched TP1/loopback/eager by scripts/prepare_serve.py; foreground; refuses <100GiB free RAM or a busy GPU). Mixed-bit plugin edits are AGPL-3.0-only. Driver measured 610.57.04.

Model

Context

  • max context: 256K tokens

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
4,0961—10.6 tok/s5310 msreported
46,0801—10.9 tok/s16294 msreported

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

reported

notesAuthor-measured 2026-10-26, single RTX PRO 6000 Blackwell Max-Q 96GB/300W, 128GB host, local NVMe. TP1/eager, batch512, seq1, FP8 KV 1.1GiB, NVMe Engram, 8220 host experts / 92GiB trellis. No graphs, DSpark, vision, host cache, CPU experts or DMA. Decode=255/(last text event - first text event), local SSE; all four streams 256 completion tokens / 256 text events / finish_reason=length; first-trial latency included. Raw repeated-text completions are not useful-task performance. Arithmetic42 + parsed get_weather(San Francisco) smoke passed. Prefix hits increased 33920; API cached_tokens absent - some cache hits verified, API amount unverified. Not actual OpenCode traffic. BELOW the original speed gates (C1 < 20 tok/s; warmed agent-shaped TTFT > 6 s): experimental port, not a qualified resident replacement. No short-100 KL, SWE-bench, 256K quality, graphs or optimized-routing acceptance.

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

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)