속도 테스트모델벤치마크렌탈리포트하드웨어디코드 계산기조직ProAPI 문서제출
언어
Actual Computer — Every computer, one endpoint

속도 테스트

DeepSeek-V4.1-Flash-1017

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

puretensor검증됨2026. 11. 25.

디코드

760tok/s

프리필

11.6ktok/s

첫 토큰까지의 시간

164ms

합계

1.7ktok/s

최대 VRAM

—

컨텍스트 길이

32K

KV 깊이

0

배치 크기

1

동시성

1

소비 전력

—

검증

미검증 — 실험적 결과

검증된 실행은 표준 테스트 프롬프트를 사용하고 결과를 확인할 수 있을 만큼의 데이터를 기록합니다.

  • The run did not use one of the standard test prompts.

실행 명령

vllm serve deepseek-ai/DeepSeek-V4.1-Flash-1017 --served-model-name brrr-test --host 0.0.0.0 --port 8641 --tensor-parallel-size 4 --gpu-memory-utilization 0.96 --max-model-len 32768 --max-num-seqs 1 --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 8 --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.

모델

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

엔진

엔진
vllm
버전
0.1.dev21836+g6d66eed35
Build
fraserprice/DeepSeek-4.1-Flash-1017-BRRR@0bc4dbd0 on ghcr.io/local-inference-lab/vllm@sha256:376745af9ebffe0ecb3a9b7ee3d2040027834e58e3248898e52487255f33125a
Commit
6d66eed35
양자화
FP8
백엔드
cuda
TP
4
KV 캐시
fp8
GPU 메모리 사용률
0.96
프리픽스 캐싱
예
청크 프리필
예
프리필 청크
4096
최대 실행 시퀀스
1
Attn
B12X
Spec decode
활성화됨

실행 설정

