स्पीड टेस्ट
gemma-4-26B-A4B-it
RTX 5090 32GB · ninfer · INT4
डिकोड
547tok/s
प्रीफ़िल
4.6ktok/s
पहले टोकन तक का समय
51ms
कुल
753tok/s
पीक VRAM
18GB
कॉन्टेक्स्ट लंबाई
32K
KV गहराई
0
बैच आकार
1
समवर्तीता
1
बिजली खपत
412W
सत्यापन
असत्यापित — प्रयोगात्मक परिणाम
सत्यापित रन एक मानक टेस्ट प्रॉम्प्ट का उपयोग करते हैं और परिणाम जाँचने के लिए पर्याप्त डेटा दर्ज करते हैं।
- The reported 546.9 tok/s is above the estimated maximum of 456.1 tok/s for this model on RTX 5090.
Launch command
taskset -c 8-23 ./build/apps/ninfer-serve models/gemma4_26b_a4b_qat.ninfer --model-id gemma4-26b-a4b --port 18080 --max-concurrency 1 --max-context 32768 --kv-capacity 32768 --kv-dtype bf16 --spec mtp --draft-tokens 3
Theoretical memory ceiling
466.7–473.6 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 13.00 GB model weights · 16-bit KV cache · 1–229 tokens of context
Includes speculative decoding: 3.44 tokens accepted per model step on average (135.8–137.8 steps/s) · measured 159.2 steps/s
115–117%
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 INT4 estimate. Hardware source · Open calculator
हार्डवेयर
- GPU
- RTX 5090
- Count
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 26.10
इंजन
- इंजन
- ninfer
- Repository
- https://github.com/giveen/ninfer-e…
- Build
- CUDA 13.3, sm_120a, Release, driver 615.71.09
- Commit
- 7d08406d19174245c8205bf216432cd10ecad60b
- Quant
- INT4
- Backend
- cuda
- KV cache
- bf16
- Prefix caching
- हाँ
- Chunked prefill
- हाँ
- Prefill chunk
- 1024
- Spec decode
- सक्षम
- MTP
- सक्षम
Run config
- Context
- 32,768 tokens
- गहराई
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 229
- Prefill tok/s
- 4,557.8 tok/s
- विद्युत खपत
- 412 W
- Output tokens
- 512
- नोट्स
- Single RTX 5090, whole model resident. NInfer gemma4_26b_a4b_qat recipe from the BF16 checkpoint: routed experts exact QAT int4 group-32 rows (the checkpoint's own learned grid), attention/dense MLP/embedding/head Q8 group-32, Q6 assistant drafter; BF16 KV. Gemma 4's assistant drafter via --spec mtp, adaptive draft length up to 3, full head; greedy output is exact. One request, 512 output tokens (no thinking block). This run is the median of 5 timed runs after 1 warmup (fresh cache-bust nonce per request); the 5 runs gave 489.1-513.7 tok/s on reasoning-v1 and 538.9-554.6 on code-v1. Same-session A/B (medians, reasoning / code): no speculation 345.3 / 346.2; MTP up to 5 513.6 / 536.4; up to 7 495.1 / 527.7. tokSOut/tokSPrefill from the server's llama.cpp-style timings, TTFT client-side.
स्पेक्युलेटिव डिकोडिंग
- विधि
- MTP
- प्रति चरण स्वीकृत
- 3.44 टोकन
- स्वीकृति दर
- 83%
- ड्राफ़्ट टोकन
- 434
- स्वीकृत टोकन
- 362
दर्ज साक्ष्य
- प्रॉम्प्ट हैश (SHA-256)
- a737db738bd4…
प्रॉम्प्ट नमूना · 810 chars
[LocalMaxxing cache-bust nonce: f3bd30e4516ca6a4] Implement a small command-line tool in Python called `logtally`. Requirements: - It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number). - It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency). - Malformed lines must be counted and reported at the end, never crash the program. - Support a `--since <ISO timestamp>` flag that drops earlier records. - Use only the standard library. After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
आउटपुट नमूना · 2,010 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
def main():
parser = argparse.ArgumentParser(description="Tally log statistics from stdin.")
parser.add_argument("--since", help="ISO-8601 timestamp to filter logs (inclusive)")
args = parser.parse_args()
since_ts = None
if args.since:
try:
since_ts = datetime.fromisoformat(args.since.replace('Z', '+00:00'))
except ValueError:
print(f"Error: Invalid --since timestamp format.", file=sys.stderr)
sys.exit(1)
# Data structures
# stats[service][level] = count
stats = defaultdict(lambda: defaultdict(int))
# latencies[service] = [list of latency values]
latencies = defaultdict(list)
malformed_count = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
# Validate required fields
ts_str = record['ts']
level = record['level']
service = record['service']
# Parse timestamp for filtering
# replace('Z', ...) handles the common ISO format for UTC
ts = datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
if since_ts and ts < since_ts:
continue
# Update counts
stats[service][level] += 1
# Update latencies
if 'latency_ms' in record and isinstance(record['latency_ms'], (int, float)):
latencies[service].append(float(record['latency_ms']))
except (json.JSONDecodeError, KeyError, ValueError):
malformed_count += 1
# Output results
services = sorted(stats.keys())
if not services:
if malformed_count > 0:
print(f"Malformed lines: {malformed_count}")
return
for service in services:
print(f"Service: {service}")
इस हार्डवेयर पर इस मॉडल के और runs
- 507tok/sninfer · INT432K कॉन्टेक्स्ट · 0 गहराई · बैच 1jabbatheduck · 19 अक्टू॰ 2026
- 296tok/svllm · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 23 जुल॰ 2026
- 287tok/svllm · v0.25.1 · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 23 जुल॰ 2026
- 287tok/svllm · v0.25.1 · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 21 जुल॰ 2026
- 282tok/svllm · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 23 जुल॰ 2026
- 277tok/svllm · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 23 जुल॰ 2026
- 186tok/svllm · v0.25.1 · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 23 जुल॰ 2026
- 186tok/svllm · v0.25.1 · INT82K कॉन्टेक्स्ट · 0 गहराई · बैच 1SgtPooki · 21 जुल॰ 2026
