Test di velocità
DeepSeek-V4.1-Flash-1017
RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×4 · vllm · v0.1.dev21836+g6d66eed35 · FP8
puretensorVerificato25 ott 2026
Decodifica
669tok/s
Prefill
11.0ktok/s
Tempo al primo token
174ms
Totale
1.4ktok/s
VRAM di picco
—
Lunghezza del contesto
1024K
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
—
Verifica
Non verificata — risultato sperimentale
Le esecuzioni verificate usano un prompt di test standard e registrano dati sufficienti per controllare il risultato.
- The run did not use one of the standard test prompts.
Comando di avvio
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.
Hardware
- GPU
- RTX PRO 6000 Blackwell Max-Q Workstation Edition
- Conteggio
- 4
- VRAM
- 96 GB
- OS
- Ubuntu 26.04.1 LTS
Motore
- Motore
- vllm
- Versione
- 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
- sì
- Chunked prefill
- sì
- Chunk prefill
- 4096
- Max running seqs
- 16
- Attn
- B12X
- Spec decode
- abilitato
Configurazione run
- Contesto
- 1.048.576 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 1911
- Prefill tok/s
- 11K tok/s
- Token output
- 1551
- Revisione
- 1bae0e10
- Note
- 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. Prompt: Fraser Price's own BRRR bench coding prompt (the webhook task x7 plus his instruction to output code only, ~1.9K tokens, prompt sha256 293bb63a before our cache-bust nonce), not a LocalMaxxing canonical prompt; output runs to natural EOS. Code-only output is what raises acceptance to ~6.1 tokens/step. 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). 255 verify steps, 6.08 tokens/step, 9.1 ms/step.
Decodifica speculativa
- Metodo
- dspark
- Accettati per passo
- 6,08 token
- Tasso di accettazione
- 73%
- Token di bozza
- 1785
- Token accettati
- 1296
Evidenze acquisite
- Hash del prompt (SHA-256)
- 293bb63ab8a4…
Esempio di prompt · 2,000 chars
[LocalMaxxing cache-bust nonce: 4420a59771243a262ae9ce050c440d82]
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 timEsempio di output · 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.get("WEBHOOK_SECRET", "test_secret").encode()
MAX_SKEW_SECONDS: Final[int] = 300
DATABASE_URL: Final[str] = os.environ.get("DATABASE_URL", "postgresql://localhost/postgres")
SCHEMA_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 InvoicePaidData(BaseModel):
id: str
amount: int
class WebhookEvent(BaseModel):
id: str
type: str
created: int
data: dict[str, Any]
class InvoicePaidEvent(WebhookEvent):
data: InvoicePaidData
class SignatureError(Exception):
pass
def compute_signature(secret: bytes, timestamp: str, body: bytes) -> str:
signed_payload = timestamp.encode() + b"." + body
return hmac.new(secret, signed_payload, hashlib.sha256).hexdigest()
def verify_signature(
secret: bytes,
signature_header: str | None,
timestamp_header: str | None,
body: bytes,
now: float | None = None,
) -> None:
if not signature_header or not timestamp_header:
raise SignatureError("missing signature or timestamp header")
try:
ts = int(timestamp_header)
except ValueError as exc:
raise SignatureError("invalid timestamp") from exc
current = now if now is not None else time.time()
if abs(current - ts) > MAX_SKEW_SECONDS:
raise SignatureError("timestamp outside allowed skew")
expected = compute_signature(secret, timestamp_header, body)
if not hmac.compare_digest(expected, signature_header):
raise SignatureError("signature mismatch")
EventHandler = Callable[[asyncpg.Pool, WebhookEvent], Awaitable[None]]
async def handle_invoice_paid(pool: asyncpg.Pool, event: WebhookEvent) -> None:
parsed = InvoicePaidEvent.model_validate(event.model_dump())
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",
parsed.data.id,
parsed.data.amount,
)
async def handle_unhandled(pool: asyncpg.Pool, event: WebhookEvent) -> None:
async with pool.acquire() as conn:
await conn.execute(
"INSERT INTO webhook_events (event_id, event_type) VALUES ($1, $2) "
"ON CONFLICT (event_id) DO NOTHING",
event.id,
event.type,
)
EVENT_REGISTRY: Final[dict[str, EventHandler]] = {
"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(SCHEMA_SQL)
@app.post("/webhooks/payments")
async def payments_webhook(
request: Request,
x_signature: str | None = Header(default=None, alias="X-Signature"),
x_timestamp: str | None = Header(default=None, alias="X-Timestamp"),
) -> JSONResponse:
body = await request.body()
try:
verify_signature(WEBHOOK_SECRET, x_signature, x_timestamp, body)
except SignatureError as exc:
raise HTTPException(
status_code=status.HTTP_40Altri run di questo modello su questo hardware
- 760tok/svllm · v0.1.dev21836+g6d66eed35 · FP8Contesto 32K · profondità 0 · batch 1puretensor · 25 nov 2026
- 753tok/svllm · v0.1.dev21836+g6d66eed35 · FP8Contesto 32K · profondità 0 · batch 1puretensor · 25 nov 2026
- 713tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 695tok/svllm · v0.1.dev21836+g6d66eed35 · FP8Contesto 1024K · profondità 0 · batch 1puretensor · 25 nov 2026
- 695tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 684tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 681tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 679tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 677tok/svllm · FP8Contesto 512K · profondità 0 · batch 1fraserprice · 22 ott 2026
- 672tok/svllm · v0.1.dev21836+g6d66eed35 · FP8Contesto 32K · profondità 0 · batch 1puretensor · 25 nov 2026
