속도 테스트모델벤치마크렌탈리포트하드웨어디코드 계산기조직ProAPI 문서제출
언어
Actual Computer — Every computer, one endpoint

속도 테스트

Qwen4-35B-A3B

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×2 · sglang · v0.5.24.dev1+gcd1dc28 · BF16

puretensor검증됨2026. 12. 4.검증된 실행

디코드

477tok/s

프리필

6.2ktok/s

첫 토큰까지의 시간

40ms

합계

535tok/s

최대 VRAM

—

컨텍스트 길이

40K

KV 깊이

0

배치 크기

1

동시성

1

소비 전력

—

검증

검증된 실행

실행 명령

docker run --gpus device=2,3 --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,571.0–2,580.4 tok/s

3,584 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–251 tokens of context

Includes speculative decoding: 4.77 tokens accepted per model step on average (539.5–541.5 steps/s) · measured 100.1 steps/s

18–19%

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

모델

GPU
RTX PRO 6000 Blackwell Max-Q Workstation Edition
개수
2
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

엔진

엔진
sglang
버전
0.5.24.dev1+gcd1dc28
Build
lmsysorg/sglang:qwen4 (sha256:a574b8c4d271459718a64f9dacd5ba373fcd4e75ee99770abeab4203557eccbd)
Commit
cd1dc28
양자화
BF16
백엔드
cuda
TP
2
GPU 메모리 사용률
0.6
프리픽스 캐싱
아니요
최대 실행 시퀀스
64
Spec decode
활성화됨

실행 설정

컨텍스트
40,960 토큰
깊이
0 토큰
배치 크기
1
프롬프트 토큰
251
프리필 tok/s
6,208.7 tok/s
출력 토큰
1887
메모
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. Full BF16 weights with the RadixArk DFlash2 block drafter (BF16 draft, 8-token verify width, block verification). 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). 396 verify steps, 4.77 tokens/step, 10.0 ms/step.

추측 디코딩

방식
DFlash
단계당 수락 수
4.77 토큰
수락률
54%
초안 토큰
2,772
수락된 토큰
1,491

기록된 증거

프롬프트 해시 (SHA-256)
a737db738bd4…
프롬프트 샘플 · 826 chars
[LocalMaxxing cache-bust nonce: b4c368b5aec5f3113ef7e06867df8552]
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


# ---------------------------------------------------------------------------
# Percentile helpers
# ---------------------------------------------------------------------------

def percentile(sorted_data: list[float], p: float) -> float | None:
    """Return the *p*-th percentile (0-100) using linear interpolation.

    This matches the 'inclusive' method (numpy's default, R type-7).
    """
    n = len(sorted_data)
    if n == 0:
        return None
    if n == 1:
        return sorted_data[0]

    # Virtual index (0-based)
    idx = (p / 100.0) * (n - 1)
    lo = math.floor(idx)
    hi = math.ceil(idx)
    frac = idx - lo

    if lo == hi:
        return sorted_data[lo]
    return sorted_data[lo] * (1 - frac) + sorted_data[hi] * frac


# ---------------------------------------------------------------------------
# Record parsing
# ---------------------------------------------------------------------------

VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}


def parse_record(line: str) -> dict | None:
    """Try to parse a single JSON log line.  Return a normalised dict or None."""
    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

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

    # Validate timestamp
    try:
        ts = datetime.fromisoformat(obj["ts"])
        # Ensure timezone-aware for comparison
        if ts.tzinfo is None:
            ts = ts.replace(tzinfo=timezone.utc)
    except (ValueError, TypeError):
        return None

    # Optional latency
    latency = obj.get("latency_ms")
    if latency is not None:
        try:
            latency = float(latency)
        except (ValueError, TypeError):
            latency = None  # treat bad latency as missing

    return {
        "ts": ts,
        "level": level,
        "service": str(obj["service"]),
        "latency_ms": latency,
    }


# ---------------------------------------------------------------------------
# Aggregation
# ---------------------------------------------------------------------------

class ServiceStats:
    __slots__ = ("level_counts", "latencies")

    def __init__(self) -> None:
        self.level_counts: dict[str, int] = defaultdict(int)
        self.latencies: list[float] = []

    def add(self, record: dict) -> None:
        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] = []
        total = sum(self.level_counts.values())
        lines.append(f"  total records : {total}")
        for lvl in ("DEBUG", "INFO", "WARN", "ERROR"):
            cnt = self.level_counts.get(lvl, 0)
            lines.append(f"  {lvl:<5}        : {cnt}")

        if self.latencies:
            self.latencies.sort()
            p50 = percentile(self.latencies, 50)
            p95 = percentile(self.latencies, 95)
            lines.append(f"  latency p50    : {p50:.2f} ms")
            lines.append(f"  latency p95    : {p95:.2f} ms")
        else:
            lines.append("  latency         : (no data)")

        return "\n".join(lines)


# ---------------------------------------------------------------------------
# Main
# ---------------------------------------------------------------------------

def main() -> None:
    parser = argparse.ArgumentParser(
        prog="logtally",
        description="Aggregate newline-delimited JSON log records from stdin.",
    )
    pa

이 하드웨어에서 이 모델의 다른 실행