Snelheidstest
gemma-4-26B-A4B-it
RTX 3090 24GB ×2 · vllm · v0.26.0 · INT8_W8A16
murdarchGeverifieerd25 jul 2026
Decode
163tok/s
Prefill
8.9ktok/s
Tijd tot eerste token
47ms
Totaal
—
Piek-VRAM
45,4GB
Contextlengte
256K
KV-diepte
—
Batchgrootte
1
Stroomverbruik
641W
Verificatie
Niet geverifieerd — experimenteel resultaat
Geverifieerde runs gebruiken een standaard testprompt en leggen genoeg gegevens vast om het resultaat te controleren.
Startcommando
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 --speculative-config '{"model": "/opt/models/gemma-4-26B-A4B-it-eagle3", "num_speculative_tokens": 3}' --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
Can't estimate a ceiling for speculative decoding runs unless the run reports how many draft tokens were accepted.
Hardware
- GPU
- RTX 3090
- Aantal
- 2
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- vllm
- Versie
- 0.26.0
- Quant
- INT8_W8A16
- Backend
- cuda
- TP
- 2
- KV cache
- bf16
- GPU mem util
- 0.92
- Prefix caching
- ja
- Chunked prefill
- ja
- Prefill chunk
- 4096
- Max running seqs
- 4
- Attn
- triton
- Spec decode
- ingeschakeld
Run config
- Context
- 262.144 tokens
- Batchgrootte
- 1
- Prompttokens
- 53
- Prefill tok/s
- 8,865.0 tok/s
- Stroomverbruik
- 641 W (331 + 311 W)
- Outputtokens
- 400
- Notities
- Second configuration of the same box: Eagle3 speculative decoding on top of the INT8 W8A16 run already submitted (145.2 t/s, no spec-decode). Drafter RedHatAI/gemma-4-26B-A4B-it-speculator.eagle3 (1.8 GB, speculators format), n=3. tokSOut 162.9 is prose, median of 3 (+12.2% over the non-speculative baseline); the same harness on a code prompt gives 206.2 t/s (+42.0%), since acceptance is far higher on syntactic text -- 46.2% accepted / 2.39 tokens per step on code vs 29.7% / 1.89 on prose. Method: stream:true, temperature 0, ignore_eos + min_tokens==max_tokens forcing exactly 400 tokens; rate = (n-1)/(t_last - t_first) so prefill and ramp are excluded, and n comes from usage.completion_tokens, NOT SSE chunk count -- under spec-decode vLLM packs each step's accepted tokens into one chunk, so counting chunks under-reports by the tokens-per-step factor. Aggregate decode 162.7 / 296.2 / 618.2 t/s at concurrency 1 / 2 / 4, vs 145.2 / 246.0 / 416.9 without spec-decode; --max-num-seqs 4 is a deliberate low-tenant setting, not a hardware limit. n=3 chosen over n=4 (faster single-stream on code at 218.8 t/s) because this endpoint serves parallel traffic and n=3 is clearly better under concurrency. Acceptance falls as num_speculative_tokens rises while tokens-per-step keeps climbing -- tokens/step is what predicts throughput, not accept rate. Costs vs non-speculative: KV pool 507,367 -> 374,279 tokens (still 1.43x full 262144 context), TTFT 38 -> 47 ms, prefill ~5% slower (9318 -> 8865 tok/s at 8k, 6434 at 32k). This same drafter was previously a large net loss on an NVFP4 build of this model; it wins here because int8_per_channel_weight_only quantizes weights only and leaves activations bf16, which is what the speculator was trained against. peakVramGb = 23240 MiB/card x2 at util 0.92. KV cache is bf16 because Gemma 4's interleaved attention routes to vLLM's Triton backend, which needs SM89+ for native FP8 -- unavailable on Ampere. 2x RTX 3090 NVLinked (NV4).
Vastgelegd bewijs
- Prompt-hash (SHA-256)
- —
Promptvoorbeeld—
Uitvoervoorbeeld—
