速度測試模型基準評測租用報告硬體解碼計算器組織ProAPI文件提交
語言
Actual Computer — Every computer, one endpoint

速度測試

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

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

Sandberg已驗證2026年10月30日已驗證執行

解碼

83.7tok/s

預填

11.1ktok/s

首個 token 延遲

21ms

總計

122tok/s

峰值 VRAM

21.2GB

上下文長度

256K

KV 深度

0

批次大小

1

並行數

1

功耗

347W

驗證

已驗證執行

啟動命令

vllm serve google/gemma-4-12B-it-qat-w4a16-ct --max-model-len 262144 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --language-model-only

Theoretical memory ceiling

153.7–156.0 tok/s

936.2 GB/s memory bandwidth (spec sheet) · 6.00 GB model weights · 16-bit KV cache · 1–236 tokens of context

54–54%

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-12B-it-qat-w4a16-ct; size from W4A16 estimate. Hardware source · Open calculator

模型

GPU
RTX 3090
數量
1
VRAM
24 GB
OS
Ubuntu 24.04.5

引擎

引擎
vllm
版本
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
量化
W4A16
後端
cuda
TP
1
KV 快取
auto
GPU mem util
0.94
Prefix caching
是
Max running seqs
128

執行設定

上下文
262,144 個 token
深度
0 個 token
批次大小
1
提示詞 token
236
預填 tok/s
11.1K tok/s
功耗
347 W
輸出 token
512
備註
Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: auto (bf16). 1x RTX 3090 24GB (Zagitta/gpu-unlock), 350 W limit (VBIOS max), PCIe Gen4 x16 | AMD Ryzen 9 7900X 12C | 32 GB DDR5 | Ubuntu 24.04.5, NVIDIA driver 595.99.02. 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 83.7-83.7 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,892 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
import math

def parse_iso_datetime(dt_str):
    # Handles common ISO formats; handles 'Z' suffix by replacing with +00:00
    return datetime.fromisoformat(dt_str.replace('Z', '+00:00'))

def get_percentile(data, percentile):
    if not data:
        return None
    data.sort()
    # Using the Nearest Rank method
    index = math.ceil((percentile / 100) * len(data)) - 1
    return data[max(0, index)]

def main():
    parser = argparse.ArgumentParser(description="Tally log records by service and level.")
    parser.add_argument("--since", help="ISO-8601 timestamp to filter records after.")
    args = parser.parse_args()

    since_dt = None
    if args.since:
        try:
            since_dt = parse_iso_datetime(args.since)
        except ValueError:
            print(f"Error: Invalid date format for --since. Use ISO-8601.", file=sys.stderr)
            sys.exit(1)

    # Structure: {service: {level: count, latencies: []}}
    stats = defaultdict(lambda: defaultdict(lambda: {"count": 0, "latencies": []}))
    malformed_count = 0

    for line in sys.stdin:
        line = line.strip()
        if not line:
            continue
        try:
            record = json.loads(line)
            
            # Validate required fields
            if not all(k in record for k in ("ts", "level", "service")):
                malformed_count += 1
                continue

            # Filter by time
            current_dt = parse_iso_datetime(record["ts"])
            if since_dt and current_dt < since_dt:
                continue

            service = record["service"]
            level = record["level"]
            
            stats[service][level]["count"] += 1
            
            if "latency_ms" in record and isinstance(record["latency_ms"], (int,

此模型在此硬體上的更多執行