diff --git a/recipes/deepseek-v4-1-flash-1017-exl3-3bpw-2x-rtx-pro-6000-theogravity/recipe.yaml b/recipes/deepseek-v4-1-flash-1017-exl3-3bpw-2x-rtx-pro-6000-theogravity/recipe.yaml index 9c40b5740..9c6329398 100644 --- a/recipes/deepseek-v4-1-flash-1017-exl3-3bpw-2x-rtx-pro-6000-theogravity/recipe.yaml +++ b/recipes/deepseek-v4-1-flash-1017-exl3-3bpw-2x-rtx-pro-6000-theogravity/recipe.yaml @@ -4,10 +4,10 @@ engine: name: vllm source_type: docker_image git_url: 'https://github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000' - pinned_commit: 6c65faa723a8d96348328ce61c2d054e8e819ecf + pinned_commit: f020f98034679d9ec2d132e55603ba6a35a51a5a version: 'vllm-nightly 5555a2d8 + lmcache 0.5.7' - install_note: "Engine is vLLM (nightly 5555a2d8) inside diffbot's recipe image dsv41-flash-1017-exl3-3bpw-sm120, built from the pack's recipe/ (docker/build.sh + kernels/build.sh + cpuexp/build.sh), plus lmcache 0.5.7 (--no-deps) via this repo's patches/lmcache/build_image.sh -> image dsv41-flash-1017-exl3-3bpw-sm120-lmcache. Three patch sets from this repo mount over the image: engram-nvme (NVMe-served Engram tables + 32-thread gather), api-auth (x-api-key), lmcache start.sh (RAM+disk tiers, LRU); apply_patch.py refuses moved code. Launch: cp compose/.env.example compose/.env (API_KEY required), docker compose up -d (port 8001). Patches generated against the 2026-11-08 image; diffbot's 2026-11-09 update files (HF commit 2205b25) are mounted from the pack. Needs 2x RTX PRO 6000 (sm_120, 96 GB) with P2P, CUDA-13 driver (tested 615.71.09), ~77 GiB RAM for vLLM + LMCache tier, ~500 GB NVMe." -summary: "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 update 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%. API-key protected. Author-measured: decode 251/446/534 tok/s at 1/4/6 streams, cold TTFT 1.4 s @16k to 41.6 s @505k, six ~404k requests in 197 s, GSM8K-200 98.5%, HumanEval-164 96.3%. Recipe by theogravity (github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000); pack/image/kernels by diffbot; vLLM + LMCache upstream." + install_note: "Engine is vLLM (nightly 5555a2d8) inside diffbot's recipe image dsv41-flash-1017-exl3-3bpw-sm120, built from the pack's recipe/ (docker/build.sh + kernels/build.sh + cpuexp/build.sh), plus lmcache 0.5.7 (--no-deps) via this repo's patches/lmcache/build_image.sh -> image dsv41-flash-1017-exl3-3bpw-sm120-lmcache. Patch sets mounted over the image: engram-nvme (NVMe-served Engram tables + 32-thread gather), vllm-exl3 CPU-speedups (11-14), api-auth (x-api-key), lmcache start.sh (RAM+disk tiers, LRU); apply_patch.py refuses moved code. Launch: cp compose/.env.example compose/.env (API_KEY required), docker compose up -d (port 8001). Updating? Rebuild BOTH kernels/ and cpuexp/ builds. Patches generated against the 2026-11-08 image; diffbot's update files from the pack: 2026-11-09 (HF 2205b25) + 2026-11-14 CPU-runtime (HF b98e, pack 6110453b, xmoe_bulk). Needs 2x RTX PRO 6000 (sm_120, 96 GB) with P2P, CUDA-13 driver (tested 615.71.09), ~77 GiB RAM for vLLM + LMCache tier, ~500 GB NVMe." +summary: "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." license: MIT model: name: DeepSeek-V4.1-Flash-1017-EXL3-3bpw @@ -49,46 +49,46 @@ config: performance: claimed_by: submitter metrics: - tok_s: 251 + tok_s: 282 context_len: 25600 - notes: 'Author-measured 2026-11-09 on one box (Threadripper PRO 9965WX 24c, 246 GiB DDR5-5600, 2x RTX PRO 6000 97,887 MiB P2P, PCIe 5 NVMe; docs/BENCHMARKS.md @ HEAD). Final compose config (chunk 8192, KV 11 GiB/GPU, LMCache on, CPU experts decode-only, diffbot update layer-skip+memo adopted). Decode rows are warm 2nd-pass aggregates on a 25.6k greedy code-edit prefix (Concurrency section); the update-ablation decode line reads 274/508/541 and the README headline ~270/500/540 - same config, different pass. TTFT rows are cold prefill, fresh seed each.' + notes: "Author-measured; docs/BENCHMARKS.md @ repo HEAD f020f980 (measured 2026-11-15, fresh seed per cold run). Same box + final config as the 2026-11-09 table (Threadripper PRO 9965WX, 2x RTX PRO 6000 P2P, LMCache on, CPU experts decode-only, chunk 8192, KV 11 GiB/GPU); rates depend on the author's LACT profile (600 W, +350/+4000 MHz offsets; stock clocks slower). Decode = warm 2nd-pass aggregates on the 25.6k code-edit prefix. TTFT rows unchanged and not re-run after the 11-14 revision." points: + - + context_len: 16000 + ttft_ms: 1400 + notes: 'cold prefill TTFT, ~15,826-token prompt (marker 16000), fresh seed; prefill ~11.6k tok/s; not re-run after the 11-14 revision (11-09 ablation-before 1.50 s).' - context_len: 25600 concurrency: 1 - decode_tok_s: 251 - notes: 'warm 2nd pass, 1/4/6-stream set; 1st pass 206; Decode section states ~250 warm (192 cold); ablation line 274.' + decode_tok_s: 282 + notes: 'r2: warm 2nd pass, 1/4/6-stream set (11-14 rev); 1st pass 185; 11-09 setup 251 (1st pass 206; ablation line 274).' - context_len: 25600 concurrency: 4 - decode_tok_s: 446 - notes: 'warm 2nd pass aggregate; 1st pass 427; update-ablation decode line 508 (README headline ~500).' + decode_tok_s: 518 + notes: 'r2: warm 2nd pass aggregate (11-14 rev); 1st pass 395; 11-09 setup 446 (1st pass 427; ablation line 508).' - context_len: 25600 concurrency: 6 - decode_tok_s: 534 - notes: 'warm 2nd pass aggregate; 1st pass 548; ablation line 541 (README ~540). Max-effort run (temp 1.0, effort max): 530/499.' - - - context_len: 404000 - concurrency: 6 - prefill_tok_s: 12300 - notes: 'six concurrent ~404k-token cold requests (2.42M tokens), wall 197 s, aggregate 12.3k tok/s, all six needles found; warm repeat 1-4 s each. Pre-update same config: 265 s / 9.1k tok/s (row uses the marker ctx 404000 for the ~404k cell).' - - - context_len: 16000 - ttft_ms: 1400 - notes: 'cold prefill TTFT, ~15,826-token prompt (marker 16000), fresh seed; prefill ~11.6k tok/s; before the update ablation 1.50 s.' + decode_tok_s: 557 + notes: 'r2: warm 2nd pass aggregate (11-14 rev); 1st pass 548; 11-09 setup 534 (ablation line 541). Max-effort: 530/499.' - context_len: 60000 ttft_ms: 5000 - notes: 'cold TTFT, ~60,046-token prompt (marker 60000); ~12.0k tok/s; ablation-before 5.46 s.' + notes: 'cold TTFT, ~60,046-token prompt (marker 60000); ~12.0k tok/s; not re-run after the 11-14 revision (ablation-before 5.46 s).' - context_len: 196000 ttft_ms: 15700 - notes: 'cold TTFT, ~195,600-token prompt (marker 196000); ~12.5k tok/s; ablation-before 16.83 s.' + notes: 'cold TTFT, ~195,600-token prompt (marker 196000); ~12.5k tok/s; not re-run after the 11-14 revision (ablation-before 16.83 s).' + - + context_len: 404000 + concurrency: 6 + prefill_tok_s: 12300 + notes: 'r2 (11-14 rev): six concurrent ~404k-token cold requests (2.42M tokens), wall 187 s, all six needles found, VRAM 95,999 MiB; warm repeat 2 s (197 s / 12.3k tok/s with only the 11-09 layer skip; pre-update 265 s / 9.1k). Docs restate no aggregate for the 187 s row (row uses marker ctx 404000 for the ~404k cell).' - context_len: 505000 ttft_ms: 41600 - notes: 'cold TTFT, ~505,214-token prompt (marker 505000); ~12.1k tok/s; ablation-before 44.25 s; peak VRAM 95,958 MiB (1.9 GiB margin).' + notes: 'cold TTFT, ~505,214-token prompt (marker 505000); ~12.1k tok/s; not re-run after the 11-14 revision (ablation-before 44.25 s; peak VRAM 95,958 MiB).' - context_len: 1009950 ttft_ms: 109000 @@ -100,18 +100,18 @@ performance: - context_len: 1030430 ttft_ms: 2700 - notes: 'marker ctx = 1M cold row +20480. Same ~1M prompt resent after a full container restart: TTFT 2.7 s, restored from the LMCache disk tier (128 GiB cap; entries ~1.8 KB/token).' + notes: 'marker ctx = 1M cold row +20480. Same ~1M prompt resent after a full container restart: TTFT 2.7 s, restored from LMCache disk tier (128 GiB cap; entries ~1.8 KB/token).' artifacts: - kind: reference pointer_type: git_commit pointer: 'https://github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000' - pin: 6c65faa723a8d96348328ce61c2d054e8e819ecf + pin: f020f98034679d9ec2d132e55603ba6a35a51a5a - kind: model_weights pointer_type: hf_model pointer: 'https://huggingface.co/diffbot/DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-6000' - pin: 451f7dcb8ecb0502a963f3314e16b34c5a8ce5ae + pin: 6110453b901e4b51da66f539f3802b5c7f18e8e8 - kind: reference pointer_type: hf_model @@ -132,4 +132,4 @@ provenance: - 'https://github.com/theogravity/deepseek-flash-v4.1-dual-rtx-6000' - 'https://huggingface.co/diffbot/DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-6000' - 'https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017' - 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." + 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."