स्पीड टेस्ट
Qwen4-35B-A3B-NVFP4
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · NVFP4
डिकोड
543tok/s
प्रीफ़िल
7.3ktok/s
पहले टोकन तक का समय
34ms
कुल
604tok/s
पीक VRAM
—
कॉन्टेक्स्ट लंबाई
40K
KV गहराई
0
बैच आकार
1
समवर्तीता
1
बिजली खपत
—
सत्यापन
सत्यापित रनLaunch command
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 --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
7,762.6–7,849.3 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 28.50 GB model weights · 16-bit KV cache · 1–250 tokens of context
Includes speculative decoding: 4.59 tokens accepted per model step on average (1,691.3–1,710.2 steps/s) · measured 118.3 steps/s
7–7%
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
- Count
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
इंजन
- इंजन
- sglang
- Version
- 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
- नहीं
- Max running seqs
- 64
- Spec decode
- सक्षम
Run config
- Context
- 40,960 tokens
- गहराई
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 250
- Prefill tok/s
- 7,257.9 tok/s
- Output tokens
- 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. Target RadixArk NVFP4 (W4A4 experts) 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). 446 verify steps, 4.59 tokens/step, 8.5 ms/step.
स्पेक्युलेटिव डिकोडिंग
- विधि
- DFlash
- प्रति चरण स्वीकृत
- 4.59 टोकन
- स्वीकृति दर
- 51%
- ड्राफ़्ट टोकन
- 3,122
- स्वीकृत टोकन
- 1,601
दर्ज साक्ष्य
- प्रॉम्प्ट हैश (SHA-256)
- a737db738bd4…
प्रॉम्प्ट नमूना · 826 chars
[LocalMaxxing cache-bust nonce: 43366287ffd68096b6cbfc6723cba109] 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
# ---------------------------------------------------------------------------
# Helpers
# ---------------------------------------------------------------------------
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
parser = argparse.ArgumentParser(
prog="logtally",
description="Aggregate JSON log records from stdin.",
)
parser.add_argument(
"--since",
type=str,
default=None,
help="ISO-8601 timestamp; records earlier than this are dropped.",
)
return parser.parse_args(argv)
def parse_since(raw: str | None) -> datetime | None:
"""Return a timezone-aware datetime, or None."""
if raw is None:
return None
try:
dt = datetime.fromisoformat(raw)
except (ValueError, TypeError):
print(f"warning: invalid --since value {raw!r}, ignoring", file=sys.stderr)
return None
# If the caller omitted the timezone, assume UTC.
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
def parse_record(line: str) -> dict | None:
"""
Attempt to parse and validate a single JSON log line.
Returns the record dict on success, or None if the line is malformed.
"""
line = line.strip()
if not line:
return None # silently skip blank lines
try:
obj = json.loads(line)
except (json.JSONDecodeError, ValueError):
return None
if not isinstance(obj, dict):
return None
# Required fields
for key in ("ts", "level", "service"):
if key not in obj:
return None
if not isinstance(obj["ts"], str):
return None
if obj["level"] not in LEVELS:
return None
if not isinstance(obj["service"], str):
return None
# Optional field
if "latency_ms" in obj:
val = obj["latency_ms"]
if not isinstance(val, (int, float)) or isinstance(val, bool):
return None
if isinstance(val, float) and math.isnan(val):
return None
return obj
def parse_ts(ts_str: str) -> datetime | None:
"""Parse an ISO-8601 timestamp string; return None on failure."""
try:
dt = datetime.fromisoformat(ts_str)
except (ValueError, TypeError):
return None
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
# ---------------------------------------------------------------------------
# Percentile computation (linear interpolation, same as numpy default)
# ---------------------------------------------------------------------------
def percentile(sorted_data: list[float], p: float) -> float:
"""
Compute the p-th percentile (0–100) using linear interpolation
between the two nearest ranks.
This matches the default method in NumPy / R type-7.
"""
n = len(sorted_data)
if n == 0:
return 0.0
if n == 1:
return sorted_data[0]
# Rank (0-indexed, fractional)
rank = (p / 100.0) * (n - 1)
lo = int(math.floor(rank))
hi = int(math.ceil(rank))
if lo == hi:
return sorted_data[lo]
frac = rank - lo
return sorted_data[lo] * (1 - frac) + sorted_data[hi] * frac
# ---------------------------------------------------------------------------
# Core aggregation
# ---------------------------------------------------------------------------
def aggregate(
lines: list[str],
since: datetime | None,
) -> tuple[dict, int]:
"""
Process *lines* and return:
- a dict service -> { level_counts, latencies }
- an int count of malformed lines
"""
services: dict[str, dict] = defaइस हार्डवेयर पर इस मॉडल के और runs
- 509tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP440K कॉन्टेक्स्ट · 0 गहराई · बैच 1puretensor · 5 दिस॰ 2026
- 321tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP440K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनpuretensor · 5 दिस॰ 2026
- 213tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP440K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनpuretensor · 5 दिस॰ 2026
- 213tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP440K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनpuretensor · 5 दिस॰ 2026
- 209tok/ssglang · v0.5.24.dev1+gcd1dc28 · NVFP440K कॉन्टेक्स्ट · 0 गहराई · बैच 1puretensor · 5 दिस॰ 2026
