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 minh21 thg 10, 2026Lượt chạy đã xác minh

Decode

261tok/s

Prefill

927tok/s

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

230ms

Tổng

295tok/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ụ

764W

Xác minh

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

Lệnh khởi chạy

vllm serve /models/ds1017 --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":true,"reasoning_effort":"high"}' --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 8650 --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 ds1017 --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.

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
ghcr.io/local-inference-lab/vllm@sha256:bc48d33ee167fb7675a59889fe0a7fea539bc6700c53cada89284d594a754b54
Commit
6d66eed35
Quant
FP8
Backend
cuda
TP
4
KV cache
fp8
GPU mem util
0.95
Prefix caching
có
Chunked prefill
có
Prefill chunk
4096
Max running seqs
32
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
213
Prefill tok/s
926.9 tok/s
Công suất tiêu thụ
764 W (183 + 191 + 198 + 192 W)
Output tokens
1118
Revision
1bae0e10
Ghi chú
PureTensor lab, single box. LIL ds41-flash profile defaults (adaptive DSpark K7, standard rejection, draft TP4), Engram tables in RAM. Public image karmic-kraken-beta-20261020 pinned by digest. Batch 1, temperature 0, thinking off, streamed; median of 5 runs after 2 warmups. 252 verify steps, 4.44 tokens/step, 17.0 ms/step. Reproduction of LocalMaxxing run cmvhz9gcl03dorf0138gugwca (same image and flags, 8.8 ms/step there). Adaptive verification varies the draft length per step (mean 4.49 of 7), so steps = 252, not draft tokens / K; accepted + steps = 1118 emitted tokens.

Giải mã suy đoán

Phương pháp
dspark
Được chấp nhận mỗi bước
4,44 token
Tỷ lệ chấp nhận
77%
Token nháp
1.131
Token được chấp nhận
866

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 826 chars
[LocalMaxxing cache-bust nonce: 6488efaa1596427f990d08073da9e828]
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 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 (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: {lvl: 0 for lvl in LEVELS})
    latencies = defaultdict(list)
    malformed = 0
    total = 0

    for line in sys.stdin:
        line = line.strip()
        if not line:
            continue
        total += 1
        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:
            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):
            c = counts[service]
            lats = sorted(latencies.get(service, []))
            p50 = percentile(lats, 50)
            p95 = percentile(lats, 95)
            p50_s = f"{p50:.2f}" if p50 is not None else "n/a"
            p95_s = f"{p95:.2f}" if p95 is not None else "n/a"
            level_str = " ".join(f"{lvl}={c[lvl]}" for lvl in LEVELS)
            print(f"{service}: {level_str} p50={p50_s} p95={p95_s}")

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


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

**Percentile method.** I sort each service's latency list and use linear interpolation between the two nearest ranks (the same convention as `numpy.percentile`'s default), so p50/p95 are well-defined for any sample size and degrade gracefully to the single value when only one sample exists. This is a standard, widely-understood definition that avoids the bias of nearest-rank on small samples.

**Edge cases a unit test suite should cover.**
1. A service with zero latency values (all records missing `latency_ms`) — output must show `p50=n/a p95=n/a` and still print level counts.
2. Malformed input mixed with valid lines — e.g. invalid JSON, mis

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