Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

DeepSeek-V4.1-Flash

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×4 · vllm · v0.1.dev21836+g6d66eed35 · FP8

puretensorTerverifikasi22 Okt 2026Run terverifikasi

Decode

418tok/s

Prefill

1.2ktok/s

Waktu ke token pertama

182ms

Total

462tok/s

VRAM puncak

—

Panjang konteks

1024K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

—

Verifikasi

Run terverifikasi

Luncurkan perintah

vllm serve deepseek-ai/DeepSeek-V4.1-Flash --async-scheduling --attention-backend B12X --block-size 256 --compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE"}' --decode-context-parallel-size 1 --decode-refill-target auto --default-chat-template-kwargs '{"thinking":false}' --dtype bfloat16 --enable-auto-tool-choice --enable-chunked-prefill --enable-force-include-usage --enable-prefix-caching --enable-prompt-tokens-details --enable-request-id-headers --engram-config '{"cpu_offload":false,"table_memory":"ram","disk_resident_scales":false,"projection_tp":false}' --generation-config vllm --gpu-memory-utilization 0.95 --host 0.0.0.0 --jit-monitor-mode warn --kv-cache-dtype fp8 --linear-backend b12x --load-format instanttensor --max-cudagraph-capture-size 128 --max-model-len -1 --max-num-batched-tokens 4096 --max-num-seqs 32 --max-parallel-prefills 1 --moe-backend b12x --override-generation-config '{"temperature":1.0,"top_p":1.0}' --pipeline-parallel-size 1 --port 8640 --prefill-compute-share 0.4 --prefill-policy round-robin --prefill-schedule-interval 1 --reasoning-parser deepseek_v41 --safetensors-load-strategy lazy --no-scheduler-reserve-full-isl --served-model-name hal-resident --speculative-config '{"method":"dspark","attention_backend":"B12X","draft_sample_method":"probabilistic","rejection_sample_method":"standard","num_speculative_tokens":7,"draft_tensor_parallel_size":4,"enable_adaptive_verification":true,"adaptive_verification_cost_scale":1.0}' --swa-block-size 128 --tensor-parallel-size 4 --tokenizer-mode deepseek_v41 --tool-call-parser deepseek_v41

Theoretical memory ceiling

The model doesn't appear to fit in this hardware's recorded memory.

Hardware

GPU
RTX PRO 6000 Blackwell Max-Q Workstation Edition
Menghitung
4
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

Engine

Engine
vllm
Versi
0.1.dev21836+g6d66eed35
Build
ghcr.io/local-inference-lab/vllm@sha256:bc48d33ee167fb7675a59889fe0a7fea539bc6700c53cada89284d594a754b54
Commit
6d66eed35
Quant
FP8
Bagian belakang
cuda
TP
4
Tembolok KV
fp8
utilitas mem GPU
0.95
Cache awalan
ya
Isi awal yang sudah dipotong
ya
Potongan yang sudah diisi sebelumnya
4096
Seq run maksimal
32
Attn
B12X
Dekode spesifikasi
aktif

Jalankan konfigurasi

Konteks
Token 1.048.576
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
213
Isi awal tok/s
1,170.3 tok/s
Token keluaran
1233
Catatan
PureTensor lab, tensor-core: RTX PRO 6000 Blackwell Max-Q (300 W) cards on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Thinking off. LIL ds41-flash profile defaults (adaptive DSpark K7, Engram tables in RAM), image pinned by digest. Same launcher as our DeepSeek-V4.1-Flash-1017 runs. Adaptive verification varies the draft length per step, so LocalMaxxing consistency check (which assumes a fixed K) can flag runs; accepted + steps = emitted tokens. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmups. 248 verify steps, 4.97 tokens/step, 11.9 ms/step.

Decoding spekulatif

Metode
dspark
Diterima per langkah
4,97 token
Tingkat penerimaan
67%
Token draf
1.469
Token diterima
984

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel prompt · 826 chars
[LocalMaxxing cache-bust nonce: aa70e0cd4090efa16eb944bfd204f9da]
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.
Sampel output · 4,000 chars
```python
#!/usr/bin/env python3
"""logtally: tally newline-delimited JSON log records by service and level."""

import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime, timezone


LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")


def parse_ts(value):
    """Parse an ISO-8601 timestamp into an aware datetime, or None on failure."""
    if not isinstance(value, str):
        return None
    s = value.strip()
    if s.endswith("Z"):
        s = s[:-1] + "+00:00"
    try:
        dt = datetime.fromisoformat(s)
    except ValueError:
        return None
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


def percentile(sorted_values, p):
    """Linear-interpolation percentile (matches numpy's default 'linear' method)."""
    if not sorted_values:
        return None
    if len(sorted_values) == 1:
        return float(sorted_values[0])
    k = (len(sorted_values) - 1) * (p / 100.0)
    lo = int(k)
    hi = min(lo + 1, len(sorted_values) - 1)
    frac = k - lo
    return sorted_values[lo] + (sorted_values[hi] - sorted_values[lo]) * frac


def main(argv=None):
    parser = argparse.ArgumentParser(
        prog="logtally",
        description="Tally NDJSON log records by service and level.",
    )
    parser.add_argument(
        "--since",
        metavar="ISO_TIMESTAMP",
        help="Drop records with ts earlier than this ISO-8601 timestamp.",
    )
    args = parser.parse_args(argv)

    since = None
    if args.since is not None:
        since = parse_ts(args.since)
        if since is None:
            print(f"logtally: invalid --since timestamp: {args.since!r}", file=sys.stderr)
            return 2

    counts = defaultdict(lambda: defaultdict(int))   # service -> level -> count
    latencies = defaultdict(list)                    # service -> [latency_ms, ...]
    malformed = 0
    total = 0

    for raw in sys.stdin:
        line = raw.strip()
        if not line:
            continue
        total += 1
        try:
            rec = json.loads(line)
        except json.JSONDecodeError:
            malformed += 1
            continue
        if not isinstance(rec, dict):
            malformed += 1
            continue

        ts = parse_ts(rec.get("ts"))
        level = rec.get("level")
        service = rec.get("service")

        if ts is None or not isinstance(level, str) or not isinstance(service, str):
            malformed += 1
            continue
        if level not in LEVELS:
            malformed += 1
            continue
        if since is not None and ts < since:
            continue

        counts[service][level] += 1

        lat = rec.get("latency_ms")
        if isinstance(lat, bool) or not isinstance(lat, (int, float)):
            continue
        latencies[service].append(float(lat))

    if not counts:
        print("No records.")
    else:
        for service in sorted(counts):
            level_counts = counts[service]
            parts = [f"{lvl}={level_counts.get(lvl, 0)}" for lvl in LEVELS]
            lats = sorted(latencies.get(service, []))
            if lats:
                p50 = percentile(lats, 50)
                p95 = percentile(lats, 95)
                lat_str = f"p50={p50:.2f}ms p95={p95:.2f}ms (n={len(lats)})"
            else:
                lat_str = "p50=n/a p95=n/a (n=0)"
            print(f"{service}: {' '.join(parts)} | {lat_str}")

    print(f"Malformed lines: {malformed} (of {total} read)")
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

**How percentiles are computed.** For each service I collect all valid `latency_ms` values, sort them, and compute the p-th percentile using linear interpolation between the two nearest ranks: `k = (n-1) * p/100`, then `v[floor(k)] + (v[ceil(k)] - v[floor(k)]) * (k - floor(k))`. This is the same convention as NumPy's default `linear` method and Python's `statistics.quantiles`, so results are reproducible and match what most observability too

Run lain dari model ini di hardware ini