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

速度測試

Qwen4-35B-A3B

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×4 · vllm · v0.1.dev26393+gf247de72b · BF16

puretensor已驗證2026年12月4日已驗證執行

解碼

353tok/s

預填

8.1ktok/s

首個 token 延遲

31ms

總計

367tok/s

峰值 VRAM

—

上下文長度

1024K

KV 深度

0

批次大小

1

並行數

1

功耗

—

驗證

已驗證執行

啟動命令

docker run --gpus all --ipc=host -e VLLM_USE_RUST_FRONTEND=1 vllm/vllm-openai:qwen4 /models/Qwen4-35B-A3B --served-model-name Qwen/Qwen4-35B-A3B --trust-remote-code --enable-prefix-caching --tensor-parallel-size 4 --gpu-memory-utilization 0.85 --max-model-len auto --disable-flashinfer-autotune --kv-cache-dtype nvfp4 --attention-config.indexer_kv_dtype fp8 --enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4 --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'

Theoretical memory ceiling

2,971.6–2,973.2 tok/s

7,168 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 4-bit KV cache · 1–247 tokens of context

Includes speculative decoding: 2.63 tokens accepted per model step on average (1,129.8–1,130.4 steps/s) · measured 134.1 steps/s

12–12%

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 Max-Q Workstation Edition
數量
4
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

引擎

引擎
vllm
版本
0.1.dev26393+gf247de72b
Build
vllm/vllm-openai:qwen4 (sha256:63a160daa7b2c7eac713d2097c6d84d52d4ccf9a935788acdd610a563d39d286)
Commit
f247de72b
量化
BF16
後端
cuda
TP
4
KV 快取
nvfp4
GPU mem util
0.85
Prefix caching
是
Spec decode
已啟用
MTP
已啟用

執行設定

上下文
1,048,576 個 token
深度
0 個 token
批次大小
1
提示詞 token
247
預填 tok/s
8,069.8 tok/s
輸出 token
6056
修訂版本
c06f0c19
備註
PureTensor lab: four RTX PRO 6000 Blackwell Max-Q cards (325 W limit) on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. One model instance split across the four cards with tensor parallel 4; this is not a published recipe configuration (the vLLM recipe lists one GPU, TP1). Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Image pinned by digest. A small embedding server (12 GB) stayed loaded on GPU 0 and was idle. MTP speculative decoding, 3 draft tokens. Thinking ON (reasoning_effort=high); output includes the reasoning trace. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 2302 verify steps, 2.63 tokens/step, 7.5 ms/step.

推測解碼

方法
MTP
每步接受數
2.63 個 token
接受率
54%
草稿 token
6,906
已接受 token
3,753

已記錄的證據

提示詞雜湊(SHA-256)
a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 28dbfd9cd7dfcee0da5d53f92d230ae0]
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
The user wants a CLI tool. Let me write clean, well-structured code using only stdlib.

Key design decisions:
- Streaming parse with json.loads, catch exceptions.
- Percentiles: I'll implement a "nearest-rank / linear interpolation" method. Let me pick linear interpolation between closest ranks (the "R-7" method used by numpy default), which is standard and well-defined. Actually for a log tool, I should explain the choice. Let me implement the standard "linear interpolation of the closest ranks" (numpy's default, R-7) since it's what people expect from p50/p95 and it's stable/deterministic. But storing all latencies per service could be memory heavy — I should mention that. Alternatively use a bounded approach. Let me be honest: I'll keep all latencies in a list per service (simple, exact), and note the memory tradeoff plus a possible t-digest alternative. Actually, better: mention that for very high volume you'd swap in a t-digest or fixed-bucket histogram, but exactness is preferable for correctness.

Hmm, but a thoughtful implementation might avoid unbounded memory. Let me keep it simple and exact, and note the tradeoff. That's honest engineering.

- `--since`: parse ISO timestamp, drop earlier records. Need to handle timezone-aware vs naive comparison. Use datetime.fromisoformat, and normalize: if naive, assume UTC. Records with unparseable ts → malformed.
- Malformed counting: count lines that fail JSON parse, fail schema validation, and count them by reason. Report at end to stderr probably — better to stderr so stdout stays parseable. Let me print the report to stderr and the tally to stdout. Actually the requirement says "reported at the end". I'll print summary to stderr and mention it. Hmm, maybe safer: print stats to stdout, malformed report to stderr. I'll do that and explain.

Let me also handle:
- Blank lines: skip, not malformed? I'd count them as skipped-blank, not malformed. Let's count separately.
- level normalization: uppercase, must be in set.
- latency_ms: must be int/float, not bool, non-negative, finite. Reject NaN/inf.
- ts must be present and parseable.

Percentile function:

```python
def percentile(sorted_values, q):
    n = len(sorted_values)
    if n == 0:
        return None
    if n == 1:
        return sorted_values[0]
    pos = (n - 1) * q
    lo = math.floor(pos)
    hi = math.ceil(pos)
    if lo == hi:
        return sorted_values[int(pos)]
    frac = pos - lo
    return sorted_values[lo] * (1 - frac) + sorted_values[hi] * frac
```

That's R-7.

Also add `--json` output option? Keep scope tight but maybe useful. The requirements don't ask. I'll add a small `--json` flag since it's cheap and useful... Actually, keep it focused; extra features add risk. I'll add it minimally — it's genuinely useful for a log tool. Hmm, "small command-line tool". I'll include `--json` as a one-liner-ish addition. Let me include it, it's low risk.

Let me write the code.

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

from __future__ import annotations

import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone
from typing import Any, Iterable, Iterator, NamedTuple

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

Structure:

```python
class Record(NamedTuple):
    service: str
    level: str
    latency_ms: float | None
```

Parsing:

```python
def parse_timestamp(raw: Any) -> datetime | None:
    if not isinstance(raw, str):
        return None
    text = raw.strip()
    if text.endswith(("Z", "z")):
        text = text[:-1] + "+00:00"
    try:
        dt = datetime.fromisoformat(text)
    except ValueError:
        return None
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt
```

Note: Python 3.11+ fromisoformat handles 'Z'. The manual replacement keeps 3.9/3.10 compat.

Validation of record:

```python
def parse_record(line) -> tuple[Record|None

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