Prueba de velocidad
gemma-4-31B-it-qat-w4a16-ct
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a · W4A16
Decodificación
44.7tok/s
Prefill
1.3ktok/s
Tiempo hasta el primer token
182ms
Total
64.4tok/s
VRAM máxima
57,3GB
Longitud de contexto
32K
Profundidad KV
0
Tamaño de lote
1
Concurrencia
1
Consumo de energía
180W
Verificación
Ejecución verificadaComando de lanzamiento
vllm serve google/gemma-4-31B-it-qat-w4a16-ct --max-model-len 32768 --gpu-memory-utilization 0.94 --trust-remote-code --max-num-seqs 1 --no-enable-prefix-caching --max-num-batched-tokens 2048 --language-model-only
Theoretical memory ceiling
89.2–90.5 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–237 tokens of context
49–50%
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
- Cantidad
- 1
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
Motor
- Motor
- vllm
- Versión
- 0.32.0rc1.dev249+g18305948a
- Repository
- https://github.com/vllm-project/vl…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- W4A16
- Backend
- cuda
- TP
- 1
- KV cache
- auto
- GPU mem util
- 0.94
- Prefix caching
- no
- Chunk de prefill
- 2048
- Máx. seqs en ejecución
- 1
Configuración de ejecución
- Contexto
- 32.768 tokens
- Profundidad
- 0 tokens
- Tamaño de batch
- 1
- Tokens del prompt
- 237
- Prefill tok/s
- 1,301.4 tok/s
- Consumo de energía
- 180 W
- Tokens de salida
- 512
- Notas
- Single-stream tuned config: 1 running sequence, prefix caching off, BF16 KV, default attention backend (FlashAttention would not start), max-num-batched-tokens 2048, 32k context. Companion to our untuned matrix-config speed test of this model (128 sequences, prefix caching on), to show how much a single-user config changes decode. Spec decode: none. KV cache: auto (bf16). 1x NVIDIA CMP 170HX 64GB (cmpunlocker), 180 W limit, PCIe Gen2 x4 | 2x Intel Xeon E5-2630 v3 | 64 GB DDR4 | Ubuntu 26.04.1, NVIDIA driver 610.57.04 | vLLM: Morrowmake vllm-cmp170hx image. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cache-bust nonce so every prefill is cold, thinking off. Median of 5 runs (range 44.7-44.9 tok/s). tokSOut = (completion - 1) / time after first token.
Evidencia capturada
- Hash del prompt (SHA-256)
- a737db738bd4…
Muestra del 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.
Muestra de salida · 1,841 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 get_percentile(data, percentile):
if not data:
return None
sorted_data = sorted(data)
index = (percentile / 100) * (len(sorted_data) - 1)
# Linear interpolation between indices
lower = int(index)
upper = lower + 1
weight = index - lower
if upper >= len(sorted_data):
return sorted_data[lower]
return sorted_data[lower] * (1 - weight) + sorted_data[upper] * weight
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
# stats[service][level] = count
counts = defaultdict(lambda: defaultdict(int))
# latencies[service] = [val1, val2, ...]
latencies = defaultdict(list)
malformed_count = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
# Validation and Filtering
ts = parse_iso(record['ts'])
if since_dt and ts < since_dt:
continue
service = record['service']
level = record['level']
counts[service][level] += 1
if 'latency_ms' in record and record['latency_ms'] is not None:
latencies[service].append(float(record['latency_ms']))
except (json.JSONDecodeError, KeyError, ValueError, TypeError):
malformed_count += Más ejecuciones de este modelo en este hardware
- 137tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A1632K contexto · 0 profundidad · lote 1Ejecución verificadaSandberg · 19 oct 2026
- 100tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A1632K contexto · 0 profundidad · lote 1Ejecución verificadaSandberg · 19 oct 2026
- 45.1tok/svllm · v0.32.0rc1.dev249+g18305948a · W4A1632K contexto · 0 profundidad · lote 1Ejecución verificadaSandberg · 1 nov 2026
