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 Server Edition 96GB ×4 · vllm · v0.32.0 · MXFP4+FP8

alvarobarttĐã xác minh6 thg 11, 2026

Decode

268tok/s

Prefill

3.2ktok/s

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

75ms

Tổng

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

Chưa xác minh — kết quả thử nghiệm

Lượt chạy đã xác minh dùng prompt kiểm thử chuẩn và ghi lại đủ dữ liệu để kiểm tra kết quả.

  • The speculative decoding stats add up to 8806 generated tokens, but the run reports 7705.

Lệnh khởi chạy

vllm serve /root/.cache/huggingface/hub/models--deepseek-ai--DeepSeek-V4.1-Flash-1017/snapshots/1bae0e1088993b9b82de08f59de5be5a34e42170 --revision 1bae0e1088993b9b82de08f59de5be5a34e42170 --tokenizer-mode deepseek_v41 --tensor-parallel-size 4 --tool-call-parser deepseek_v41 --enable-auto-tool-choice --reasoning-parser deepseek_v41 --mm-encoder-tp-mode data --block-size 64 --enable-expert-parallel --speculative-config '{"method":"dspark","num_speculative_tokens":5,"revision":"1bae0e1088993b9b82de08f59de5be5a34e42170","enable_adaptive_verification":true,"use_local_argmax_reduction":true}' --gpu-memory-utilization 0.95 --max-num-batched-tokens 4096 --compilation-config '{"max_cudagraph_capture_size":768,"cudagraph_capture_sizes":[1,2,4,6,8,12,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,528,544,560,576,592,608,624,640,656,672,688,704,720,736,752,768]}' --max-model-len 1048576 --override-generation-config '{"temperature":1.0,"top_p":1.0}' --served-model-name deepseek-ai/DeepSeek-V4.1-Flash-1017 --enable-log-requests --enable-log-outputs --no-enable-log-deltas --max-log-len 1048576

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 Server Edition
Số lượng
4
VRAM
96 GB
OS
Ubuntu 24.04.3 LTS

Engine

Engine
vllm
Phiên bản
0.32.0
Build
ghcr.io/alvarobartt/vllm@sha256:ebdd9351069705b01e49d3fe080a427729c5680c5fd87d13c7fef163d041838a
Commit
889b538fc5098835454a5e592492c80db0fe3102
Quant
MXFP4+FP8
TP
4
GPU mem util
0.95
Prefill chunk
4096
Spec decode
bật
MTP
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
241
Prefill tok/s
3,218.5 tok/s
Output tokens
7705
Revision
1bae0e1088993b9b82de08f59de5be5a34e42170
Ghi chú
Sampling audited from every vLLM request: temperature 1, top_p 1, top_k 0, min_p 0, presence/frequency penalties 0, repetition penalty 1, max_tokens 262144; context explicitly 1048576. Two warmups and 5 timed samples, current immutable container, no new tuning. All 7 generated programs, including all 5 timed samples, passed 8 isolated stdlib-only functional cases each. Preview shows final-answer excerpts; native outputText, SHA256 and metrics retained. Token rates include reasoning and exclude prefill. These checks do not establish general quality or production readiness.

Giải mã suy đoán

Phương pháp
MTP
Được chấp nhận mỗi bước
3,16 token
Tỷ lệ chấp nhận
43%
Token nháp
13.939
Token được chấp nhận
6.018

Bằng chứng đã ghi

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

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

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


def parse_iso8601(value: str) -> datetime:
    s = value.strip()
    if not s:
        raise ValueError("empty timestamp")

    if s.endswith(("Z", "z")):
        s = s[:-1] + "+00:00"

    # Normalize offsets like +0000 to +00:00.
    s = re.sub(r"([+-]\d{2})(\d{2})$", r"\1:\2", s)

    dt = datetime.fromisoformat(s)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    else:
        dt = dt.astimezone(timezone.utc)
    return dt


def percentile(sorted_values, pct):
    n = len(sorted_values)
    if n == 0:
        return None
    if n == 1:
        return float(sorted_values[0])

    # Linear interpolation at zero-based rank (n - 1) * pct / 100.
    rank = (n - 1) * (pct / 100.0)
    lo = math.floor(rank)
    hi = math.ceil(rank)

    if lo == hi:
        return float(sorted_values[lo])

    frac = rank - lo
    return float(sorted_values[lo] + (sorted_values[hi] - sorted_values[lo]) * frac)


def main(argv=None):
    parser = argparse.ArgumentParser(
        prog="logtally",
        description="Tally newline-delimited JSON log records from stdin.",
    )
    parser.add_argument(
        "--since",
        metavar="ISO_TIMESTAMP",
        help="only include records with ts >= this ISO-8601 timestamp",
    )
    args = parser.parse_args(argv)

    since = None
    if args.since is not None:
        try:
            since = parse_iso8601(args.since)
        except Exception as exc:
            parser.error(f"invalid --since timestamp: {exc}")

    counts = defaultdict(lambda: {level: 0 for level in LEVELS})
    latencies = defaultdict(list)
    malformed = 0

    
...
(value, bool) or not isinstance(value, (int, float)):
                    raise ValueError("latency_ms must be a number")
                if not math.isfinite(value):
                    raise ValueError("latency_ms must be finite")
                latency = float(value)

        except Exception:
            malformed += 1
            continue

        if since is not None and ts < since:
            continue

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

    for service in sorted(counts):
        values = sorted(latencies.get(service, ()))
        p50 = percentile(values, 50)
        p95 = percentile(values, 95)

        print(json.dumps({
            "service": service,
            "levels": {level: counts[service][level] for level in LEVELS},
            "p50_ms": p50,
            "p95_ms": p95,
        }, separators=(",", ":")))

    print(json.dumps({"malformed_lines": malformed}, separators=(",", ":")))


if __name__ == "__main__":
    main()
```

I sorted each service’s valid `latency_ms` values and used linear interpolation at the zero-based rank `(n - 1) * p / 100`, which is the inclusive percentile method used by many libraries such as NumPy’s default. This handles even sample sizes smoothly and returns `null` when a service has no latency samples.

Three edge cases a unit test suite should cover:

- Malformed input: blank lines, invalid JSON, missing/invalid fields, invalid levels, and non-numeric/non-finite `latency_ms` must be counted without crashing.
- Percentile boundaries: even-sized samples for p50 interpolation, a single latency sample, no latency samples, and all-equal latency values.
- `--since` filtering: timezone-aware comparisons using `Z`, `+00:00`, `+0000`, and naive timestamps assumed UTC; earlier records are dropped, while a record exactly equal to `--since` is retained.

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