Test di velocità
Qwen4-35B-A3B-NVFP4
RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · NVFP4
Decodifica
212tok/s
Prefill
8.5ktok/s
Tempo al primo token
30ms
Totale
239tok/s
VRAM di picco
—
Lunghezza del contesto
40K
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
—
Verifica
Esecuzione verificataComando di avvio
docker run --gpus device=2,3 --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.2–2,199.1 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 28.50 GB model weights · 16-bit KV cache · 1–252 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
Hardware
- GPU
- RTX PRO 6000 Blackwell Max-Q Workstation Edition
- Conteggio
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 26.04.1 LTS
Motore
- Motore
- sglang
- Versione
- 0.5.24.dev1+gcd1dc28
- Build
- lmsysorg/sglang:qwen4 (sha256:a574b8c4d271459718a64f9dacd5ba373fcd4e75ee99770abeab4203557eccbd)
- Commit
- cd1dc28
- Quant
- NVFP4
- Backend
- cuda
- TP
- 2
- GPU mem util
- 0.6
- Prefix caching
- no
- Max running seqs
- 64
Configurazione run
- Contesto
- 40.960 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 252
- Prefill tok/s
- 8,504.5 tok/s
- Token output
- 1932
- Note
- 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. Target RadixArk NVFP4 (W4A4 experts), no speculative decoding: the control for the DFlash2 arm. 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).
Evidenze acquisite
- Hash del prompt (SHA-256)
- a737db738bd4…
Esempio di prompt · 826 chars
[LocalMaxxing cache-bust nonce: 24224d471b8f432dbc49bedd79c9b141] 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.
Esempio di output · 4,000 chars
# `logtally` — Structured 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): the rank is (n-1) * p/100, and we interpolate between
the two surrounding values.
"""
if not sorted_data:
return 0.0
if len(sorted_data) == 1:
return sorted_data[0]
rank = (len(sorted_data) - 1) * (p / 100.0)
low = int(math.floor(rank))
high = int(math.ceil(rank))
frac = rank - low
if low == high:
return sorted_data[low]
return sorted_data[low] * (1 - frac) + sorted_data[high] * frac
# ---------------------------------------------------------------------------
# Record parsing
# ---------------------------------------------------------------------------
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_record(line: str) -> dict | None:
"""Return a normalised dict or *None* if the line is malformed."""
try:
obj = json.loads(line)
except (json.JSONDecodeError, ValueError):
return None
if not isinstance(obj, dict):
return None
# -- ts ------------------------------------------------------------------
ts_raw = obj.get("ts")
if not isinstance(ts_raw, str):
return None
try:
ts = datetime.fromisoformat(ts_raw)
except (ValueError, TypeError):
return None
# Ensure timezone-aware (assume UTC if naive)
if ts.tzinfo is None:
ts = ts.replace(tzinfo=timezone.utc)
# -- level ---------------------------------------------------------------
level = obj.get("level")
if not isinstance(level, str) or level.upper() not in VALID_LEVELS:
return None
level = level.upper()
# -- service -------------------------------------------------------------
service = obj.get("service")
if not isinstance(service, str) or not service:
return None
# -- latency_ms (optional) -----------------------------------------------
latency = obj.get("latency_ms")
if latency is not None:
if not isinstance(latency, (int, float)) or isinstance(latency, bool):
return None
if latency < 0:
return None
return {
"ts": ts,
"level": level,
"service": service,
"latency_ms": float(latency) if latency is not None else None,
}
# ---------------------------------------------------------------------------
# Aggregation
# ---------------------------------------------------------------------------
class ServiceStats:
def __init__(self):
self.level_counts: dict[str, int] = defaultdict(int)
self.latencies: list[float] = []
def add(self, record: dict):
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] = []
lines.append(f" Levels:")
for lvl in ("DEBUG", "INFO", "WARN", "ERROR"):
lines.append(f" {lvl:<6} {self.level_counts.get(lvl, 0)}")
if self.latencies:
self.latencies.sort()
p50 = percentile(self.latencies, 50)
p95 = percentile(self.latencies, 95)
lines.append(f" Latency (n={len(self.latencies)}):")
lines.append(f" p50 {p50:.2f} ms")
lines.append(f" p95 {p95:.2f} ms")
else:
lines.apAltri run di questo modello su questo hardware
- 561tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4Contesto 40K · profondità 0 · batch 1Esecuzione verificatapuretensor · 4 dic 2026
- 510tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4Contesto 40K · profondità 0 · batch 1puretensor · 4 dic 2026
- 332tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4Contesto 40K · profondità 0 · batch 1Esecuzione verificatapuretensor · 4 dic 2026
- 212tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4Contesto 40K · profondità 0 · batch 1Esecuzione verificatapuretensor · 4 dic 2026
- 208tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP4Contesto 40K · profondità 0 · batch 1puretensor · 4 dic 2026
