速度測試
Qwen4-35B-A3B-NVFP4
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · NVFP4
解碼
213tok/s
預填
6.9ktok/s
首個 token 延遲
37ms
總計
239tok/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 RadixArk/Qwen4-35B-A3B-NVFP4 --served-model-name RadixArk/Qwen4-35B-A3B-NVFP4 --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
2,192.1–2,199.1 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 28.50 GB model weights · 16-bit KV cache · 1–253 tokens of context
10–10%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from RadixArk/Qwen4-35B-A3B-NVFP4; size from NVFP4 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
- 量化
- NVFP4
- 後端
- cuda
- TP
- 2
- GPU mem util
- 0.6
- Prefix caching
- 否
- Max running seqs
- 64
執行設定
- 上下文
- 40,960 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 253
- 預填 tok/s
- 6,855.7 tok/s
- 輸出 token
- 2015
- 備註
- 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. Target RadixArk NVFP4 (W4A4 experts), 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: 94b66e210fc6fdf549c01e912d2430e5] 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' /
linear-interpolation method (equivalent to numpy's default).
For a sorted array of *n* values the rank is:
rank = (p / 100) * (n - 1)
We then linearly interpolate between the two surrounding values.
"""
n = len(sorted_data)
if n == 0:
return None
if n == 1:
return sorted_data[0]
rank = (p / 100.0) * (n - 1)
lo = int(math.floor(rank))
hi = int(math.ceil(rank))
frac = rank - 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_timestamp(raw: str) -> datetime:
"""Parse an ISO-8601 timestamp string into a timezone-aware datetime.
Naive timestamps are assumed to be UTC.
"""
# Replace trailing 'Z' with +00:00 for fromisoformat compatibility
# (Python <3.11 doesn't accept 'Z').
if raw.endswith("Z") or raw.endswith("z"):
raw = raw[:-1] + "+00:00"
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 a normalised dict or
None if the line is malformed."""
obj = json.loads(line) # may raise json.JSONDecodeError
# --- required fields ---------------------------------------------------
ts_raw = obj["ts"]
level = obj["level"]
service = obj["service"]
if level not in VALID_LEVELS:
raise ValueError(f"invalid level: {level!r}")
ts = parse_timestamp(ts_raw)
# --- optional field ----------------------------------------------------
latency_ms = obj.get("latency_ms")
if latency_ms is not None:
latency_ms = float(latency_ms)
return {
"ts": ts,
"level": level,
"service": service,
"latency_ms": latency_ms,
}
# ---------------------------------------------------------------------------
# Aggregation
# ---------------------------------------------------------------------------
class ServiceStats:
"""Mutable accumulator for one service."""
__slots__ = ("level_counts", "latencies")
def __init__(self) -> None:
self.level_counts: dict[str, int] = defaultdict(int)
self.latencies: list[float] = []
def add(self, level: str, latency_ms: float | None) -> None:
self.level_counts[level] += 1
if latency_ms is not None:
self.latencies.append(latency_ms)
def report(self) -> str:
lines: list[str] = []
for lvl in ("DEBUG", "INFO", "WARN", "ERROR"):
count = self.level_counts.get(lvl, 0)
if count:
lines.append(f" {lvl:<5} : {count}")
if self.latencies:
self.latencies.sort()
p50 = percentile(self.latencies, 50)
p95 = percentile(self.latencies, 95)
lines.append(f" p50 : {p50:.2f} ms")
lines.append(f" p95 : {p95:.2f} ms")
else:
lines.append(" latency: (no data)")
return "\n".join(lines)
# ---------------------------------------------------------------------------
# 此模型在此硬體上的更多執行
- 543tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 509tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4上下文 40K · 深度 0 · 批次 1puretensor · 2026年12月5日
- 321tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 213tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4上下文 40K · 深度 0 · 批次 1已驗證執行puretensor · 2026年12月5日
- 209tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4上下文 40K · 深度 0 · 批次 1puretensor · 2026年12月5日
