Testy szybkościModeleBenchmarkiWynajemRaportySprzętKalkulator dekodowaniaOrganizacjeProDokumentacja APIPrześlij
Język
Actual Computer — Every computer, one endpoint

Test szybkości

Qwen4-35B-A3B

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×4 · vllm · v0.1.dev26393+gf247de72b · BF16

puretensorZweryfikowane4 gru 2026Zweryfikowany przebieg

Dekodowanie

368tok/s

Prefill

8.0ktok/s

Czas do pierwszego tokenu

32ms

Łącznie

419tok/s

Szczytowe VRAM

—

Długość kontekstu

1024K

Głębokość KV

0

Rozmiar partii

1

Współbieżność

1

Pobór mocy

—

Weryfikacja

Zweryfikowany przebieg

Komenda uruchomienia

docker run --gpus all --ipc=host -e VLLM_USE_RUST_FRONTEND=1 vllm/vllm-openai:qwen4 /models/Qwen4-35B-A3B --served-model-name Qwen/Qwen4-35B-A3B --trust-remote-code --enable-prefix-caching --tensor-parallel-size 4 --gpu-memory-utilization 0.85 --max-model-len auto --disable-flashinfer-autotune --kv-cache-dtype nvfp4 --attention-config.indexer_kv_dtype fp8 --enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4 --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'

Theoretical memory ceiling

3,055.2–3,056.9 tok/s

7,168 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 4-bit KV cache · 1–252 tokens of context

Includes speculative decoding: 2.71 tokens accepted per model step on average (1,127.9–1,128.6 steps/s) · measured 135.7 steps/s

12–12%

of the ceiling reached

Medium confidence

The 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 Max-Q Workstation Edition
Liczba
4
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

Silnik

Silnik
vllm
Wersja
0.1.dev26393+gf247de72b
Build
vllm/vllm-openai:qwen4 (sha256:63a160daa7b2c7eac713d2097c6d84d52d4ccf9a935788acdd610a563d39d286)
Commit
f247de72b
Quant
BF16
Backend
cuda
TP
4
KV cache
nvfp4
GPU mem util
0.85
Prefix caching
tak
Spec decode
włączone
MTP
włączone

Konfiguracja uruchomienia

Kontekst
1 048 576 tokenów
Głębokość
0 tokenów
Rozmiar batcha
1
Tokeny promptu
252
Prefill tok/s
7,970.2 tok/s
Tokeny wyjściowe
1721
Rewizja
c06f0c19
Notatki
PureTensor lab: four RTX PRO 6000 Blackwell Max-Q cards (325 W limit) on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. One model instance split across the four cards with tensor parallel 4; this is not a published recipe configuration (the vLLM recipe lists one GPU, TP1). Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Image pinned by digest. A small embedding server (12 GB) stayed loaded on GPU 0 and was idle. MTP speculative decoding, 3 draft tokens. Thinking off (enable_thinking=false). Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 635 verify steps, 2.71 tokens/step, 7.4 ms/step.

Dekodowanie spekulatywne

Metoda
MTP
Akceptowane na krok
2,71 tokenów
Współczynnik akceptacji
57%
Tokeny szkicu
1905
Zaakceptowane tokeny
1085

Zapisane dowody

Hash promptu (SHA-256)
a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: a5de5648e78296fdd0498d9001ff6c00]
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
```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
# ---------------------------------------------------------------------------

VALID_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="Only include records at or after this ISO-8601 timestamp.",
    )
    return parser.parse_args(argv)


def parse_since(raw: str) -> datetime:
    """Parse an ISO-8601 timestamp, assuming UTC when no tz-info is present."""
    dt = datetime.fromisoformat(raw)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


def parse_record(line: str) -> dict | None:
    """Return a validated record 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

    # Required fields
    if "ts" not in obj or "level" not in obj or "service" not in obj:
        return None

    # Validate level
    if obj["level"] not in VALID_LEVELS:
        return None

    # Validate / parse timestamp
    try:
        ts = datetime.fromisoformat(obj["ts"])
        if ts.tzinfo is None:
            ts = ts.replace(tzinfo=timezone.utc)
        obj["_ts"] = ts  # stash parsed timestamp
    except (ValueError, TypeError):
        return None

    # Validate service is a string
    if not isinstance(obj["service"], str):
        return None

    # Optional latency_ms
    if "latency_ms" in obj:
        lat = obj["latency_ms"]
        if not isinstance(lat, (int, float)) or isinstance(lat, bool):
            return None
        if lat < 0:
            return None
    else:
        obj["latency_ms"] = None

    return obj


# ---------------------------------------------------------------------------
# Percentile computation (linear interpolation, same as numpy's 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 used
    by NumPy (``method='linear'``) and R type 7.
    """
    n = len(sorted_data)
    if n == 0:
        raise ValueError("percentile of empty list")
    if n == 1:
        return sorted_data[0]

    # Rank position (0-indexed, fractional)
    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


# ---------------------------------------------------------------------------
# Main logic
# ---------------------------------------------------------------------------

def main(argv: list[str] | None = None) -> None:
    args = parse_args(argv)

    since_dt: datetime | None = None
    if args.since is not None:
        try:
            since_dt = parse_since(args.since)
        except ValueError:
            print(f"error: invalid --since timestamp: {args.since!r}", file=sys.stderr)
            sys.exit(1)

    # service -> level -> count
    counts: dict[str, dict[str, int]] = defaultdict(lambda: defaultdict(int))
    # service -> list of latency values
    latencies: dict[str, list[float]] = defaultdict(list)

    malformed = 0
    dropped_by_since = 0
    total_lines = 0

    for raw_line in sys.stdin:
        line = raw_line.st

Więcej przebiegów tego modelu na tym sprzęcie