速度测试
DeepSeek-V4-Flash-0731-GGUF
RTX 3090 24GB ×4 · llama.cpp · v69 (fork ds4-longctx @ e6718011c) · UD-IQ2_M
superalesha社区PRO2026年8月6日
解码
41.0tok/s
预填充
—
首个 token 延迟
—
总计
—
峰值 VRAM
90.3GB
上下文长度
128K
KV 深度
130,333
批大小
1
功耗
840W
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
CUDA_VISIBLE_DEVICES=0,1,2,3 GGML_CUDA_P2P=1 DSV4_CONSTANT_SHAPE=1 DSV4_SPARSE_FA=1 DSV4_FA_UNION=1 DSV4_IDX_SKIP=1 DSV4_MOE_TILE=1 DSV4_MOE_RESIDENT=1 DSV4_GLU_FUSE=1 DSV4_MOE_FUSE=1 DSV4_DECODE_FUSED_IDX=1 DSV4_DECODE_RADIX_TOPK=1 DSV4_PREFILL_RADIX_TOPK=1 DSV4_MMVQ_SMALLK=1 DSV4_STABLE_TOPO=1 GGML_GALLOC_STICKY=1 DSV4_PREFILL_GRAPHS=1 DSV4_AGENT_CKPT_TAIL=1 llama-server -m DeepSeek-V4-Flash-0731-UD-IQ2_M-00001-of-00003.gguf -ngl 999 -ts 1,1,0.95,1.05 --split-mode layer --flash-attn on --no-repack --ctx-size 131072 --batch-size 8192 --ubatch-size 384 --ctx-checkpoints 1 -t 8 --parallel 1 --jinja --reasoning-budget 1024 --reasoning-budget-message 'Okay, that is enough thinking. Let me get to work.'
Theoretical memory ceiling
652.5–6M tok/s
3,744.8 GB/s memory bandwidth (spec sheet) · 0.01 GB model weights · 8-bit KV cache · 1–130,333 tokens of context
0–6%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from deepseek-ai/DeepSeek-V4-Flash-0731; size from unsloth/DeepSeek-V4-Flash-0731-GGUF/UD-IQ2_M/DeepSeek-V4-Flash-0731-UD-IQ2_M-00001-of-00003.gguf. Hardware source · Open calculator
模型
- GPU
- RTX 3090
- 数量
- 4
- VRAM
- 24 GB
- OS
- Ubuntu 22.04
引擎
- 引擎
- llama.cpp
- 版本
- 69 (fork ds4-longctx @ e6718011c)
- 量化
- UD-IQ2_M
- 后端
- cuda
- TP
- 4
- GPU 层
- 999
- KV 缓存
- fp8
- 前缀缓存
- 是
- 预填块
- 384
- Flash Attn
- 是
运行配置
- 上下文
- 131,072 个 token
- 深度
- 130,333 个 token
- 批量大小
- 1
- 提示词 token
- 130333
- 功耗
- 840 W (210 + 210 + 210 + 210 W)
- 输出 token
- 128
- 备注
- DeepSeek-V4-Flash-0731 (304B MoE, Unsloth UD-IQ2_M, ~90GB GGUF) on 4x RTX 3090 24GB (96GB total, ~90.3GiB used at 130K ctx). Engine: llama.cpp fork with DeepSeek-V4-Flash optimizations - github.com/alesha-pro/llama.cpp branch ds4-longctx @ e6718011c. Launcher: scripts/ds4-prod-serve.sh (full env flag set in commandSnippet). Custom work vs upstream: prefill CUDA graphs, sparse FA + indexer skip, fused MoE (GLU fuse + tiling + resident experts), radix top-k, register-based MLA head-compression sinkhorn kernel, 2-pass fp8 KV quantize kernel, sticky graph allocator, startup warm pass (moves allocator climb out of first request). GPU tuning: PL 270W/card + locked SM clocks (scripts/ds4-gpu-clocks.sh). Full story: DS4HANDOFF.md in the repo. Measured 2026-08-06, server fully warm. This run: decode at 130333 tokens of resident KV context (full 130K warm pass, prompt served from slot cache) -> 40.97 t/s steady state (mean of 2 runs, 24.4 ms/tok, ~210W/card). Prefill measured separately: 1745 t/s on a fresh 32K prompt.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