컨텍스트
32,768 토큰
깊이
0 토큰
배치 크기
1
프롬프트 토큰
1914
프리필 tok/s
11.6K tok/s
출력 토큰
1318
리비전
1bae0e10
메모
PureTensor lab, tensor-core: 4x RTX PRO 6000 Blackwell Max-Q on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. OVERCLOCKED: GPU clock offsets core +450 MHz, memory +5250 MHz on all four cards (the driver's own NVML clock-offset control), stock 325 W power cap, GPU fans at 100%, open chassis in a cold room, 56 to 69 C under load. A second window the same evening; the same arm at stock clocks measured 690.9 tok/s (8.79 ms per step) on the code-only prompt, +225/+4500 measured 754 (8.08 ms), and this setting 7.98 ms per step. Memory +6000 was no faster than +5250. No Xid, request-shape probe unchanged. A benchmark arm, not our production seat: 32K context, 1 slot, CUDA graphs captured up to 8 tokens. 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; full credit to Fraser Price and Local Inference Lab. Engram tables on NVMe via io_uring, projection TP. DSpark K7, adaptive verification OFF (fixed K). Host: amd_iommu=off iommu=off, NVIDIA P2P registry keys, PCIe relaxed ordering on. CPU in a performance window (boost on). Thinking off. Prompt: Fraser Price's own BRRR bench coding prompt (the webhook task x7 plus his instruction to output code only, ~1.9K tokens, sha256 293bb63a before our cache-bust nonce), not a LocalMaxxing canonical prompt; output runs to natural EOS. Four back-to-back passes of 5. Batch 1, temperature 0, streamed; median of 20 runs after 2 warmup(s). 217 verify steps, 6.07 tokens/step, 8.0 ms/step.

추측 디코딩

방식
dspark
단계당 수락 수
6.07 토큰
수락률
72%
초안 토큰
1,519
수락된 토큰
1,101

기록된 증거

프롬프트 해시 (SHA-256)
293bb63ab8a4…
프롬프트 샘플 · 2,000 chars
[LocalMaxxing cache-bust nonce: 05c23313262e55fc61c593e4c9d49e83]
I have a FastAPI service that receives webhook events from a payment provider and stores them in Postgres with asyncpg. The current handler:

```python
@app.post("/webhooks/payments")
async def payments_webhook(request: Request) -> dict[str, str]:
    payload = await request.json()
    if payload["type"] == "invoice.paid":
        await pool.execute(
            "INSERT INTO invoices (id, amount) VALUES ($1, $2)",
            payload["data"]["id"], payload["data"]["amount"],
        )
    return {"status": "ok"}
```

Problems: the `X-Signature` header is never verified, retried deliveries insert the same invoice twice, and any exception returns a 500 so the provider retries forever.

Rewrite this, returning a single python file: verify the signature with HMAC-SHA256 over the raw body and reject stale timestamps, make inserts idempotent on the event id, dispatch event types through a registry instead of if-chains, and return 2xx for event types we don't handle. Use pydantic models, full type hints, and no bare except. Include the SQL for the idempotency table and a pytest test for the signature check.

I have a FastAPI service that receives webhook events from a payment provider and stores them in Postgres with asyncpg. The current handler:

```python
@app.post("/webhooks/payments")
async def payments_webhook(request: Request) -> dict[str, str]:
    payload = await request.json()
    if payload["type"] == "invoice.paid":
        await pool.execute(
            "INSERT INTO invoices (id, amount) VALUES ($1, $2)",
            payload["data"]["id"], payload["data"]["amount"],
        )
    return {"status": "ok"}
```

Problems: the `X-Signature` header is never verified, retried deliveries insert the same invoice twice, and any exception returns a 500 so the provider retries forever.

Rewrite this, returning a single python file: verify the signature with HMAC-SHA256 over the raw body and reject stale tim
출력 샘플 · 4,000 chars
```python
import hashlib
import hmac
import os
import time
from typing import Any, Awaitable, Callable, Final

import asyncpg
from fastapi import FastAPI, Header, HTTPException, Request, status
from fastapi.responses import JSONResponse
from pydantic import BaseModel, Field, ValidationError

WEBHOOK_SECRET: Final[bytes] = os.environ["WEBHOOK_SECRET"].encode()
MAX_SKEW_SECONDS: Final[int] = 300

IDEMPOTENCY_SQL: Final[str] = """
CREATE TABLE IF NOT EXISTS webhook_events (
    event_id TEXT PRIMARY KEY,
    event_type TEXT NOT NULL,
    received_at TIMESTAMPTZ NOT NULL DEFAULT now()
);

CREATE TABLE IF NOT EXISTS invoices (
    id TEXT PRIMARY KEY,
    amount BIGINT NOT NULL
);
"""


class InvoiceData(BaseModel):
    id: str
    amount: int


class WebhookEvent(BaseModel):
    id: str
    type: str
    created: int
    data: dict[str, Any]


class InvoicePaidData(BaseModel):
    id: str
    amount: int


class InvoicePaidEvent(BaseModel):
    id: str
    type: str
    created: int
    data: InvoicePaidData


class WebhookResponse(BaseModel):
    status: str


Handler = Callable[[asyncpg.Pool, WebhookEvent], Awaitable[None]]


def verify_signature(raw_body: bytes, signature_header: str, timestamp_header: str) -> None:
    try:
        timestamp = int(timestamp_header)
    except (TypeError, ValueError) as exc:
        raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="invalid timestamp") from exc
    if abs(int(time.time()) - timestamp) > MAX_SKEW_SECONDS:
        raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="stale timestamp")
    signed_payload = f"{timestamp}.".encode() + raw_body
    expected = hmac.new(WEBHOOK_SECRET, signed_payload, hashlib.sha256).hexdigest()
    if not hmac.compare_digest(expected, signature_header):
        raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="invalid signature")


async def handle_invoice_paid(pool: asyncpg.Pool, event: WebhookEvent) -> None:
    data = InvoicePaidData.model_validate(event.data)
    async with pool.acquire() as conn:
        async with conn.transaction():
            inserted = await conn.fetchval(
                "INSERT INTO webhook_events (event_id, event_type) VALUES ($1, $2) "
                "ON CONFLICT (event_id) DO NOTHING RETURNING event_id",
                event.id,
                event.type,
            )
            if inserted is None:
                return
            await conn.execute(
                "INSERT INTO invoices (id, amount) VALUES ($1, $2) "
                "ON CONFLICT (id) DO NOTHING",
                data.id,
                data.amount,
            )


HANDLERS: Final[dict[str, Handler]] = {
    "invoice.paid": handle_invoice_paid,
}


def create_app(pool: asyncpg.Pool) -> FastAPI:
    app = FastAPI()

    @app.on_event("startup")
    async def _startup() -> None:
        await pool.execute(IDEMPOTENCY_SQL)

    @app.post("/webhooks/payments", response_model=WebhookResponse)
    async def payments_webhook(
        request: Request,
        x_signature: str = Header(..., alias="X-Signature"),
        x_timestamp: str = Header(..., alias="X-Timestamp"),
    ) -> JSONResponse:
        raw_body = await request.body()
        verify_signature(raw_body, x_signature, x_timestamp)
        try:
            event = WebhookEvent.model_validate_json(raw_body)
        except ValidationError as exc:
            raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="invalid payload") from exc
        handler = HANDLERS.get(event.type)
        if handler is None:
            return JSONResponse(status_code=status.HTTP_200_OK, content={"status": "ignored"})
        try:
            await handler(pool, event)
        except asyncpg.PostgresError as exc:
            raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail="storage error") from exc
        return JSONResponse(status_code=status.HTTP_200_OK, content={"status": "ok"})

    return app


def test_verif

이 하드웨어에서 이 모델의 다른 실행