速度測試
Qwen4-35B-A3B
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16
解碼
163tok/s
預填
3.5ktok/s
首個 token 延遲
73ms
總計
182tok/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
Theoretical memory ceiling
584.2–584.7 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–253 tokens of context
28–28%
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 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
- Prefix caching
- 否
- Max running seqs
- 64
執行設定
- 上下文
- 40,960 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 253
- 預填 tok/s
- 3,464.0 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, no speculative decoding: the control for the DFlash2 arm. 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).
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: c135111039cb6a2f1a8df1b6027199c3] 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:
"""Return the *p*-th percentile (0-100) using linear interpolation.
This is the "inclusive" method (equivalent to numpy's default /
R type-7), which interpolates between the two nearest ranks so
that the result is well-defined even for small samples.
"""
n = len(sorted_data)
if n == 0:
return 0.0
if n == 1:
return sorted_data[0]
# Virtual index (0-based)
idx = (p / 100.0) * (n - 1)
lo = int(math.floor(idx))
hi = int(math.ceil(idx))
frac = idx - lo
if lo == hi:
return sorted_data[lo]
return sorted_data[lo] * (1.0 - frac) + sorted_data[hi] * frac
# ---------------------------------------------------------------------------
# Parsing helpers
# ---------------------------------------------------------------------------
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_since(raw: str) -> datetime:
"""Parse an ISO-8601 timestamp string into a timezone-aware datetime."""
dt = datetime.fromisoformat(raw)
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
def parse_record(line: str) -> dict | None:
"""Try to parse a single JSON log line. Returns *None* on failure."""
try:
rec = json.loads(line)
except (json.JSONDecodeError, ValueError):
return None
if not isinstance(rec, dict):
return None
# Required fields
for key in ("ts", "level", "service"):
if key not in rec:
return None
if rec["level"] not in LEVELS:
return None
# Validate timestamp
try:
ts = datetime.fromisoformat(rec["ts"])
if ts.tzinfo is None:
ts = ts.replace(tzinfo=timezone.utc)
rec["_ts"] = ts
except (ValueError, TypeError):
return None
# Optional latency
if "latency_ms" in rec:
try:
rec["latency_ms"] = float(rec["latency_ms"])
except (ValueError, TypeError):
rec["latency_ms"] = None
else:
rec["latency_ms"] = None
return rec
# ---------------------------------------------------------------------------
# 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, rec: dict) -> None:
self.level_counts[rec["level"]] += 1
if rec["latency_ms"] is not None:
self.latencies.append(rec["latency_ms"])
def report(self) -> str:
lines: list[str] = []
level_parts = ", ".join(
f"{lvl}={self.level_counts.get(lvl, 0)}" for lvl in LEVELS
)
lines.append(f" levels: {level_parts}")
if self.latencies:
self.latencies.sort()
p50 = percentile(self.latencies, 50)
p95 = percentile(self.latencies, 95)
lines.append(f" p50 latency: {p50:.2f} ms")
lines.append(f" p95 latency: {p95:.2f} ms")
else:
lines.append(" latency: no data")
return "\n".join(lines)
# ---------------------------------------------------------------------------
# Main
# ---------------------------------------------------------------------------
def main() -> None:
parser = argparse.ArgumentParser(
prog="logtally",
descri此模型在此硬體上的更多執行
- 414tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1puretensor · 2026年12月5日
- 408tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 382tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1puretensor · 2026年12月5日
- 248tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 203tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 195tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16上下文 40K · 深度 0 · 批次 1puretensor · 2026年12月5日
