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

Test szybkości

DeepSeek-V4.1-Flash-1017-NVFP4

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

puretensorZweryfikowane31 paź 2026Zweryfikowany przebieg

Dekodowanie

400tok/s

Prefill

1.3ktok/s

Czas do pierwszego tokenu

165ms

Łącznie

454tok/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

BRRR_FUSED_DECODER=0 vllm serve nvidia/DeepSeek-V4.1-Flash-1017-NVFP4 --served-model-name nvfp4-1017 --host 0.0.0.0 --port 8641 --tensor-parallel-size 4 --gpu-memory-utilization 0.96 --max-model-len 1048576 --max-num-seqs 16 --reasoning-parser deepseek_v41 --enable-auto-tool-choice --tool-call-parser deepseek_v41 --max-num-batched-tokens 4096 --attention-backend B12X --moe-backend b12x --kv-cache-dtype fp8 --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block","enable_adaptive_verification":false,"attention_backend":"B12X","moe_backend":"b12x"}' --override-generation-config '{"temperature":1.0,"top_p":1.0}' --tokenizer-mode deepseek_v41 --mm-processor-cache-gb 1 --linear-backend b12x --engram-config '{"projection_tp":true}' --block-size 256 --swa-block-size 128 --compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE"}' --max-cudagraph-capture-size 128 --async-scheduling --enable-scale-out --enable-prompt-tokens-details --default-chat-template-kwargs '{"thinking":false}'

Theoretical memory ceiling

300.3–300.4 tok/s

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

Includes speculative decoding: 4.78 tokens accepted per model step on average (62.9–62.9 steps/s) · measured 83.8 steps/s

133–133%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/DeepSeek-V4.1-Flash-1017-NVFP4; size from NVFP4 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.dev21836+g6d66eed35
Build
PureTensor patch (NVFP4 routed-expert dispatch to b12x W4A4 + BRRR_FUSED_DECODER=0) on fraserprice/DeepSeek-4.1-Flash-1017-BRRR@0bc4dbd0 on ghcr.io/local-inference-lab/vllm@sha256:376745af9ebffe0ecb3a9b7ee3d2040027834e58e3248898e52487255f33125a
Commit
6d66eed35
Quant
NVFP4
Backend
cuda
TP
4
KV cache
fp8
GPU mem util
0.96
Prefix caching
tak
Chunked prefill
tak
Prefill chunk
4096
Max running seqs
16
Attn
B12X
Spec decode
włączone

Konfiguracja uruchomienia

Kontekst
1 048 576 tokenów
Głębokość
0 tokenów
Rozmiar batcha
1
Tokeny promptu
212
Prefill tok/s
1,285.9 tok/s
Tokeny wyjściowe
1022
Rewizja
480550d3
Notatki
PureTensor lab, tensor-core: 4x RTX PRO 6000 Blackwell Max-Q (325 W) on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. Host P2P settings (amd_iommu=off iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Measured 2026-10-31 in a same-day A/B against nvidia/DeepSeek-V4.1-Flash-1017-NVFP4. nvidia/DeepSeek-V4.1-Flash-1017-NVFP4 (ModelOpt: routed experts NVFP4 W4A4, Engram MXFP4). Stock vLLM images cannot load it (needs vLLM PR #61530); served on the BRRR image with a small patch routing the 40 NVFP4 expert layers to b12x's native NVFP4 MoE (W4A4), MTP/DSpark draft experts left MXFP4 as shipped, and BRRR's fused decoder off (it requires the MXFP4 w4a8_mx layout). Engram MXFP4 tables expanded losslessly to FP8 (E2M1 values exact in E4M3, UE8M0 scales unchanged) so the FP8 NVMe Engram path serves NVIDIA's exact values. DSpark K7, adaptive verification OFF (fixed K). Same-engine source-weights control: code-v1 464 tok/s; production fused seat 581. Thinking off. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 214 verify steps, 4.78 tokens/step, 11.9 ms/step.

Dekodowanie spekulatywne

Metoda
dspark
Akceptowane na krok
4,78 tokenów
Współczynnik akceptacji
54%
Tokeny szkicu
1498
Zaakceptowane tokeny
808

Zapisane dowody

Hash promptu (SHA-256)
a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 5ae61ebd77882079528fc5672654587d]
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: tally newline-delimited JSON log records from stdin."""

import argparse
import json
import sys
from collections import defaultdict

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


def percentile(sorted_values, p):
    """Nearest-rank percentile (p in [0, 100])."""
    if not sorted_values:
        return None
    n = len(sorted_values)
    # rank = ceil(p/100 * n), clamped to [1, n]
    rank = max(1, min(n, -(-p * n // 100)))  # integer ceil division
    return sorted_values[rank - 1]


def parse_ts(value):
    """Parse an ISO-8601 timestamp into a comparable datetime."""
    from datetime import datetime
    if not isinstance(value, str):
        raise ValueError("ts must be a string")
    # fromisoformat handles 'Z' only in 3.11+; normalize for safety
    s = value.strip()
    if s.endswith("Z"):
        s = s[:-1] + "+00:00"
    return datetime.fromisoformat(s)


def main(argv=None):
    parser = argparse.ArgumentParser(description="Tally JSON log records from stdin.")
    parser.add_argument("--since", metavar="ISO_TIMESTAMP",
                        help="drop records with ts earlier than this timestamp")
    args = parser.parse_args(argv)

    since = None
    if args.since is not None:
        try:
            since = parse_ts(args.since)
        except ValueError as exc:
            print(f"logtally: invalid --since value: {exc}", file=sys.stderr)
            return 2

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

    for line in sys.stdin:
        line = line.strip()
        if not line:
            continue
        try:
            rec = json.loads(line)
            if not isinstance(rec, dict):
                raise ValueError("record is not an object")
            ts = parse_ts(rec["ts"])
            level = rec["level"]
            service = rec["service"]
            if level not in LEVELS:
                raise ValueError(f"unknown level {level!r}")
            if not isinstance(service, str):
                raise ValueError("service must be a string")
            latency = rec.get("latency_ms")
            if latency is not None and not isinstance(latency, (int, float)):
                raise ValueError("latency_ms must be a number")
        except (ValueError, KeyError, TypeError, json.JSONDecodeError):
            malformed += 1
            continue

        if since is not None and ts < since:
            continue

        counts[service][level] += 1
        if latency is not None:
            latencies[service].append(float(latency))

    for service in sorted(counts):
        per_level = counts[service]
        total = sum(per_level.values())
        parts = " ".join(f"{lvl}={per_level.get(lvl, 0)}" for lvl in LEVELS)
        print(f"{service}: total={total} {parts}")

        vals = sorted(latencies.get(service, []))
        if vals:
            p50 = percentile(vals, 50)
            p95 = percentile(vals, 95)
            print(f"{service}: latency_ms p50={p50:g} p95={p95:g} n={len(vals)}")
        else:
            print(f"{service}: latency_ms p50=n/a p95=n/a n=0")

    print(f"malformed_lines={malformed}")
    return 0


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

I used the nearest-rank method: sort the latency values and pick the element at rank `ceil(p/100 * n)` (1-indexed, clamped to `[1, n]`). This is simple, deterministic, and needs no interpolation, which suits small log-tallying tools where an actual observed value is more intuitive than an averaged one; for p50 with an even count it returns the lower-middle element rather than the mean of the two middle ones.

Three edge cases a unit test suite should cover: (1) a `--since` value that is malformed or a record whose `ts` is exactly equal to `--since` (boundary inclusion), (2) records with `latency_ms` present but zero/negative or a mix of ints and floats, and 

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