Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

Qwen3.8-Flash-Next

RTX 5090 32GB · ninfer · NVFP4

jabbatheduckVerificato19 ott 2026Esecuzione verificata

Decodifica

128tok/s

Prefill

199tok/s

Tempo al primo token

1127ms

Totale

144tok/s

VRAM di picco

30,4GB

Lunghezza del contesto

32K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

250W

Verifica

Esecuzione verificata

Comando di avvio

taskset -c 8-23 ./build/apps/ninfer-serve models/Qwen3.8-Flash-NVFP4/qwen3_8_flash_next_nvfp4.ninfer --model-id qwen3.8-flash-next --max-concurrency 1 --max-context 32768 --kv-capacity 32768 --kv-dtype fp8 --expert-cache auto --host-experts 16 --host-expert-share 0.5 --spec mtp --draft-tokens 3

Theoretical memory ceiling

The model doesn't appear to fit in this hardware's recorded memory.

Hardware

GPU
RTX 5090
Conteggio
1
VRAM
32 GB
OS
Ubuntu 26.10

Motore

Motore
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
Quant
NVFP4
Backend
cuda
KV cache
fp8
Prefix caching
sì
Chunked prefill
sì
Chunk prefill
4096
Spec decode
abilitato
MTP
abilitato

Configurazione run

Contesto
32.768 token
Profondità
0 token
Dimensione batch
1
Token prompt
224
Prefill tok/s
199.2 tok/s
Consumo energetico
250 W
Token output
512
Note
Single RTX 5090 (32 GB) running the full Qwen3.8-Flash-Next: routed experts (NVFP4) live in pinned host RAM behind a device expert cache; a share of each decode step's cache misses is computed on 14 E-core threads (AVX-VNNI) instead of fetched over PCIe. Converted from nvidia/Qwen3.8-Flash-Next-NVFP4 with the NInfer qwen3_8_flash_next_nvfp4 recipe: imported NVFP4 routed experts, FP8 n-gram table, Q8 projections, Q8/Q6 vocabulary weights; FP8 KV. Greedy, MTP K=3, one request, server at --max-concurrency 1 with a 32k context so the smaller KV reservation leaves more VRAM to the expert cache. 512 output tokens incl. reasoning. This run is the median of 5 timed runs after 1 warmup (fresh cache-bust nonce per request); the 5 runs gave 133.4-147.9 tok/s on reasoning-v1 and 120.5-135.7 on code-v1. Same-session medians (reasoning / code): --max-concurrency 2 with 256k context 126.8 / 112.1; --max-concurrency 1 with 256k context 129.1 / 111.2. tokSOut/tokSPrefill from the server's llama.cpp-style timings (TTFT client-side). Short ~250-token prompts prefill slowly here because a cold prompt streams experts over PCIe.

Decodifica speculativa

Metodo
MTP
Accettati per passo
3,39 token
Tasso di accettazione
79%
Token di bozza
453
Token accettati
359

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di prompt · 810 chars
[LocalMaxxing cache-bust nonce: 8deb51160a57ef10]
Implement a small command-line tool in Python called `logtally`.

Requirements:
- It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number).
- It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency).
- Malformed lines must be counted and reported at the end, never crash the program.
- Support a `--since <ISO timestamp>` flag that drops earlier records.
- Use only the standard library.

After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
Esempio di output · 1,855 chars
The user wants me to implement a Python command-line tool called `logtally` that:

1. Reads newline-delimited JSON from stdin
2. Each record has: `ts` (ISO-8601), `level` (DEBUG/INFO/WARN/ERROR), `service` (string), optional `latency_ms` (number)
3. Prints per service: count by level, p50 and p95 of latency_ms (ignoring records without latency)
4. Malformed lines counted and reported at end, never crash
5. Support `--since <ISO timestamp>` flag to drop earlier records
6. Standard library only

Then explain percentile computation method and list three edge cases for unit tests.

Let me design this carefully:

- Use `argparse` for `--since` flag
- Use `json` for parsing
- Use `datetime` for ISO-8601 parsing
- For percentiles: I'll use the "nearest-rank" method (also called the "inclusive" method). Sort the latencies, then for p50, index = ceil(0.50 * n) - 1, for p95, index = ceil(0.95 * n) - 1. This is simple, deterministic, and doesn't require interpolation. Actually, let me think about this more carefully.

The nearest-rank method: for percentile p with n sorted values, the rank is ceil(p/100 * n), and you take the value at that rank (1-indexed). So for p50 with 10 values, rank = ceil(5) = 5, take 5th value. For p95 with 10 values, rank = ceil(9.5) = 10, take 10th value.

Alternative: linear interpolation method (like numpy's default). But since we're using stdlib only, nearest-rank is simpler and perfectly valid.

Let me structure the code:

```python
#!/usr/bin/env python3
"""logtally – per-service log summary from NDJSON on stdin."""

import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")

def parse_args():
    parser = argparse.ArgumentParser(description="Tally NDJSON log records per service.")
    parser

Altri run di questo modello su questo hardware