Teste de velocidade
flint-nvfp4-gguf
RTX PRO 6000 Blackwell Workstation Edition 96GB · llama.cpp · b12030 · NVFP4
puretensorVerificado2 de nov. de 2026
Decode
251tok/s
Prefill
5.1ktok/s
Tempo até o primeiro token
499ms
Total
776tok/s
VRAM de pico
—
Tamanho do contexto
2K
Profundidade KV
0
Tamanho do lote
1
Concorrência
1
Consumo de energia
—
Verificação
Não verificada — resultado experimental
Execuções verificadas usam um prompt de teste padrão e registram dados suficientes para conferir o resultado.
- The run did not use one of the standard test prompts.
Comando de inicialização
docker run -d --name maxxloop-g1 --gpus '"device=1"' --ipc=host -p 127.0.0.1:8663:8080 -v /mnt/storage/models/hf:/models:ro ghcr.io/ggml-org/llama.cpp:server-cuda13-b12030 -m /models/RecursiveSI__flint-nvfp4-gguf/flint-nvfp4.gguf --host 0.0.0.0 --port 8080 --alias flint -ngl 99 -c 32768 -np 1 --jinja --reasoning off --metrics -ctk f16 -ctv f16
Theoretical memory ceiling
This model's size (parameter count) is unknown, so a ceiling can't be estimated.
Hardware
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Quantidade
- 1
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Engine
- Engine
- llama.cpp
- Versão
- b12030
- Build
- ghcr.io/ggml-org/llama.cpp@sha256:fc3c1a48c228d5e11b49f2921e144e00c876938b1e178936f9aecd7586f8a573
- Commit
- a91eab67d
- Quant
- NVFP4
- Backend
- cuda
- Camadas de GPU
- 99
- KV cache
- f16
Configuração da execução
- Contexto
- 2.048 tokens
- Profundidade
- 0 tokens
- Tamanho do batch
- 1
- Tokens de prompt
- 2520
- Prefill tok/s
- 5,053.6 tok/s
- Tokens de saída
- 1024
- Notas
- PureTensor lab, fox-n0: one RTX PRO 6000 Blackwell Workstation Edition (600 W), the whole card, Threadripper 7970X, 256 GB RAM. Recursive's NVFP4 GGUF of Flint on upstream llama.cpp (server-cuda13-b12030, Docker), all layers on the GPU, f16 KV. Thinking off. Config found by our maxxloop tuning harness: one-variable sweeps, quality and degeneration gates, interleaved fresh-boot confirms. engine defaults; n-gram drafts did not clear the bar Engine defaults. Image ghcr.io/ggml-org/llama.cpp@sha256:fc3c1a48c228d5e11b49f2921e144e00c876938b1e178936f9aecd7586f8a573. CPU in a performance window (performance governor, C2 off, boost on). Thinking off. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s).
Evidências capturadas
- Hash do prompt (SHA-256)
- 5a6b7bc1cbbc…
Amostra do prompt · 2,000 chars
[LocalMaxxing cache-bust nonce: 3b34f7ce0229eb2770f6581749718192]
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 bodAmostra de saída · 4,000 chars
We need answer user. Need parse. They pasted same problem many times. Likely wants rewrite. We need provide solution. Must be careful final answer. We can structure: assumptions, code. Need include HMAC-SHA256 over raw body, reject stale timestamps, idempotent on event id, registry, return 2xx for unhandled, pydantic, full type hints, no bare except. Include SQL idempotency table and pytest test for signature check, then list failure modes alert on.
We need craft robust FastAPI asyncpg webhook module.
Need decide design. We can write code. Need maybe use FastAPI Request, starlette. Signature header likely X-Signature maybe hex HMAC-SHA256 of raw body with secret. Timestamp header maybe X-Timestamp or Stripe-like. User didn't specify provider. We can choose headers: X-Signature (hex HMAC-SHA256 of raw body using secret), X-Timestamp (unix seconds). Reject stale timestamps: tolerance maybe 300s. Or use Stripe timestamp. We'll implement generic.
Need raw body: await request.body() then json.loads. Signature over raw bytes. HMAC-SHA256 with secret.encode, compare_digest. Timestamp parse int, now UTC, abs(now - ts) > 300 reject 401/403.
Pydantic models:
EventType maybe str enum? WebhookEvent with type: str, data: WebhookData? But provider varies. For invoice.paid, data id, amount. Could define:
class InvoicePaidData(BaseModel):
id: str
amount: float? Decimal? int? Use Decimal? asyncpg can adapt Decimal? Maybe float. Better Decimal? Pydantic Decimal. But SQL insert amount numeric. Use Decimal.
class WebhookPayload(BaseModel):
type: str
data: dict[str, Any]? For invoice paid. But registry expects typed. Could define EventBase with type: str. InvoicePaidEvent with type: Literal["invoice.paid"]? Pydantic Literal. data: InvoicePaidData.
Maybe:
class InvoicePaidData(BaseModel):
id: str
amount: Decimal
class InvoicePaidEvent(BaseModel):
type: Literal["invoice.paid"]
data: InvoicePaidData
class WebhookEvent(BaseModel):
type: str
data: dict[str, Any]
But registry typed. Simpler:
Event = TypeVar("Event")
@dataclass(frozen=True)
class InvoicePaidEvent:
type: Literal["invoice.paid"] = "invoice.paid"
data: InvoicePaidData
But pydantic models requested. Use pydantic BaseModel:
class InvoicePaidData(BaseModel):
id: str
amount: Decimal
class InvoicePaidEvent(BaseModel):
type: Literal["invoice.paid"] = "invoice.paid"
data: InvoicePaidData
class WebhookPayload(BaseModel):
type: str
data: dict[str, Any]
But dispatch registry: dict[str, Callable[[WebhookPayload], Awaitable[None]]]? For typed, maybe generic. Could use TypeVar Event and protocol. Simpler for answer: registry maps event type string to async handler function accepting WebhookPayload? But typed better.
Maybe:
EventType = Literal["invoice.paid"]
class WebhookEvent(BaseModel):
type: EventType
data: InvoicePaidData
But then unhandled types? Return 2xx for event types we don't handle. If model only accepts invoice.paid, can't parse unknown. Could use type: str and data: dict[str, Any], then registry handlers typed via TypeVar.
Design:
from typing import TypeVar, Callable, Awaitable
from pydantic import BaseModel
class InvoicePaidData(BaseModel):
id: str
amount: Decimal
class InvoicePaidEvent(BaseModel):
type: Literal["invoice.paid"] = "invoice.paid"
data: InvoicePaidData
class WebhookPayload(BaseModel):
type: str
data: dict[str, Any]
T = TypeVar("T", bound=BaseModel)
class EventHandler(Protocol):
async def __call__(self, event: T) -> Awaitable[None]: ...
But registry with generic maybe overkill.
Alternative:
@dataclass(frozen=True)
class Event:
type: str
data: dict[str, Any]
Handlers:
async def handle_invoice_paid(event: Event) -> None:
if event.type != "invoice.paid": return
...
But typed not perfect.
Maybe use pydantic discriminated union? Not necessary.
Let's write practical module:
- Settings via pydantic BaseSettings? Could include WEBHOOK