Test di velocità
gemma-4-31B-it-qat-w4a16-ct
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A16
Decodifica
137tok/s
Prefill
1.5ktok/s
Tempo al primo token
156ms
Totale
191tok/s
VRAM di picco
58,4GB
Lunghezza del contesto
32K
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
176W
Verifica
Esecuzione verificataComando di avvio
VLLM_THIN_GEMM=1 vllm serve google/gemma-4-31B-it-qat-w4a16-ct --max-model-len 32768 --max-num-seqs 4 --gpu-memory-utilization 0.92 --enable-prefix-caching --speculative-config '{"method":"dflash","model":"z-lab/gemma-4-31B-it-DFlash","num_speculative_tokens":15}'Theoretical memory ceiling
365.0–386.7 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–235 tokens of context
Includes speculative decoding: 4.28 tokens accepted per model step on average (85.4–90.5 steps/s) · measured 31.9 steps/s
35–37%
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-31B-it-qat-w4a16-ct; size from W4A16 estimate. Hardware source · Open calculator
Hardware
- GPU
- CMP 170HX
- Conteggio
- 1
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
Motore
- Motore
- vllm
- Versione
- 0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx)
- Repository
- https://github.com/Morrowmake/vllm…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- W4A16
- Backend
- cuda
- TP
- 1
- KV cache
- bfloat16
- GPU mem util
- 0.92
- Prefix caching
- sì
- Max running seqs
- 4
- Spec decode
- abilitato
Configurazione run
- Contesto
- 32.768 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 235
- Prefill tok/s
- 1,502.9 tok/s
- Consumo energetico
- 176 W
- Token output
- 512
- Note
- 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. Google's QAT W4A16 compressed-tensors checkpoint (Marlin on sm_80), z-lab DFlash block-diffusion drafter with 15 draft tokens (verifying 16 rows costs about the same as 1 on this card), sm_80 thin-M BF16 GEMM. Single card. 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 127.3-137.4 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.
Decodifica speculativa
- Metodo
- DFlash
- Accettati per passo
- 4,28 token
- Tasso di accettazione
- 22%
- Token di bozza
- 1800
- Token accettati
- 393
Evidenze acquisite
- Hash del prompt (SHA-256)
- a737db738bd4…
Esempio di prompt · 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.
Esempio di output · 1,857 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
def parse_iso(ts_str):
# Handles basic ISO-8601 strings (YYYY-MM-DDTHH:MM:SS...)
return datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
def main():
parser = argparse.ArgumentParser(prog="logtally")
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
# Data structure: { service_name: { "levels": { LEVEL: count }, "latencies": [] } }
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']
# Filter by timestamp
if since_dt and parse_iso(ts_str) < since_dt:
continue
# Tally level
stats[service]["levels"][level] += 1
# Collect latency if present
latency = record.get('latency_ms')
if latency is not None:
stats[service]["latencies"].append(float(latency))
except (json.JSONDecodeError, KeyError, ValueError):
malformed_count += 1
# Output results
for service, data in sorted(stats.items()):
levels = data["levels"]
lats = sorted(data["latencies"])
# Calculate percentiles
p50 = p95 = "N/A"
if lats:
p50 = lats[int(len(lats) * 0.50)]
p95 = lats[int(len(lats) *Altri run di questo modello su questo hardware
- 100tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A16Contesto 32K · profondità 0 · batch 1Esecuzione verificataSandberg · 19 ott 2026
- 45.1tok/svllm · v0.32.0rc1.dev249+g18305948a · W4A16Contesto 32K · profondità 0 · batch 1Esecuzione verificataSandberg · 1 nov 2026
- 44.7tok/svllm · v0.32.0rc1.dev249+g18305948a · W4A16Contesto 32K · profondità 0 · batch 1Esecuzione verificataSandberg · 1 nov 2026
