速度テスト
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
デコード
753tok/s
プリフィル
11.2ktok/s
最初のトークンまでの時間
171ms
合計
1.5ktok/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
- プロンプトトークン
- 1912
- プリフィル tok/s
- 11.2K tok/s
- 出力トークン
- 1747
- リビジョン
- 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 +225 MHz, memory +4500 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. The same arm at stock clocks in the same window measured 690.9 tok/s (8.79 ms per step); this run is 8.08 ms per step at about 6.07 tokens/step. 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). 287 verify steps, 6.09 tokens/step, 8.1 ms/step.
投機的デコード
- 手法
- dspark
- ステップあたりの採択数
- 6.09 トークン
- 採択率
- 73%
- ドラフトトークン
- 2,009
- 採択トークン
- 1,460
記録された証跡
- プロンプトハッシュ (SHA-256)
- 293bb63ab8a4…
プロンプトサンプル · 2,000 chars
[LocalMaxxing cache-bust nonce: b1d767d37d51b7f141f62056163bef03]
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, Dict, Optional
import asyncpg
from fastapi import FastAPI, Header, HTTPException, Request, status
from fastapi.responses import JSONResponse
from pydantic import BaseModel, Field, ValidationError
WEBHOOK_SECRET: bytes = os.environ.get("WEBHOOK_SECRET", "").encode("utf-8")
TOLERANCE_SECONDS: int = 300
app = FastAPI()
pool: Optional[asyncpg.Pool] = None
class InvoiceData(BaseModel):
id: str
amount: int
class EventPayload(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
Handler = Callable[[asyncpg.Pool, BaseModel], Awaitable[None]]
async def handle_invoice_paid(pool: asyncpg.Pool, event: BaseModel) -> None:
assert isinstance(event, InvoicePaidEvent)
await pool.execute(
"INSERT INTO invoices (id, amount) VALUES ($1, $2) ON CONFLICT (id) DO NOTHING",
event.data.id,
event.data.amount,
)
EVENT_REGISTRY: Dict[str, tuple[type[BaseModel], Handler]] = {
"invoice.paid": (InvoicePaidEvent, handle_invoice_paid),
}
def compute_signature(secret: bytes, timestamp: str, body: bytes) -> str:
signed_payload = timestamp.encode("utf-8") + b"." + body
return hmac.new(secret, signed_payload, hashlib.sha256).hexdigest()
def verify_signature(
secret: bytes,
signature_header: Optional[str],
timestamp_header: Optional[str],
body: bytes,
tolerance_seconds: int = TOLERANCE_SECONDS,
now: Optional[int] = None,
) -> None:
if not secret:
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail="webhook secret not configured")
if not signature_header or not timestamp_header:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="missing signature headers")
try:
timestamp_int = int(timestamp_header)
except ValueError as exc:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="invalid timestamp") from exc
current = int(time.time()) if now is None else now
if abs(current - timestamp_int) > tolerance_seconds:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="stale timestamp")
expected = compute_signature(secret, timestamp_header, body)
provided = signature_header.strip()
if provided.startswith("sha256="):
provided = provided[len("sha256="):]
if not hmac.compare_digest(expected, provided):
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="invalid signature")
async def record_event(pool: asyncpg.Pool, event_id: str, event_type: str) -> bool:
row = await pool.fetchrow(
"INSERT INTO webhook_events (event_id, event_type) VALUES ($1, $2) "
"ON CONFLICT (event_id) DO NOTHING RETURNING event_id",
event_id,
event_type,
)
return row is not None
@app.on_event("startup")
async def startup() -> None:
global pool
pool = await asyncpg.create_pool(dsn=os.environ["DATABASE_URL"], min_size=1, max_size=10)
@app.on_event("shutdown")
async def shutdown() -> None:
global pool
if pool is not None:
await pool.close()
pool = None
@app.post("/webhooks/payments")
async def payments_webhook(
request: Request,
x_signature: Optional[str] = Header(default=None, alias="X-Signature"),
x_timestamp: Optional[str] = Header(default=None, alias="X-Timestamp"),
) -> JSONResponse:
body = await request.body()
verify_signature(WEBHOOK_SECRET, x_signature, x_timestamp, body)
try:
payload = EventPayload.model_validate_json(body)
except ValidationError as exc:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="invalid payload") from exc
if pool is None:
raise HTTPException(stこのハードウェアでのこのモデルの他の実行
- 760tok/svllm · v0.1.dev21836+g6d66eed35 · FP8コンテキスト 32K · 深度 0 · バッチ 1puretensor · 2026/11/25
- 713tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 695tok/svllm · v0.1.dev21836+g6d66eed35 · FP8コンテキスト 1024K · 深度 0 · バッチ 1puretensor · 2026/11/25
- 695tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 684tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 681tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 679tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 677tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/22
- 672tok/svllm · v0.1.dev21836+g6d66eed35 · FP8コンテキスト 32K · 深度 0 · バッチ 1puretensor · 2026/11/25
- 670tok/svllm · FP8コンテキスト 512K · 深度 0 · バッチ 1fraserprice · 2026/10/21
