Test szybkości
Qwen4-35B-A3B
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16
Dekodowanie
408tok/s
Prefill
6.3ktok/s
Czas do pierwszego tokenu
40ms
Łącznie
455tok/s
Szczytowe VRAM
—
Długość kontekstu
40K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
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 --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,447.5–2,456.1 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–253 tokens of context
Includes speculative decoding: 4.51 tokens accepted per model step on average (542.3–544.2 steps/s) · measured 90.4 steps/s
17–17%
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
Sprzęt
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Liczba
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Silnik
- Silnik
- sglang
- Wersja
- 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
- nie
- Max running seqs
- 64
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 40 960 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 253
- Prefill tok/s
- 6,315.3 tok/s
- Tokeny wyjściowe
- 2048
- Notatki
- 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 with the RadixArk DFlash2 block drafter (BF16 draft, 8-token verify width, block verification). 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). 454 verify steps, 4.51 tokens/step, 11.1 ms/step.
Dekodowanie spekulatywne
- Metoda
- DFlash
- Akceptowane na krok
- 4,51 tokenów
- Współczynnik akceptacji
- 50%
- Tokeny szkicu
- 3178
- Zaakceptowane tokeny
- 1595
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 3491927ba6da141002071292e7f9fe28] 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.
Próbka odpowiedzi · 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' method.
This matches the approach used by NumPy's default and R's type-7
quantile estimator:
rank = (n - 1) * p / 100 (0-based)
lo = floor(rank)
hi = ceil(rank)
frac = rank - lo
result = data[lo] + frac * (data[hi] - data[lo])
Returns *None* when the input list is empty.
"""
if not sorted_data:
return None
n = len(sorted_data)
if n == 1:
return sorted_data[0]
rank = (n - 1) * p / 100.0
lo = int(math.floor(rank))
hi = int(math.ceil(rank))
frac = rank - lo
return sorted_data[lo] + frac * (sorted_data[hi] - sorted_data[lo])
# ---------------------------------------------------------------------------
# Timestamp parsing
# ---------------------------------------------------------------------------
def parse_ts(raw: str) -> datetime:
"""Parse an ISO-8601 timestamp string into a timezone-aware datetime."""
# Python 3.11+ handles the 'Z' suffix natively; handle it manually
# for earlier versions.
cleaned = raw.replace("Z", "+00:00").replace("z", "+00:00")
dt = datetime.fromisoformat(cleaned)
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
# ---------------------------------------------------------------------------
# Core aggregation
# ---------------------------------------------------------------------------
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def aggregate(records: list[dict], since: datetime | None = None):
"""Walk *records* and return (per-service stats, malformed count).
Each per-service entry is a dict with:
counts – {level: int}
latencies – sorted list of latency_ms values
"""
per_service: dict[str, dict] = defaultdict(lambda: {
"counts": defaultdict(int),
"latencies": [],
})
malformed = 0
for rec in records:
# --- structural validation ----------------------------------------
if not isinstance(rec, dict):
malformed += 1
continue
# --- timestamp ----------------------------------------------------
ts_raw = rec.get("ts")
if not isinstance(ts_raw, str):
malformed += 1
continue
try:
ts = parse_ts(ts_raw)
except (ValueError, TypeError):
malformed += 1
continue
if since is not None and ts < since:
continue
# --- level --------------------------------------------------------
level = rec.get("level")
if level not in LEVELS:
malformed += 1
continue
# --- service ------------------------------------------------------
service = rec.get("service")
if not isinstance(service, str) or not service:
malformed += 1
continue
# --- latency (optional) -------------------------------------------
latency = rec.get("latency_ms")
if latency is not None:
if not isinstance(latency, (int, float)) or isinstance(latency, bool):
malformed += 1
continue
if not math.isfinite(latency):
malformed += 1
continue
# --- commit -------------------------------------------------------
svc = per_service[service]
svc["counts"]Więcej przebiegów tego modelu na tym sprzęcie
- 414tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1puretensor · 5 gru 2026
- 382tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1puretensor · 5 gru 2026
- 248tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 5 gru 2026
- 203tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 5 gru 2026
- 195tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1puretensor · 5 gru 2026
- 163tok/ssglang · v0.5.24.dev1+gcd1dc28 · BF16kontekst 40K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 5 gru 2026
