Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

Qwen4-35B-A3B-NVFP4

RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · NVFP4

puretensorĐã xác minh5 thg 12, 2026Lượt chạy đã xác minh

Decode

543tok/s

Prefill

7.3ktok/s

Thời gian đến token đầu tiên

34ms

Tổng

604tok/s

VRAM đỉnh

—

Độ dài ngữ cảnh

40K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

—

Xác minh

Lượt chạy đã xác minh

Lệnh khởi chạy

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 confidence

The 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

Phần cứng

GPU
RTX PRO 6000 Blackwell Workstation Edition
Số lượng
2
VRAM
96 GB
OS
Ubuntu 24.04.5 LTS

Engine

Engine
sglang
Phiên bản
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
không
Max running seqs
64
Spec decode
bật

Cấu hình chạy

Context
40.960 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
250
Prefill tok/s
7,257.9 tok/s
Output tokens
2048
Ghi chú
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.

Giải mã suy đoán

Phương pháp
DFlash
Được chấp nhận mỗi bước
4,59 token
Tỷ lệ chấp nhận
51%
Token nháp
3.122
Token được chấp nhận
1.601

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 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.
Mẫu đầu ra · 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

Các lượt chạy khác của mô hình này trên phần cứng này