속도 테스트
Ripple-65B-Preview-NVFP4
RTX PRO 6000 Blackwell Workstation Edition 96GB · sglang · v0.5.19 · NVFP4
디코드
98.5tok/s
프리필
3.5ktok/s
첫 토큰까지의 시간
4,460ms
합계
703tok/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
356.1–479.8 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 20.00 GB model weights · 16-bit KV cache · 1–15,699 tokens of context
Includes speculative decoding: 5.36 tokens accepted per model step on average (66.5–89.6 steps/s) · measured 18.4 steps/s
21–28%
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
- 프롬프트 토큰
- 15699
- 프리필 tok/s
- 3,519.7 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). 383 verify steps, 5.36 tokens/step, 54.3 ms/step.
추측 디코딩
- 방식
- DFlash
- 단계당 수락 수
- 5.36 토큰
- 수락률
- 29%
- 초안 토큰
- 5,745
- 수락된 토큰
- 1,668
기록된 증거
- 프롬프트 해시 (SHA-256)
- 47de0e3b3d8d…
프롬프트 샘플 · 2,000 chars
[LocalMaxxing cache-bust nonce: 0bb380b5a0b8471f90f35d6bb873ffa8]
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, reject stale timestamps
2. Idempotent inserts on event id
3. Registry dispatch instead of if-chains
4. Return 2xx for unhandled event types
5. Pydantic models, full type hints, no bare except
6. SQL for idempotency table
7. pytest test for signature check
8. List failure modes to alert on
Let me design this carefully.
Structure:
- `models.py` or all in one module? Let's do a single module `webhooks.py` for clarity, maybe split. I'll do one module with clear sections.
Key design decisions:
- Raw body: `await request.body()` — must read raw bytes before parsing JSON. Signature is over raw bytes.
- Timestamp: header `X-Timestamp` or in payload? Common pattern: `X-Timestamp` header. I'll use header, with tolerance window.
- Signature format: hex HMAC-SHA256. Use `hmac.compare_digest`.
- Idempotency: table `webhook_events` with `event_id` primary key, `type`, `payload`, `processed_at`. Insert with `ON CONFLICT DO NOTHING`, check rowcount. If 0, it's a duplicate — return 200 without reprocessing.
- Registry: dict mapping event type -> handler function.
- Unhandled types: return 202 Accepted (2xx) without processing.
- Errors: catch specific exceptions, log, return 500 only for genuine failures? Actually the requirement says "any exception returns a 500 so the provider retries forever" — the fix is to return 2xx for unhandled types and handle expected errors gracefully. For genuine processing errors, we should return 500 so provider retries (that's correct behavior), but we should make processing idempotent so retries are safe. Actually re-reading: "return 2xx for event types we don't handle" — that's the fix for the retry-forever problem. For handled types that fail, 500 is appropriate (provider retries, and idempotency makes it safe).
Let me write the code.
```python
# webhooks.py
from __future__ import annotations
import hashlib
import hmac
import logging
import os
import time
from dataclasses import dataclass
from typing import Any, Awaitable, Callable, Dict, Final, Optional
import asyncpg
from fastapi import FastAPI, Header, HTTPException, Request, status
from pydantic import BaseModel, Field
logger = logging.getLogger(__name__)
SIGNATURE_HEADER: Final[str] = "X-Signature"
TIMESTAMP_HEADER: Final[str] = "X-Timestamp"
SIGNATURE_TOLERANCE_SECONDS: Final[int] = 300 # 5 minutes
WEBHOOK_SECRET: Final[bytes] = os.environ["WEBHOOK_SECRET"].encode()
class WebhookSignatureError(HTTPException):
def __init__(self) -> None:
super().__init__(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid signature")
class WebhookStaleError(HTTPException):
def __init__(self) -> None:
super().__init__(status_code=status.HTTP_400_BAD_REQUEST, detail="Stale timestamp")
```
Hmm, raising HTTPException from verification is fine but let me keep it simpler — raise custom exceptions and let the route handler translate. Actually HTTPException works directly with FastAPI. But for testability, custom exceptions are cleaner. Let me use custom exception classes and catch them in the route.
Models:
```python
class WebhookEvent(BaseModel):
id: str = Field(..., min_length=1)
type: str = Field(..., min_length=1)
data: Dict[str, Any] = Field(default_factory=dict)
# optional provider timestamp
```
Actually the payload structure from the example: `payload["type"]`, `payload["data"]["id"]`, `payload["data"]["amount"]`. So event id is `data.id`. Hmm, but "make inserts idempotent on the event id" — the event id could be `data.id` or a top-level `id`. Let me support both: use `data.id` as the event id (that's what the example uses). Actually let me define the model with `id` at top level optional and fall back to `data.id`. Simpler: use `data.id` as event_id since that's what the original code uses.
Let me define:
```python
class We이 하드웨어에서 이 모델의 다른 실행
- 212tok/ssglang · v0.5.19 · NVFP4컨텍스트 2K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 5.
- 152tok/ssglang · v0.5.19 · NVFP4컨텍스트 2K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 5.
- 135tok/ssglang · v0.5.19 · NVFP4컨텍스트 32K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 5.
- 131tok/ssglang · v0.5.19 · NVFP4컨텍스트 64K · 깊이 0 · 배치 1puretensor · 2026. 11. 5.
- 97.9tok/ssglang · v0.5.19 · NVFP4컨텍스트 32K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 5.
- 96.8tok/ssglang · v0.5.19 · NVFP4컨텍스트 32K · 깊이 0 · 배치 1puretensor · 2026. 11. 5.
- 75.9tok/ssglang · v0.5.19 · NVFP4컨텍스트 64K · 깊이 0 · 배치 1puretensor · 2026. 11. 5.
- 24.0tok/ssglang · v0.5.19 · NVFP4컨텍스트 32K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 4.
- 24.0tok/ssglang · v0.5.19 · NVFP4컨텍스트 32K · 깊이 0 · 배치 1검증된 실행puretensor · 2026. 11. 4.
