DeepSeek-V4.1-Flash-1017 EXL3 3bpw 2x RTX PRO 6000 (theogravity)
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by theogravity (recipe author: NVMe-Engram patch, LMCache, Claude Code fix, measurements, MIT)↗, diffbot (DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-6000 pack, recipe image, kernels, CPU runtime, quality suite), vLLM + LMCache - engine and cache server (Apache-2.0), deepseek-ai/DeepSeek-V4.1-Flash-1017 - upstream weights · listed by localai-recipes
revision r2 · commit cdcdc037ea · updated 44 h ago · license MIT
chat code vision speculative tp2 community-recipe long-context lmcache dspark exl3 expert-offload engram-nvme
DeepSeek-V4.1-Flash-1017 (diffbot's EXL3 3bpw pack) on 2x RTX PRO 6000 Blackwell, tuned for up to 6 concurrent long-context agents: 512k window, prefill chunk 8192, 2.77M-token fp8 KV pool. The 103 GiB of int4 Engram tables stay on NVMe, read through a mmapped-shard 32-thread gather inside the decode CUDA graph, cutting pinned host RAM ~230 GiB to ~77 GiB (runs on 128 GB). LMCache RAM+disk tiers (48/128 GiB) restore an evicted 1M-token prompt in ~2-3 s; CPU host-experts decode-only (+12-17%); diffbot's 2026-11-09 + 2026-11-14 CPU-runtime revisions adopted selectively. A LiteLLM callback folds Claude Code's inline system messages, lifting real-session prefix-cache hits from 13-29% to 94.7-99.6%. Author-measured: decode 282/518/557 tok/s at 1/4/6 streams, cold TTFT 1.4 s @16k to 41.6 s @505k, six ~404k in 187 s, GSM8K-200 98.5%, HumanEval-164 97.0%. Recipe by theogravity (github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000); pack/image/kernels by diffbot; vLLM + LMCache upstream.
Launch command
MODEL_DIR=/mnt/models/dsv41-flash-exl3 API_KEY=change-me 'cp compose/.env.example compose/.env && (cd compose && docker compose up -d)'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-2x-rtx-pro-6000-theogravity.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-2x-rtx-pro-6000-theogravity.jsonInstall requirements
- Docker (or a compatible OCI container runtime)
- NVIDIA Container Toolkit (nvidia-container-toolkit) - exposes host GPUs to the container
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
- Hardware-bound values in this recipe (device counts, bind-mount paths, utilization, ports) describe the author's machine, not yours - map them to your own rig before launching. Keep the engine flags, model, quant, and parallelism strategy; adjust paths and ports to the hardware you actually have.
- GPU identity: list your GPUs with `nvidia-smi -L` and substitute your own GPU UUIDs/indices wherever the recipe pins the author's.
- Model directory: bind-mount paths are author-side - point them at your own mount where the model files live.
- Host port: pick a free port on your machine and publish the container there; keep the in-container port unchanged.
Downloads
- Reference https://github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000f020f98034679d9ec2d132e55603ba6a35a51a5a
- Weights https://huggingface.co/diffbot/DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-60006110453b901e4b51da66f539f3802b5c7f18e8e8
- Reference https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-10171bae0e1088993b9b82de08f59de5be5a34e42170
Revision notes
Filed from the lar-scout 2026-11-10 sweep (digest t_7578e4eb). Surfaced via r/BlackwellPerformance self-post 2026-11-09T06:57Z (/u/devtools-dude, cross-posted r/LocalLLM) - Reddit not re-verified (hard-403 from this lane), cited submitter-T0. Repo verified at HEAD 6c65faa723a8d96348328ce61c2d054e8e819ecf (2026-11-09T10:28-08:00, 'Move comparison image to the README intro'): compose argv, patch layout, LMCache tiers, benchmark tables and docs/INSTALL healthy-boot KV line (2,769,546 tokens) all read at that sha; diffbot pack @ 451f7dcb resolves (gated-401 signature on plain fetches, API 200). Corrections to card: (1) card's suggested slug token 'nvme-engram-lmcache' would 71-char slugify to a bad 64-cut - title re-worded to '(theogravity)' to land the card's Option A slug exactly; (2) hardware submitted as card 'RTX PRO 6000 Blackwell' + device_count 2 so the legacy profile nvidia-rtx-pro-6000-blackwell-max-qx2 (id 9) resolves like both live 2x-6000 recipes - the 'Workstation' spelling would normalize to an unmatched key and silently create a stray profile; (3) README headline decode ~270/500/540 is the update-ablation line, not the Concurrency table (251/446/534) - both kept, attributed per row; (4) six-way 197 s is post-update, 265 s pre-update. Dedupe: dupe-adjacent to live deepseek-v4-1-flash-1017-exl3-3bpw-2x-rtx-pro-6000-engram-on-ssd (yoloyash) - different mechanism (own patch set on stock checkpoint shards vs vendored-pack overlay), different serving profile (512k/c6 + LMCache + CPU experts vs that pack's defaults), independent measured table; ingested as a distinct build per the site's successor-record rule. Revision r2 (kanban t_a99b565e, 2026-11-19, owner GO): repo pin 6c65faa723a8d96348328ce61c2d054e8e819ecf -> f020f98034679d9ec2d132e55603ba6a35a51a5a (single linear commit, verified strict ancestor at write time) adopting diffbot's 2026-11-14 CPU-runtime revision selectively: xmoe_bulk kernel + the exl3_cpu_speedups.py plugin mount ON; wkv replication and mHC overlap OFF (upstream 16384-chunk defaults measured 1.8x slower at this recipe's chunk 8192; 498k cold prefill 71.6/70.6 s vs 39.9 s). Config posture rides the pinned compose file (XMOE_EXT=xmoe_bulk, EXL3_DO_MIN_TOKENS=128, EXL3_CPU_PF_STREAM_M=16, EXL3_FAT_SKIP_DEAD=1, DS41_ACTQ_STRIDED=1, DS41_WKV_REPLICATE=0, DS41_MHC_OVERLAP=0). Model hf_revision stays at pack 451f7dcb (PATCH /model cannot touch hf_revision) while the unpinned hf download now serves 11-14 pack files (HF main 6110453b, 2026-11-15T06:59Z) - artifact[1] records the served revision. Measured (docs @ f020f980, LACT GPU profile 600 W +350/+4000 MHz; stock clocks slower): decode 282/518/557, six-way 187 s, HumanEval 97.0; GSM8K 197 unchanged, TTFT rows and soak not re-run.
Revision history
- ab68ce1019 recipe: sync 20 from preprod (wave 15 — 7 NEW: maya strix-halo x2, iq2xs strata 170hx, inkling-2-mini dspark, crucible strix-halo, wombat tep4 monitoring, hibana fast-vision; 13 revision bumps: morrowmake-9slg engine train + radiance train + hyperflare-20261116 + tandem v0.4.0 + theogravity diffbot + g4bwy rebase + asgard n6p + others — owner go 2026-11-19, sync 2026-11-21) 13 d ago diff
- a3c2e03297 recipe: sync 2 new from preprod (mamutou qwen3.8-27b W8A16+MTP split-KV 1x 170HX + theogravity DS4.1 EXL3 3bpw 2x PRO6000 — kanban t_d9c35abc/t_1c08dc70, owner go 2026-11-09) 24 d ago
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.