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

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

Qwen3.5-9B-AWQ-4bit

RTX 3090 24GB · vllm · v0.32.0 · W4A16 g32

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

Decode

179tok/s

Prefill

5.2ktok/s

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

44ms

รวม

256tok/s

VRAM สูงสุด

23GB

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

256K

ความลึก KV

0

ขนาด batch

1

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

1

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

412W

การตรวจสอบ

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

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

vllm serve cyankiwi/Qwen3.5-9B-AWQ-4bit --max-model-len 262144 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --language-model-only --speculative-config {"method":"mtp","num_speculative_tokens":2}

Theoretical memory ceiling

The quantization "W4A16 g32" isn't recognized, so the model's size in memory is unknown.

ฮาร์ดแวร์

GPU
RTX 3090
จำนวน
1
VRAM
24 GB
OS
Ubuntu 24.04.5

Engine

Engine
vllm
เวอร์ชัน
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
Quant
W4A16 g32
Backend
cuda
TP
1
KV cache
auto
GPU mem util
0.94
Prefix caching
ใช่
Max running seqs
128
Spec decode
เปิดใช้งาน
MTP
เปิดใช้งาน

Run config

Context
262,144 tokens
ความลึก
0 tokens
Batch size
1
Prompt tokens
231
Prefill tok/s
5,224.4 tok/s
กำลังไฟที่ใช้
412 W
Output tokens
512
หมายเหตุ
Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: MTP, 2 tokens lookahead. KV cache: auto (bf16). 1x RTX 3090 24GB (Zagitta/gpu-unlock), 420 W limit, PCIe Gen3 x16 | Intel Core i7-9700K 8C | 32 GB DDR4 | Ubuntu 24.04.5, NVIDIA driver 580.178.04. 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 176.4-181.0 tok/s). tokSOut = (completion - 1) / time after first token.

Speculative decoding

วิธี
MTP
ที่ยอมรับต่อขั้น
2.59 โทเค็น
อัตราการยอมรับ
80%
โทเค็นร่าง
396
โทเค็นที่ยอมรับ
315

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

แฮชพรอมป์ต์ (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,944 chars
```python
#!/usr/bin/env python3
"""
logtally: A CLI tool to aggregate log statistics from newline-delimited JSON.

Usage:
    python logtally.py [--since <ISO_TIMESTAMP>]

Input:
    Newline-delimited JSON lines from stdin.
    Each line should be a JSON object with:
      - ts: ISO-8601 timestamp string
      - level: One of DEBUG, INFO, WARN, ERROR
      - service: String identifying the service
      - latency_ms: Optional number (milliseconds)

Output:
    Per service, prints counts by level and p50/p95 latency.
    At the end, reports the count of malformed lines.
"""

import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
from statistics import median


def parse_args():
    parser = argparse.ArgumentParser(description="Aggregate log statistics from NDJSON.")
    parser.add_argument(
        "--since",
        type=str,
        help="ISO-8601 timestamp to filter records (excludes earlier ones)",
        default=None
    )
    return parser.parse_args()


def parse_timestamp(ts_str):
    """Parse ISO-8601 timestamp string to datetime object."""
    # Handle common ISO formats, including 'Z' suffix
    if ts_str.endswith('Z'):
        ts_str = ts_str[:-1] + '+00:00'
    try:
        return datetime.fromisoformat(ts_str)
    except ValueError:
        return None


def compute_percentile(data, percentile):
    """Compute the given percentile of a list of numbers."""
    if not data:
        return None
    sorted_data = sorted(data)
    n = len(sorted_data)
    k = (n - 1) * percentile / 100.0
    f = int(k)
    c = k - f
    if f + 1 < n:
        return sorted_data[f] + c * (sorted_data[f + 1] - sorted_data[f])
    else:
        return sorted_data[f]


def main():
    args = parse_args()
    
    # Data structures to hold statistics per service
    # service -> { level -> count, latencies -> [list of latency_ms] }
    stats = defaultdict(lambda: {"DEBUG": 0

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