ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
Actual Computer — Every computer, one endpoint

ทดสอบความเร็ว

gemma-4-31B-it-qat-w4a16-ct

CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W4A16

Sandbergยืนยันแล้ว19 ต.ค. 2569การรันที่ตรวจสอบแล้ว

Decode

137tok/s

Prefill

1.5ktok/s

เวลาถึงโทเค็นแรก

156ms

รวม

191tok/s

VRAM สูงสุด

58.4GB

ความยาวบริบท

32K

ความลึก KV

0

ขนาด batch

1

การทำงานพร้อมกัน

1

การใช้พลังงาน

176W

การตรวจสอบ

การรันที่ตรวจสอบแล้ว

คำสั่งเริ่มรัน

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 confidence

The 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

Engine

Engine
vllm
เวอร์ชัน
0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx)
Build
ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
Quant
W4A16
Backend
cuda
TP
1
KV cache
bfloat16
GPU mem util
0.92
Prefix caching
ใช่
Max running seqs
4
Spec decode
เปิดใช้งาน

Run config

Context
32,768 tokens
ความลึก
0 tokens
Batch size
1
Prompt tokens
235
Prefill tok/s
1,502.9 tok/s
กำลังไฟที่ใช้
176 W
Output tokens
512
หมายเหตุ
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.

Speculative decoding

วิธี
DFlash
ที่ยอมรับต่อขั้น
4.28 โทเค็น
อัตราการยอมรับ
22%
โทเค็นร่าง
1,800
โทเค็นที่ยอมรับ
393

หลักฐานที่บันทึกไว้

แฮชพรอมป์ต์ (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,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) *

Runs อื่นของโมเดลนี้บนฮาร์ดแวร์นี้