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 độ

DeepSeek-V4.1-Flash-1017

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

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

Decode

542tok/s

Prefill

1.1ktok/s

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

199ms

Tổng

586tok/s

VRAM đỉnh

—

Độ dài ngữ cảnh

1024K

Độ 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

vllm serve deepseek-ai/DeepSeek-V4.1-Flash-1017 --served-model-name hal-resident --host 0.0.0.0 --port 8640 --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

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

Phần cứng

GPU
RTX PRO 6000 Blackwell Max-Q Workstation Edition
Số lượng
4
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

Engine

Engine
vllm
Phiên bản
0.1.dev21836+g6d66eed35
Build
fraserprice/DeepSeek-4.1-Flash-1017-BRRR@0bc4dbd0 on ghcr.io/local-inference-lab/vllm@sha256:376745af9ebffe0ecb3a9b7ee3d2040027834e58e3248898e52487255f33125a
Commit
6d66eed35
Quant
FP8
Backend
cuda
TP
4
KV cache
fp8
GPU mem util
0.96
Prefix caching
có
Chunked prefill
có
Prefill chunk
4096
Max running seqs
16
Attn
B12X
Spec decode
bật

Cấu hình chạy

Context
1.048.576 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
217
Prefill tok/s
1,090.6 tok/s
Output tokens
1233
Revision
1bae0e10
Ghi chú
PureTensor lab, tensor-core: 4x RTX PRO 6000 Blackwell Max-Q (325 W) on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. Recipe: fraserprice/DeepSeek-4.1-Flash-1017-BRRR (HF rev 0bc4dbd0, Apache-2.0; fused decode kernels on LIL b12x vLLM), built unmodified from its Dockerfile; base image pinned by digest above; full credit to Fraser Price and Local Inference Lab. Engram tables on NVMe via io_uring (ext4 on md RAID0 of 3x Samsung 9100 PRO 4TB), projection TP. DSpark K7, adaptive verification OFF (fixed K, so the consistency check applies). Host P2P settings (amd_iommu=off iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Thinking off. Our production seat (served as hal-resident), idle apart from this benchmark. Step math: decode = tokens/step / step time; ~9.0-9.1 ms per step here vs ~11.3-12.2 ms on stock LIL b12x on the same box (our 2026-10-21 runs). Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 249 verify steps, 4.95 tokens/step, 9.1 ms/step.

Giải mã suy đoán

Phương pháp
dspark
Được chấp nhận mỗi bước
4,95 token
Tỷ lệ chấp nhận
56%
Token nháp
1.743
Token được chấp nhận
984

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 826 chars
[LocalMaxxing cache-bust nonce: a5316a06a7a3252615ed9510f43c3b8e]
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
```python
#!/usr/bin/env python3
"""logtally: tally newline-delimited JSON log records from stdin."""

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 (UTC if naive)."""
    if not isinstance(value, str):
        raise ValueError("ts must be a string")
    # Python 3.11+ handles 'Z'; normalize for older versions.
    s = value[:-1] + "+00:00" if value.endswith("Z") else value
    dt = datetime.fromisoformat(s)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


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


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

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

    counts = defaultdict(lambda: defaultdict(int))   # service -> level -> count
    latencies = defaultdict(list)                    # service -> [latency_ms]
    malformed = 0
    skipped_since = 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")
        except (ValueError, KeyError, TypeError, json.JSONDecodeError):
            malformed += 1
            continue

        if since is not None and ts < since:
            skipped_since += 1
            continue

        counts[service][level] += 1
        lat = rec.get("latency_ms")
        if isinstance(lat, (int, float)) and not isinstance(lat, bool):
            latencies[service].append(float(lat))

    if not counts:
        print("No records.")
    else:
        for service in sorted(counts):
            by_level = counts[service]
            total = sum(by_level.values())
            parts = [f"{lvl}={by_level.get(lvl, 0)}" for lvl in LEVELS]
            lats = sorted(latencies[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}: total={total} {' '.join(parts)} | {lat_str}")

    if skipped_since:
        print(f"Skipped {skipped_since} record(s) before --since.", file=sys.stderr)
    if malformed:
        print(f"Malformed lines: {malformed}", file=sys.stderr)
    return 0


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

**Percentile method.** I sort each service's `latency_ms` values and use linear interpolation between the two nearest ranks (the same definition as NumPy's default and Excel's `PERCENTILE.INC`), so p50/p95 are well-defined for any sample size and don't snap to a single observed value. This is a reasonable default for latency reporting: it's stab

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