速度テスト
Ripple-65B-Preview-NVFP4
RTX PRO 6000 Blackwell Workstation Edition 96GB · sglang · v0.5.19 · NVFP4
デコード
96.8tok/s
プリフィル
3.4ktok/s
最初のトークンまでの時間
769ms
合計
214tok/s
ピーク VRAM
—
コンテキスト長
32K
KV 深度
0
バッチサイズ
1
同時実行数
1
消費電力
—
検証
未検証 — 実験的な結果
検証済みの実行は標準テストプロンプトを使い、結果を確認できるだけのデータを記録しています。
- The run did not use one of the standard test prompts.
起動コマンド
python -m sglang.launch_server (via serve_ripple_fp4.py: registers the vendor RicursiveForCausalLM plugin from ricursiveAI/Ripple-65B-Preview-NVFP4 inference/local + ripple parsers) --model-path ricursiveAI/Ripple-65B-Preview-NVFP4 --trust-remote-code --dtype bfloat16 --kv-cache-dtype bfloat16 --tp-size 1 --attention-backend flashinfer --fp4-gemm-backend flashinfer_cutlass --flashinfer-autotune-skip-ops fp8_gemm --context-length 32768 --mem-fraction-static 0.85 --max-running-requests 1 --cuda-graph-bs-decode 1 --cuda-graph-backend-prefill disabled --tool-call-parser ripple --reasoning-parser ripple --chat-template chat_template.jinja --speculative-algorithm DFLASH --speculative-draft-model-path ricursiveAI/Ripple-65B-Preview-DFlash2 --speculative-draft-model-quantization unquant --speculative-num-draft-tokens 16 --speculative-draft-window-size 16384 --speculative-draft-attention-backend triton (env SGLANG_FLASHINFER_USE_PAGED=1 FLASHINFER_USE_CUDA_NORM=1 CUDA_HOME=cuda-13.2)
Theoretical memory ceiling
411.2–457.6 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 20.00 GB model weights · 16-bit KV cache · 1–2,644 tokens of context
Includes speculative decoding: 5.11 tokens accepted per model step on average (80.5–89.6 steps/s) · measured 18.9 steps/s
21–24%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from ricursiveAI/Ripple-65B-Preview-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
モデル
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- 数
- 1
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
エンジン
- エンジン
- sglang
- バージョン
- 0.5.19
- Build
- pip sglang==0.5.19, torch 2.13.0+cu130, flashinfer (sglang 0.5.19 pin), CUDA 13.2 JIT, NVIDIA driver 615.71.09
- 量子化
- NVFP4
- バックエンド
- cuda
- TP
- 1
- KVキャッシュ
- bf16
- GPUメモリ使用率
- 0.85
- プレフィックスキャッシュ
- はい
- チャンク化プリフィル
- はい
- 最大実行シーケンス数
- 1
- Attn
- flashinfer
- Spec decode
- 有効
実行設定
- コンテキスト
- 32,768 トークン
- 深度
- 0 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 2644
- プリフィル tok/s
- 3,437.9 tok/s
- 出力トークン
- 2048
- リビジョン
- 99eea4477a001a41b86914e41feb4b2ed86105e5
- メモ
- PureTensor lab, fox-n0: one RTX PRO 6000 Blackwell Workstation Edition (600 W), Threadripper 7970X. Ripple-65B Preview (dense 65B) as the vendor NVFP4 export (MLP NVFP4, attention BF16, 54 GB) plus the vendor BF16 DFlash2 drafter (4B, 16-token blocks), SGLang 0.5.19 with the vendor model plugin. The vendor's DGX Spark flags won our sweep on this card: 32-token blocks, Marlin and cuDNN FP4 GEMMs, triton attention, decode-mode verify attention and online FP8 attention were all equal or slower; cuteDSL FP4 (no SM120 support), torch.compile (CUDA-graph capture fails) and an FP8 drafter (vendor loader rejects it) did not run. CPU in a performance window (performance governor, C2 off, boost on). Single GPU, so host P2P settings do not apply. GPU0 shared with small idle resident services (Whisper, XTTS, a reranker, about 8 GB). Ripple has no thinking switch (adaptive reasoning); reasoning tokens count as output. Lossless speculative decoding (greedy verify). Tokens/step = (completion_tokens - 1) / SGLang spec_verify_calls. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 401 verify steps, 5.11 tokens/step, 52.8 ms/step.
投機的デコード
- 手法
- DFlash
- ステップあたりの採択数
- 5.11 トークン
- 採択率
- 27%
- ドラフトトークン
- 6,015
- 採択トークン
- 1,647
記録された証跡
- プロンプトハッシュ (SHA-256)
- 5a6b7bc1cbbc…
プロンプトサンプル · 2,000 chars
[LocalMaxxing cache-bust nonce: 228c3439912aaae142fa7578154b9968]
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 bod出力サンプル · 4,000 chars
The user has pasted the same request many times. I should just answer once, properly. Let me write a complete module.
Key requirements:
1. Verify HMAC-SHA256 signature over raw body
2. Reject stale timestamps
3. Idempotent inserts on event id
4. Registry dispatch instead of if-chains
5. Return 2xx for unhandled event types
6. Pydantic models, full type hints, no bare except
7. SQL for idempotency table
8. pytest test for signature check
9. List failure modes to alert on
Let me write this out.
Design:
- `WebhookSignatureError` exception
- `verify_signature(raw_body, signature_header, timestamp_header, secret, tolerance)`
- Pydantic models: `WebhookEvent` base with `type`, `data`, `id`; specific event types
- Registry: dict[str, Callable[[WebhookEvent], Awaitable[None]]]
- Idempotency: table `webhook_events_processed(event_id PK, processed_at)`, use `INSERT ... ON CONFLICT DO NOTHING` and check rowcount
- Handler: read raw body, verify signature, parse JSON, check idempotency, dispatch, return 200
Let me write the code.
```python
# webhooks.py
from __future__ import annotations
import hashlib
import hmac
import logging
import time
from typing import Awaitable, Callable, Dict, Final, Optional
from fastapi import APIRouter, Header, HTTPException, Request, status
from pydantic import BaseModel, Field
logger = logging.getLogger(__name__)
MAX_TIMESTAMP_SKEW_SECONDS: Final[int] = 300
SIGNATURE_HEADER: Final[str] = "X-Signature"
TIMESTAMP_HEADER: Final[str] = "X-Timestamp"
class WebhookSignatureError(Exception):
"""Raised when a webhook fails signature or timestamp validation."""
class WebhookEvent(BaseModel):
id: str
type: str
data: dict[str, Any]
class InvoicePaidEvent(WebhookEvent):
type: Literal["invoice.paid"] = "invoice.paid"
class Data(BaseModel):
id: str
amount: int # or Decimal
data: Data
```
Hmm, pydantic discriminated unions could work but let's keep it simpler with a registry keyed on `type`.
Actually let me use a discriminated union for parsing, then dispatch on the parsed type. Or just parse as base and dispatch. The user asked for pydantic models — I'll do a discriminated union.
Let me write:
```python
class InvoicePaidData(BaseModel):
id: str
amount: int
class InvoicePaidEvent(BaseModel):
id: str
type: Literal["invoice.paid"]
data: InvoicePaidData
class WebhookEvent(BaseModel):
id: str
type: str
data: dict[str, Any]
EventModel = Annotated[Union[InvoicePaidEvent], Field(discriminator="type")]
```
Actually with a discriminated union, unknown types fail validation. Better to parse as base `WebhookEvent` and dispatch. Let me do that — simpler and handles unknown types gracefully.
Signature verification:
```python
def verify_signature(
raw_body: bytes,
signature_header: str,
timestamp_header: str,
secret: str,
max_skew: int = MAX_TIMESTAMP_SKEW_SECONDS,
) -> None:
if not signature_header:
raise WebhookSignatureError("missing signature header")
if not timestamp_header:
raise WebhookSignatureError("missing timestamp header")
try:
ts = int(timestamp_header)
except ValueError as exc:
raise WebhookSignatureError("invalid timestamp header") from exc
now = int(time.time())
if abs(now - ts) > max_skew:
raise WebhookSignatureError(f"stale timestamp: {ts} vs {now}")
expected = hmac.new(
secret.encode(), raw_body, hashlib.sha256
).hexdigest()
provided = signature_header.strip()
if not hmac.compare_digest(expected, provided):
raise WebhookSignatureError("signature mismatch")
```
Note: some providers sign `timestamp.body`. I'll mention that as a variant. Let me make it configurable or just note it. Actually let me support both by signing `f"{ts}.{raw_body}"` — no, keep it simple and note the variant.
Idempotency table SQL:
```sql
CREATE TABLE IF NOT EXISTS webhook_events (
event_id TEXT PRIMARY KEY,
prこのハードウェアでのこのモデルの他の実行
- 212tok/ssglang · v0.5.19 · NVFP4コンテキスト 2K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/05
- 152tok/ssglang · v0.5.19 · NVFP4コンテキスト 2K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/05
- 135tok/ssglang · v0.5.19 · NVFP4コンテキスト 32K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/05
- 131tok/ssglang · v0.5.19 · NVFP4コンテキスト 64K · 深度 0 · バッチ 1puretensor · 2026/11/05
- 98.5tok/ssglang · v0.5.19 · NVFP4コンテキスト 32K · 深度 0 · バッチ 1puretensor · 2026/11/05
- 97.9tok/ssglang · v0.5.19 · NVFP4コンテキスト 32K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/05
- 75.9tok/ssglang · v0.5.19 · NVFP4コンテキスト 64K · 深度 0 · バッチ 1puretensor · 2026/11/05
- 24.0tok/ssglang · v0.5.19 · NVFP4コンテキスト 32K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/04
- 24.0tok/ssglang · v0.5.19 · NVFP4コンテキスト 32K · 深度 0 · バッチ 1検証済みランpuretensor · 2026/11/04
