Speedtest
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB · vllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4
Decode
548tok/s
Prefill
27.4ktok/s
Zeit bis zum ersten Token
100ms
Gesamt
1.9ktok/s
Peak-VRAM
—
Kontextlänge
32K
KV-Tiefe
0
Batchgröße
1
Parallelität
1
Leistungsaufnahme
—
Verifizierung
Nicht verifiziert — experimentelles Ergebnis
Verifizierte Läufe nutzen einen Standard-Testprompt und speichern genug Daten, um das Ergebnis zu prüfen.
- The run did not use one of the standard test prompts.
Startbefehl
docker run -d --name maxxloop-tc2 --gpus '"device=2"' --ipc=host -p 127.0.0.1:8672:8000 -v /mnt/storage/models/local:/models:ro -v /mnt/storage/maxxloop/cache-tc2:/root/.cache vllm/vllm-openai:nightly-335dd77b09161c5d63139b4e7ae51bb9928305b1 --model /models/nemotron-3.5-lightning-30b-a3b-nvfp4 --served-model-name nemotron --trust-remote-code --max-model-len 32768 --gpu-memory-utilization 0.90 --speculative-config '{"method":"dspark","model":"/models/nemotron-3.5-lightning-30b-a3b-nvfp4-dspark","num_speculative_tokens":5}'Theoretical memory ceiling
3,014.0–3,996.0 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–2,745 tokens of context
Includes speculative decoding: 3.35 tokens accepted per model step on average (901.0–1,194.5 steps/s) · measured 163.9 steps/s
14–18%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX PRO 6000 Blackwell Max-Q Workstation Edition
- Anzahl
- 1
- VRAM
- 96 GB
- OS
- Ubuntu 26.04.1 LTS
Engine
- Engine
- vllm
- Version
- 0.33.0rc1.dev320+g335dd77b0
- Build
- vllm/vllm-openai@sha256:66f19872e759e7d74f0729c4c7068eaaf71bc8b35f613573c36062a81be8cb3d
- Commit
- 335dd77b0
- Quant
- NVFP4
- Backend
- cuda
- TP
- 1
- KV cache
- auto
- GPU mem util
- 0.9
- Prefix caching
- ja
- Chunked prefill
- ja
- Spec decode
- aktiviert
Run-Konfiguration
- Kontext
- 32.768 Tokens
- Tiefe
- 0 Tokens
- Batch-Größe
- 1
- Prompt-Tokens
- 2745
- Prefill tok/s
- 27.4K tok/s
- Output-Tokens
- 1024
- Notizen
- PureTensor lab, tensor-core: one RTX PRO 6000 Blackwell Max-Q Workstation Edition (325 W cap), the whole card, Threadripper PRO 9975WX, 512 GB RAM. Official NVIDIA NVFP4 checkpoint on upstream vLLM nightly (Docker). Config found by our maxxloop tuning harness: one-variable sweeps, quality and degeneration gates, interleaved fresh-boot confirms. Confirmed x1.976 [95% CI 1.918-2.003] over the engine defaults in 3+3 interleaved boots. Engine config vs its defaults: spec='{"method":"dspark","model":"/models/nemotron-3.5-lightning-30b-a3b-nvfp4-dspark","num_speculative_tokens":5}'. Image vllm/vllm-openai@sha256:66f19872e759e7d74f0729c4c7068eaaf71bc8b35f613573c36062a81be8cb3d. CPU in a performance window (performance governor, C2 off, boost on). Thinking on (the chat template default). Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 307 verify steps, 3.35 tokens/step, 6.1 ms/step.
Spekulatives Decoding
- Methode
- dspark
- Akzeptiert pro Schritt
- 3,35 Tokens
- Akzeptanzrate
- 47 %
- Draft-Tokens
- 1.535
- Akzeptierte Tokens
- 720
Erfasste Nachweise
- Prompt-Hash (SHA-256)
- 5a6b7bc1cbbc…
Prompt-Beispiel · 2,000 chars
[LocalMaxxing cache-bust nonce: 7c46afdae643044b0c01ec1c4cbba341]
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 as a proper module: 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, then list the failure modes you would alert on.
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 as a proper module: verify the signature with HMAC-SHA256 over the raw bodAusgabebeispiel · 4,000 chars
Here's a thinking process:
1. **Analyze User Input:**
- User provides a FastAPI webhook handler that's problematic
- Lists specific problems: no signature verification, retried deliveries cause duplicates, bare exceptions cause 500s and infinite retries
- Wants a rewrite as a proper module with specific features:
- Verify signature with HMAC-SHA256 over raw body
- Reject stale timestamps
- Make inserts idempotent on event id
- Dispatch event types through a registry instead of if-chains
- Return 2xx for unhandled event types
- Use pydantic models, full type hints, no bare except
- Include SQL for idempotency table
- Include a pytest test for signature check
- List failure modes to alert on
- The input is repeated many times (probably a copy-paste artifact), but the request is clear.
2. **Deconstruct Requirements:**
- Module structure: likely a single file or a small package with webhook handling logic
- HMAC-SHA256 signature verification: need raw body, secret key, header signature, timestamp check
- Idempotency: unique constraint on event id, INSERT ... ON CONFLICT DO NOTHING or similar
- Event dispatch registry: map event types to handler functions/classes, default handler returns 2xx
- Pydantic models: for request validation, event data
- Full type hints: everywhere
- No bare except: specific exceptions only
- SQL for idempotency table: create table with event_id, etc.
- pytest test: test the signature verification function
- Failure modes to alert on: list of operational/security issues
3. **Design the Solution Structure:**
- `webhook.py` or `webhooks.py` module
- Pydantic models: `WebhookEvent`, `InvoicePaid`, maybe a base `Event` model
- Registry pattern: `EVENT_REGISTRY = {}`, `register_event(type)`, `dispatch(event)`
- Verification function: `verify_signature(raw_body, signature_header, timestamp, secret)`
- Database idempotency table SQL
- FastAPI route handler using the module
- pytest test file
- Failure modes list
Let's sketch the code carefully.
**SQL for idempotency table:**
```sql
CREATE TABLE IF NOT EXISTS webhook_events (
event_id UUID PRIMARY KEY,
received_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
processed BOOLEAN DEFAULT FALSE,
payload JSONB
);
```
Or maybe a simpler one just for invoice ids, but the requirement says "idempotent on the event id", so a `processed_events` or `webhook_events` table with unique event_id.
Actually, better to have a table that tracks processed event IDs to prevent duplicate processing:
```sql
CREATE TABLE IF NOT EXISTS processed_events (
event_id UUID PRIMARY KEY,
event_type TEXT NOT NULL,
processed_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
```
Then the INSERT becomes `INSERT INTO processed_events (event_id, event_type) VALUES ($1, $2) ON CONFLICT (event_id) DO NOTHING;` and we check the rowcount or use a CTE.
**Pydantic models:**
```python
from pydantic import BaseModel, Field
from typing import Optional, Dict, Any
import uuid
class WebhookEvent(BaseModel):
type: str
data: Dict[str, Any]
id: str # event ID
timestamp: int # Unix timestamp
class InvoicePaid(BaseModel):
id: str
amount: int # or float, depending on provider
# maybe currency, etc.
```
**Signature verification:**
- Typical pattern: `X-Signature` header contains `t=<timestamp>,v1=<hmac>`
- Compute HMAC-SHA256 of `timestamp + "." + raw_body` with secret key
- Compare securely (hmac.compare_digest)
- Reject if timestamp is too old (e.g., > 24h or 1h)
- Reject if missing/Invalid
**Registry pattern:**
```python
EVENT_REGISTRY: dict[str, callable] = {}
def register_event(event_type: str):
def decorator(handler):
EVENT_REGISTRY[event_type] = handler
return handler
return Weitere Runs dieses Modells auf dieser Hardware
- 680tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP432K Kontext · 0 Tiefe · Batch 1Verifizierter Laufpuretensor · 01.11.2026
- 597tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP432K Kontext · 0 Tiefe · Batch 1Verifizierter Laufpuretensor · 01.11.2026
- 323tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP432K Kontext · 0 Tiefe · Batch 1puretensor · 01.11.2026
- 323tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP432K Kontext · 0 Tiefe · Batch 1Verifizierter Laufpuretensor · 01.11.2026
- 323tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP432K Kontext · 0 Tiefe · Batch 1Verifizierter Laufpuretensor · 01.11.2026
