Test szybkości
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
RTX PRO 6000 Blackwell Workstation Edition 96GB · vllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4
Dekodowanie
356tok/s
Prefill
33.5ktok/s
Czas do pierwszego tokenu
82ms
Łącznie
1.3ktok/s
Szczytowe VRAM
—
Długość kontekstu
32K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Niezweryfikowany — wynik eksperymentalny
Zweryfikowane uruchomienia korzystają ze standardowego promptu testowego i zapisują dość danych, by sprawdzić wynik.
- The run did not use one of the standard test prompts.
Komenda uruchomienia
docker run -d --name maxxloop-g0 --gpus '"device=0"' --ipc=host -p 127.0.0.1:8662:8000 -v /mnt/storage/models/local:/models:ro -v /mnt/storage/maxxloop/cache-g0:/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
Theoretical memory ceiling
1,088.5–1,194.6 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–2,748 tokens of context
30–33%
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
Sprzęt
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Liczba
- 1
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Silnik
- Silnik
- vllm
- Wersja
- 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
- tak
- Chunked prefill
- tak
Konfiguracja uruchomienia
- Kontekst
- 32 768 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 2748
- Prefill tok/s
- 33.5K tok/s
- Tokeny wyjściowe
- 1024
- Notatki
- PureTensor lab, fox-n0: one RTX PRO 6000 Blackwell Workstation Edition (600 W), the whole card, Threadripper 7970X, 256 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. Engine defaults. 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).
Zapisane dowody
- Hash promptu (SHA-256)
- 5a6b7bc1cbbc…
Próbka promptu · 2,000 chars
[LocalMaxxing cache-bust nonce: 212f851c1c3c7da23142d712fb1466b5]
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 bodPróbka odpowiedzi · 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, unhandled exceptions cause 500 + infinite retries.
- Wants a rewrite as a proper module with:
- HMAC-SHA256 signature verification over raw body
- Stale timestamp rejection
- Idempotent inserts on event ID
- Event type dispatch via registry (not if-chains)
- Return 2xx for unhandled event types
- Pydantic models, full type hints, no bare except
- SQL for idempotency table
- pytest test for signature check
- List failure modes to alert on
- The input is repeated many times (probably a formatting/emphasis quirk), but the core request is clear.
2. **Deconstruct the Requirements:**
- **Module structure**: Probably a Python module/file with FastAPI route, verification logic, event handlers, models.
- **Signature verification**: HMAC-SHA256 over raw body. Need to know the provider's secret. Standard pattern: `sha256=hmac(secret, body)` or similar. I'll assume a configurable secret key. Also reject stale timestamps - typically the provider sends a `X-Request-Timestamp` header, and we check it's within a window (e.g., 5 minutes).
- **Idempotent inserts**: Use a table with `event_id` as primary key or unique constraint, plus `ON CONFLICT DO NOTHING` or `INSERT ... ON CONFLICT`. I'll provide the SQL.
- **Event dispatch registry**: A dict mapping event types to handler functions/callables. Avoids if-chains. Open/closed for new event types.
- **Return 2xx for unhandled types**: If event type not in registry, just return 200 OK without processing.
- **Pydantic models**: For request validation, event data, etc.
- **Full type hints**: Annotate everything.
- **No bare except**: Use specific exceptions.
- **pytest test**: For signature check, probably generate a valid HMAC and test verification, also test invalid signature rejection.
- **Failure modes to alert on**: List things like: invalid signature, timestamp too old/young, duplicate event insertion attempt, unexpected payload structure, database connection failures, etc.
3. **Design the Solution Structure:**
- `webhook.py` or `payments/webhook.py`
- SQL migration for idempotency table
- Pydantic models: `WebhookEvent`, `InvoicePaid`, maybe a base `Event` model
- Registry pattern: `EVENT_HANDLERS: dict[str, Callable]`
- Verification function: `verify_signature(body: bytes, signature: str, timestamp: str, secret: str) -> bool`
- FastAPI route: async handler that uses all above
- 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,
event_type TEXT NOT NULL,
payload JSONB NOT NULL,
received_at TIMESTAMPTZ DEFAULT NOW(),
processed_at TIMESTAMPTZ DEFAULT NOW()
);
```
Or simpler: just `event_id UUID PRIMARY KEY, ...` with `ON CONFLICT DO NOTHING`.
**Pydantic models:**
```python
from pydantic import BaseModel, Field
from typing import Any, dict, str
class WebhookEvent(BaseModel):
type: str
data: dict[str, Any]
# maybe id, timestamp, etc.
```
But the provider's payload structure is generic. I'll make a base model, and then specific ones if needed. The user's example uses `payload["type"]` and `payload["data"]["id"]`, `payload["data"]["amount"]`.
**Signature verification:**
Typical provider (like Stripe, Paddle, etc.) sends `X-Signature` or `X-Webhook-Signature`. I'll assume `X-Webhook-Signature` header, and `X-Webhook-Timestamp`. The HMAC is computed as `sha256(secret, timestamp + "." + body)` or just `sha256(secret, body)`. I'll make it configurable but default to `sha256(secret, body)`. I'll include timestamp rejection window.
**Registry:**
Więcej przebiegów tego modelu na tym sprzęcie
- 770tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 637tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 607tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 560tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 556tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1puretensor · 1 lis 2026
- 542tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1puretensor · 1 lis 2026
- 356tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 356tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 351tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
- 351tok/svllm · v0.33.0rc1.dev320+g335dd77b0 · NVFP4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegpuretensor · 1 lis 2026
