速度測試
gemma-4-31B-it-qat-w4a16-ct
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a · W4A16
解碼
44.7tok/s
預填
1.3ktok/s
首個 token 延遲
182ms
總計
64.4tok/s
峰值 VRAM
57.3GB
上下文長度
32K
KV 深度
0
批次大小
1
並行數
1
功耗
180W
驗證
已驗證執行啟動命令
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
模型
- GPU
- CMP 170HX
- 數量
- 1
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
引擎
- 引擎
- vllm
- 版本
- 0.32.0rc1.dev249+g18305948a
- Repository
- https://github.com/vllm-project/vl…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- 量化
- W4A16
- 後端
- cuda
- TP
- 1
- KV 快取
- auto
- GPU mem util
- 0.94
- Prefix caching
- 否
- Prefill chunk
- 2048
- Max running seqs
- 1
執行設定
- 上下文
- 32,768 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 237
- 預填 tok/s
- 1,301.4 tok/s
- 功耗
- 180 W
- 輸出 token
- 512
- 備註
- 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.
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 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 += 此模型在此硬體上的更多執行
- 137tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A16上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月19日
- 100tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A16上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月19日
- 45.1tok/svllm · v0.32.0rc1.dev249+g18305948a · W4A16上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年11月1日
