ทดสอบความเร็ว
gemma-4-26B-A4B-it
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W8A16
Decode
300tok/s
Prefill
3.1ktok/s
เวลาถึงโทเค็นแรก
76ms
รวม
419tok/s
VRAM สูงสุด
57.3GB
ความยาวบริบท
32K
ความลึก KV
0
ขนาด batch
1
การทำงานพร้อมกัน
1
การใช้พลังงาน
173W
การตรวจสอบ
การรันที่ตรวจสอบแล้วคำสั่งเริ่มรัน
vllm serve google/gemma-4-26B-A4B-it --quantization int8_per_channel_weight_only --max-model-len 32768 --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
224.6–226.6 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 26.00 GB model weights · 16-bit KV cache · 1–235 tokens of context
Includes speculative decoding: 3.95 tokens accepted per model step on average (56.9–57.4 steps/s) · measured 76.0 steps/s
132–133%
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 W8A16 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)
- Repository
- https://github.com/Morrowmake/vllm…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- W8A16
- Backend
- cuda
- TP
- 1
- KV cache
- bfloat16
- GPU mem util
- 0.92
- Prefix caching
- ใช่
- Max running seqs
- 4
- Spec decode
- เปิดใช้งาน
- MTP
- เปิดใช้งาน
Run config
- Context
- 32,768 tokens
- ความลึก
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 235
- Prefill tok/s
- 3,112.0 tok/s
- กำลังไฟที่ใช้
- 173 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. Online INT8 weight-only from the BF16 checkpoint at load (Triton int8_w8a16 MoE). Official Gemma 4 MTP assistant drafter. 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 291.8-302.7 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
- วิธี
- MTP
- ที่ยอมรับต่อขั้น
- 3.95 โทเค็น
- อัตราการยอมรับ
- 74%
- โทเค็นร่าง
- 520
- โทเค็นที่ยอมรับ
- 383
หลักฐานที่บันทึกไว้
- แฮชพรอมป์ต์ (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,908 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 potential 'Z' suffix."""
return datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
def calculate_percentile(sorted_data, percentile):
"""Calculates percentile using the Nearest Rank method."""
if not sorted_data:
return 0.0
index = int((percentile / 100) * len(sorted_data))
# Ensure index stays within bounds for 100th percentile
index = min(index, len(sorted_data) - 1)
return sorted_data[index]
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 = None
if args.since:
try:
since_dt = parse_iso(args.since)
except ValueError:
print(f"Error: Invalid --since timestamp format: {args.since}", file=sys.stderr)
sys.exit(1)
# Data structures
# stats[service] = {'counts': {level: count}, 'latencies': [list of floats]}
stats = defaultdict(lambda: {'counts': 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)
# Filter by timestamp
if since_dt and ts_dt < since_dt:
continue
# Update counts
stats[service]['counts'][level] += 1
# Update latencies if present
latency = record.get('Runs อื่นของโมเดลนี้บนฮาร์ดแวร์นี้
- 355tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · MXFP4บริบท 32K · ความลึก 0 · batch 1การรันที่ตรวจสอบแล้วSandberg · 19 ต.ค. 2569
- 325tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · MXFP4บริบท 32K · ความลึก 0 · batch 1การรันที่ตรวจสอบแล้วSandberg · 19 ต.ค. 2569
- 285tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · W8A16บริบท 32K · ความลึก 0 · batch 1การรันที่ตรวจสอบแล้วSandberg · 19 ต.ค. 2569
- 263tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · BF16บริบท 16K · ความลึก 0 · batch 1การรันที่ตรวจสอบแล้วSandberg · 19 ต.ค. 2569
- 249tok/svllm · v0.32.0rc1.dev249+g18305948a (Morrowmake/vllm-cmp170hx) · BF16บริบท 16K · ความลึก 0 · batch 1การรันที่ตรวจสอบแล้วSandberg · 19 ต.ค. 2569
