Test szybkości
gemma-4-26B-A4B-it
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · BF16
Dekodowanie
263tok/s
Prefill
3.1ktok/s
Czas do pierwszego tokenu
77ms
Łącznie
369tok/s
Szczytowe VRAM
57,3GB
Długość kontekstu
16K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
172W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
vllm serve google/gemma-4-26B-A4B-it --max-model-len 16384 --max-num-seqs 4 --gpu-memory-utilization 0.92 --enable-prefix-caching --speculative-config '{"method":"mtp","model":"google/gemma-4-26B-A4B-it-assistant","num_speculative_tokens":4}'Theoretical memory ceiling
110.3–110.7 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 52.00 GB model weights · 16-bit KV cache · 1–235 tokens of context
Includes speculative decoding: 3.86 tokens accepted per model step on average (28.6–28.7 steps/s) · measured 68.2 steps/s
238–239%
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 BF16 estimate. Hardware source · Open calculator
Sprzęt
- GPU
- CMP 170HX
- Liczba
- 1
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
Silnik
- Silnik
- vllm
- Wersja
- 0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx)
- Repository
- https://github.com/Morrowmake/vllm…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- BF16
- Backend
- cuda
- TP
- 1
- KV cache
- bfloat16
- GPU mem util
- 0.92
- Prefix caching
- tak
- Max running seqs
- 4
- Spec decode
- włączone
- MTP
- włączone
Konfiguracja uruchomienia
- Kontekst
- 16 384 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 235
- Prefill tok/s
- 3,056.1 tok/s
- Pobór mocy
- 172 W
- Tokeny wyjściowe
- 512
- Notatki
- Rig: ASUS WS X299 SAGE, Intel Core i7-9800X, 128 GB DDR4, Ubuntu 26.04.1, nvidia-open 610.57.04. 1x CMP 170HX (64 GiB after cmpunlocker, 74 SMs), PCIe Gen2 x4, power limit 180 W per card. Engine image sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79. Unquantized BF16 on one 64 GiB card, official Gemma 4 MTP assistant drafter. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cold prefill, thinking off. Median of 5 runs (range 257.7-277.0 tok/s). tokSOut = (completion - 1) / time after first token. gpuPowerWatts: mean per-card board power over the config's runs (nvidia-smi 2 s). peakVramGb: sum of per-card peaks.
Dekodowanie spekulatywne
- Metoda
- MTP
- Akceptowane na krok
- 3,86 tokenów
- Współczynnik akceptacji
- 71%
- Tokeny szkicu
- 532
- Zaakceptowane tokeny
- 380
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 760 chars
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.
Próbka odpowiedzi · 1,808 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
def parse_iso(ts_str):
"""Parses ISO-8601 strings, handling common variations."""
try:
# fromisoformat handles YYYY-MM-DD[*HH[:MM[:SS[.fff[fff]]]][+HH:MM[:SS[.ffffff]]]]
return datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
except ValueError:
return None
def calculate_percentile(data, percentile):
if not data:
return 0.0
sorted_data = sorted(data)
index = (percentile / 100) * (len(sorted_data) - 1)
lower = int(index)
upper = lower + 1
weight = index - lower
if upper < len(sorted_data):
return sorted_data[lower] * (1 - weight) + sorted_data[upper] * weight
return sorted_data[lower]
def main():
parser = argparse.ArgumentParser(description="Tally log statistics from stdin.")
parser.add_argument("--since", help="ISO-8601 timestamp to filter records")
args = parser.parse_args()
since_dt = parse_iso(args.since) if args.since else None
# stats[service] = { 'levels': {level: count}, 'latencies': [ms, ...] }
stats = defaultdict(lambda: {"levels": defaultdict(int), "latencies": []})
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']
ts_dt = parse_iso(ts_str)
if ts_dt is None:
raise ValueError("Invalid timestamp format")
# Filter by --since
if since_dt and ts_dt < since_dt:
Więcej przebiegów tego modelu na tym sprzęcie
- 355tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · MXFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 19 paź 2026
- 325tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · MXFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 19 paź 2026
- 300tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W8A16kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 19 paź 2026
- 285tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W8A16kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 19 paź 2026
- 249tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · BF16kontekst 16K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 19 paź 2026
