Test de vitesse
Qwen4-35B-A3B
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16
Décodage
163tok/s
Prefill
3.5ktok/s
Délai jusqu'au premier token
73ms
Total
182tok/s
VRAM max
—
Longueur de contexte
40K
Profondeur KV
0
Taille de lot
1
Concurrence
1
Consommation
—
Vérification
Exécution vérifiéeCommande de lancement
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
Matériel
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Nombre
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Moteur
- Moteur
- sglang
- Version
- 0.5.24.dev1+gcd1dc28
- Build
- lmsysorg/sglang:qwen4 (sha256:a574b8c4d271459718a64f9dacd5ba373fcd4e75ee99770abeab4203557eccbd)
- Commit
- cd1dc28
- Quant
- BF16
- Backend
- cuda
- TP
- 2
- GPU mem util
- 0.6
- Prefix caching
- non
- Max running seqs
- 64
Configuration du run
- Contexte
- 40 960 tokens
- Profondeur
- 0 tokens
- Taille de batch
- 1
- Tokens de prompt
- 253
- Prefill tok/s
- 3,464.0 tok/s
- Tokens de sortie
- 2048
- Notes
- 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).
Preuves capturées
- Empreinte du prompt (SHA-256)
- a737db738bd4…
Extrait du prompt · 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.
Extrait de sortie · 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",
descriAutres runs de ce modèle sur ce matériel
- 414tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1puretensor · 5 déc. 2026
- 408tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1Exécution vérifiéepuretensor · 5 déc. 2026
- 382tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1puretensor · 5 déc. 2026
- 248tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1Exécution vérifiéepuretensor · 5 déc. 2026
- 203tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1Exécution vérifiéepuretensor · 5 déc. 2026
- 195tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16Contexte 40K · profondeur 0 · lot 1puretensor · 5 déc. 2026
