速度测试
Qwen4-35B-A3B
RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16
解码
477tok/s
预填充
6.2ktok/s
首个 token 延迟
40ms
总计
535tok/s
峰值 VRAM
—
上下文长度
40K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
已验证运行启动命令
docker run --gpus device=2,3 --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,571.0–2,580.4 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–251 tokens of context
Includes speculative decoding: 4.77 tokens accepted per model step on average (539.5–541.5 steps/s) · measured 100.1 steps/s
18–19%
of the ceiling reached
Medium confidenceThe 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
- 数量
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 26.04.1 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
- 251
- 预填 tok/s
- 6,208.7 tok/s
- 输出 token
- 1887
- 备注
- PureTensor lab, tensor-core: two of four RTX PRO 6000 Blackwell Max-Q cards (GPUs 2,3; 325 W limit), Threadripper PRO 9975WX, 512 GB DDR5. 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). Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Radix (prefix) cache off as in the drafter model card. A small embedding server (12 GB) stayed loaded on GPU 0. Thinking off (enable_thinking=false). Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 396 verify steps, 4.77 tokens/step, 10.0 ms/step.
推测解码
- 方法
- DFlash
- 每步接受数
- 4.77 个 token
- 接受率
- 54%
- 草稿 token
- 2,772
- 已接受 token
- 1,491
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 826 chars
[LocalMaxxing cache-bust nonce: b4c368b5aec5f3113ef7e06867df8552] 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 linear interpolation.
This matches the 'inclusive' method (numpy's default, R type-7).
"""
n = len(sorted_data)
if n == 0:
return None
if n == 1:
return sorted_data[0]
# Virtual index (0-based)
idx = (p / 100.0) * (n - 1)
lo = math.floor(idx)
hi = math.ceil(idx)
frac = idx - lo
if lo == hi:
return sorted_data[lo]
return sorted_data[lo] * (1 - frac) + sorted_data[hi] * frac
# ---------------------------------------------------------------------------
# Record parsing
# ---------------------------------------------------------------------------
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_record(line: str) -> dict | None:
"""Try to parse a single JSON log line. Return a normalised dict or None."""
try:
obj = json.loads(line)
except (json.JSONDecodeError, ValueError):
return None
if not isinstance(obj, dict):
return None
# Required fields
if "ts" not in obj or "level" not in obj or "service" not in obj:
return None
level = obj["level"]
if level not in VALID_LEVELS:
return None
# Validate timestamp
try:
ts = datetime.fromisoformat(obj["ts"])
# Ensure timezone-aware for comparison
if ts.tzinfo is None:
ts = ts.replace(tzinfo=timezone.utc)
except (ValueError, TypeError):
return None
# Optional latency
latency = obj.get("latency_ms")
if latency is not None:
try:
latency = float(latency)
except (ValueError, TypeError):
latency = None # treat bad latency as missing
return {
"ts": ts,
"level": level,
"service": str(obj["service"]),
"latency_ms": latency,
}
# ---------------------------------------------------------------------------
# Aggregation
# ---------------------------------------------------------------------------
class ServiceStats:
__slots__ = ("level_counts", "latencies")
def __init__(self) -> None:
self.level_counts: dict[str, int] = defaultdict(int)
self.latencies: list[float] = []
def add(self, record: dict) -> None:
self.level_counts[record["level"]] += 1
if record["latency_ms"] is not None:
self.latencies.append(record["latency_ms"])
def report(self) -> str:
lines: list[str] = []
total = sum(self.level_counts.values())
lines.append(f" total records : {total}")
for lvl in ("DEBUG", "INFO", "WARN", "ERROR"):
cnt = self.level_counts.get(lvl, 0)
lines.append(f" {lvl:<5} : {cnt}")
if self.latencies:
self.latencies.sort()
p50 = percentile(self.latencies, 50)
p95 = percentile(self.latencies, 95)
lines.append(f" latency p50 : {p50:.2f} ms")
lines.append(f" latency p95 : {p95:.2f} ms")
else:
lines.append(" latency : (no data)")
return "\n".join(lines)
# ---------------------------------------------------------------------------
# Main
# ---------------------------------------------------------------------------
def main() -> None:
parser = argparse.ArgumentParser(
prog="logtally",
description="Aggregate newline-delimited JSON log records from stdin.",
)
pa该模型在此硬件上的更多运行
- 429tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批大小 1puretensor · 2026年12月4日
- 410tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批大小 1puretensor · 2026年12月4日
- 368tok/svllm · v0.1.dev26393+gf247de72b · BF16上下文 1024K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 364tok/svllm · v0.1.dev26393+gf247de72b · BF16上下文 1024K · 深度 0 · 批大小 1puretensor · 2026年12月4日
- 353tok/svllm · v0.1.dev26393+gf247de72b · BF16上下文 1024K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 305tok/svllm · v0.1.dev26393+gf247de72b · BF16上下文 1024K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 298tok/svllm · v0.1.dev26393+gf247de72b · BF16上下文 1024K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 283tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 198tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
- 197tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批大小 1已验证运行puretensor · 2026年12月4日
