速度测试模型基准评测租用报告硬件解码计算器组织ProAPI文档提交
语言
Actual Computer — Every computer, one endpoint

速度测试

Qwen4-35B-A3B

RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16

puretensor已验证2026年12月5日已验证运行

解码

408tok/s

预填充

6.3ktok/s

首个 token 延迟

40ms

总计

455tok/s

峰值 VRAM

—

上下文长度

40K

KV 深度

0

批大小

1

并发数

1

功耗

—

验证

已验证运行

启动命令

docker run --gpus all --ipc=host --shm-size 32g lmsysorg/sglang:qwen4 python3 -m sglang.launch_server --model-path Qwen/Qwen4-35B-A3B --served-model-name Qwen/Qwen4-35B-A3B --trust-remote-code --tp-size 2 --mem-fraction-static 0.6 --disable-radix-cache --max-running-requests 64 --context-length 40960 --random-seed 42 --speculative-algorithm DFLASH --speculative-draft-model-path RadixArk/Qwen4-35B-A3B-Dflash2 --speculative-dflash-block-size 8 --speculative-draft-kv-cache-dtype bf16 --speculative-use-block-verification

Theoretical memory ceiling

2,447.5–2,456.1 tok/s

3,584 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–253 tokens of context

Includes speculative decoding: 4.51 tokens accepted per model step on average (542.3–544.2 steps/s) · measured 90.4 steps/s

17–17%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from Qwen/Qwen4-35B-A3B; size from BF16 estimate. Hardware source · Open calculator

模型

GPU
RTX PRO 6000 Blackwell Workstation Edition
数量
2
VRAM
96 GB
OS
Ubuntu 24.04.5 LTS

引擎

引擎
sglang
版本
0.5.24.dev1+gcd1dc28
Build
lmsysorg/sglang:qwen4 (sha256:a574b8c4d271459718a64f9dacd5ba373fcd4e75ee99770abeab4203557eccbd)
Commit
cd1dc28
量化
BF16
后端
cuda
TP
2
GPU mem util
0.6
前缀缓存
否
最大运行序列数
64
Spec decode
已启用

运行配置

上下文
40,960 个 token
深度
0 个 token
批量大小
1
提示词 token
253
预填 tok/s
6,315.3 tok/s
输出 token
2048
备注
PureTensor lab, fox-n0: two RTX PRO 6000 Blackwell Workstation Edition cards (600 W limit), Threadripper 7970X, 256 GB RAM. SGLang official Qwen4 image, pinned by digest, TP2. Full BF16 weights with the RadixArk DFlash2 block drafter (BF16 draft, 8-token verify width, block verification). CPU in a performance window (boost on, performance governor, C2 off). Radix (prefix) cache off as in the drafter model card. A small reranker (2.3 GB) stayed loaded on GPU 0. Thinking off (enable_thinking=false). Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 454 verify steps, 4.51 tokens/step, 11.1 ms/step.

推测解码

方法
DFlash
每步接受数
4.51 个 token
接受率
50%
草稿 token
3,178
已接受 token
1,595

已记录的证据

提示词哈希(SHA-256)
a737db738bd4…
提示词样本 · 826 chars
[LocalMaxxing cache-bust nonce: 3491927ba6da141002071292e7f9fe28]
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.
输出样本 · 4,000 chars
# `logtally` — Command-Line Log Aggregator

## Implementation

```python
#!/usr/bin/env python3
"""logtally – aggregate newline-delimited JSON log records from stdin."""

import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone


# ---------------------------------------------------------------------------
# Percentile helpers
# ---------------------------------------------------------------------------

def percentile(sorted_data: list[float], p: float) -> float | None:
    """Return the *p*-th percentile (0-100) using the 'inclusive' method.

    This matches the approach used by NumPy's default and R's type-7
    quantile estimator:

        rank = (n - 1) * p / 100          (0-based)
        lo   = floor(rank)
        hi   = ceil(rank)
        frac = rank - lo
        result = data[lo] + frac * (data[hi] - data[lo])

    Returns *None* when the input list is empty.
    """
    if not sorted_data:
        return None
    n = len(sorted_data)
    if n == 1:
        return sorted_data[0]
    rank = (n - 1) * p / 100.0
    lo = int(math.floor(rank))
    hi = int(math.ceil(rank))
    frac = rank - lo
    return sorted_data[lo] + frac * (sorted_data[hi] - sorted_data[lo])


# ---------------------------------------------------------------------------
# Timestamp parsing
# ---------------------------------------------------------------------------

def parse_ts(raw: str) -> datetime:
    """Parse an ISO-8601 timestamp string into a timezone-aware datetime."""
    # Python 3.11+ handles the 'Z' suffix natively; handle it manually
    # for earlier versions.
    cleaned = raw.replace("Z", "+00:00").replace("z", "+00:00")
    dt = datetime.fromisoformat(cleaned)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


# ---------------------------------------------------------------------------
# Core aggregation
# ---------------------------------------------------------------------------

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")


def aggregate(records: list[dict], since: datetime | None = None):
    """Walk *records* and return (per-service stats, malformed count).

    Each per-service entry is a dict with:
        counts  – {level: int}
        latencies – sorted list of latency_ms values
    """
    per_service: dict[str, dict] = defaultdict(lambda: {
        "counts": defaultdict(int),
        "latencies": [],
    })
    malformed = 0

    for rec in records:
        # --- structural validation ----------------------------------------
        if not isinstance(rec, dict):
            malformed += 1
            continue

        # --- timestamp ----------------------------------------------------
        ts_raw = rec.get("ts")
        if not isinstance(ts_raw, str):
            malformed += 1
            continue
        try:
            ts = parse_ts(ts_raw)
        except (ValueError, TypeError):
            malformed += 1
            continue

        if since is not None and ts < since:
            continue

        # --- level --------------------------------------------------------
        level = rec.get("level")
        if level not in LEVELS:
            malformed += 1
            continue

        # --- service ------------------------------------------------------
        service = rec.get("service")
        if not isinstance(service, str) or not service:
            malformed += 1
            continue

        # --- latency (optional) -------------------------------------------
        latency = rec.get("latency_ms")
        if latency is not None:
            if not isinstance(latency, (int, float)) or isinstance(latency, bool):
                malformed += 1
                continue
            if not math.isfinite(latency):
                malformed += 1
                continue

        # --- commit -------------------------------------------------------
        svc = per_service[service]
        svc["counts"]

该模型在此硬件上的更多运行