速度测试
gemma-4-26B-A4B-it
RTX 3090 24GB ×2 · vllm · v0.26.0 · INT8_W8A16
murdarch已验证2026年7月25日
解码
145tok/s
预填充
9.3ktok/s
首个 token 延迟
38ms
总计
—
峰值 VRAM
45.1GB
上下文长度
256K
KV 深度
—
批大小
1
功耗
685W
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
vllm serve /opt/models/gemma-4-26B-A4B-it --served-model-name gemma-4-26b --port 8000 --host 0.0.0.0 --dtype bfloat16 --quantization int8_per_channel_weight_only --kv-cache-dtype bfloat16 --enable-prefix-caching --enable-chunked-prefill --tensor-parallel-size 2 --max-model-len 262144 --max-num-seqs 4 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.92 --disable-custom-all-reduce --limit-mm-per-prompt '{"image": 4}' --mm-processor-kwargs '{"max_soft_tokens": 560}' --enable-auto-tool-choice --tool-call-parser gemma4Theoretical memory ceiling
72.0–72.0 tok/s
1,872.4 GB/s memory bandwidth (spec sheet) · 26.00 GB model weights · 16-bit KV cache · 1–53 tokens of context
202–202%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-26B-A4B-it; size from INT8_W8A16 estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3090
- 数量
- 2
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
引擎
- 引擎
- vllm
- 版本
- 0.26.0
- 量化
- INT8_W8A16
- 后端
- cuda
- TP
- 2
- KV 缓存
- bf16
- GPU mem util
- 0.92
- 前缀缓存
- 是
- 分块预填
- 是
- 预填块
- 4096
- 最大运行序列数
- 4
- Attn
- triton
运行配置
- 上下文
- 262,144 个 token
- 批量大小
- 1
- 提示词 token
- 53
- 预填 tok/s
- 9,318.0 tok/s
- 功耗
- 685 W (342 + 342 W)
- 输出 token
- 400
- 备注
- Single-stream decode measured with stream:true, temperature 0, ignore_eos + min_tokens==max_tokens so exactly 400 tokens generate; rate = (n-1)/(t_last_token - t_first_token), so prefill and ramp are excluded. Median of 3 runs; prose and code prompts were identical to within 0.1 t/s (145.2 both) as expected with no speculative decoding. tokSPrefill from a cache-busted 7980-token prompt (0.86 s TTFT); prefill falls to 6780 t/s at 32k and 3171 t/s at 128k. Aggregate decode scales 145.2 / 246.0 / 416.9 t/s at concurrency 1 / 2 / 4 (--max-num-seqs 4 is a deliberate low-tenant setting, not a hardware limit). peakVramGb is 23068 MiB/card x2 at --gpu-memory-utilization 0.92; KV pool 507,367 tokens at 262144 context. Weights are online INT8 per-channel weight-only over bf16 weights (W8A16); activations stay bf16. KV cache is bf16 because Gemma 4's interleaved attention routes to vLLM's Triton backend, which needs SM89+ for native FP8 -- not available on Ampere. 2x RTX 3090 NVLinked (NV4).
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
