Testes de velocidadeModelosAvaliações comparativasAluguéisRelatóriosHardwareCalculadora de decodeOrganizaçõesProDocs da APIEnviar
Idioma
Actual Computer — Every computer, one endpoint

Teste de velocidade

Qwen3.8-Flash-Next

RTX 5090 32GB · ninfer · NVFP4

jabbatheduckVerificado19 de out. de 2026Execução verificada

Decode

128tok/s

Prefill

199tok/s

Tempo até o primeiro token

1.127ms

Total

144tok/s

VRAM de pico

30,4GB

Tamanho do contexto

32K

Profundidade KV

0

Tamanho do lote

1

Concorrência

1

Consumo de energia

250W

Verificação

Execução verificada

Comando de inicialização

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
Quantidade
1
VRAM
32 GB
OS
Ubuntu 26.10

Engine

Engine
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
Quant
NVFP4
Backend
cuda
KV cache
fp8
Cache de prefixo
sim
Prefill em chunks
sim
Chunk de prefill
4096
Spec decode
ativado
MTP
ativado

Configuração da execução

Contexto
32.768 tokens
Profundidade
0 tokens
Tamanho do batch
1
Tokens de prompt
224
Prefill tok/s
199.2 tok/s
Consumo de energia
250 W
Tokens de saída
512
Notas
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ção especulativa

Método
MTP
Aceitos por etapa
3,39 tokens
Taxa de aceitação
79%
Tokens de rascunho
453
Tokens aceitos
359

Evidências capturadas

Hash do prompt (SHA-256)
a737db738bd4…
Amostra do 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.
Amostra de saída · 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

Mais execuções deste modelo neste hardware