Тесты скоростиМоделиБенчмаркиАрендаОтчётыОборудованиеКалькулятор декодированияОрганизацииProДокументация APIОтправить
Язык
Actual Computer — Every computer, one endpoint

Тест скорости

Qwen3.8-Flash-Next

RTX 5090 32GB · ninfer · NVFP4

jabbatheduckПроверено19 окт. 2026 г.Проверенный запуск

Декодирование

114tok/s

Prefill

187tok/s

Время до первого токена

1 189мс

Всего

123tok/s

Пиковая VRAM

30,3ГБ

Длина контекста

256K

Глубина KV

0

Размер батча

1

Параллелизм

1

Энергопотребление

256Вт

Проверка

Проверенный запуск

Команда запуска

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 2 --max-context 262144 --kv-capacity 262144 --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.

Оборудование

GPU
RTX 5090
Количество
1
VRAM
32 GB
OS
Ubuntu 26.10

Движок

Движок
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
Квант
NVFP4
Backend
cuda
KV cache
fp8
Prefix caching
да
Chunked prefill
да
Prefill chunk
4096
Spec decode
включено
MTP
включено

Конфигурация запуска

Контекст
262 144 токенов
Глубина
0 токенов
Batch size
1
Prompt tokens
222
Prefill tok/s
187.2 tok/s
Потребляемая мощность
256 W
Output tokens
1024
Заметки
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 allows 2), 1024 output tokens incl. reasoning. tokSOut/tokSPrefill/TTFT 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.

Спекулятивное декодирование

Метод
MTP
Принято за шаг
Токенов: 3,29
Доля принятых
76 %
Черновые токены
933
Принятые токены
711

Сохранённые данные

Хеш промпта (SHA-256)
a737db738bd4…
Пример промпта · 810 chars
[LocalMaxxing cache-bust nonce: e9aafa2341db1cd2]
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.
Пример вывода · 3,395 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 stdlib only, nearest-rank is simpler and more predictable.

Actually, let me use the "exclusive" method or the standard nearest-rank. I'll go with nearest-rank: index = ceil(p * n) - 1 (0-indexed). For p=0.5, n=10: ceil(5)-1 = 4 (5th element). For p=0.95, n=10: ceil(9.5)-1 = 9 (10th element).

Wait, let me reconsider. The standard nearest-rank: rank = ceil(p/100 * n). For p=50, n=10: ceil(5) = 5. For p=95, n=10: ceil(9.5) = 10. Then take the value at that rank (1-indexed).

I'll implement it as: sorted_latencies[ceil(p * n) - 1] where p is 0.5 or 0.95.

Edge cases to handle:
- Empty latency list (no records with latency for a service)
- Single record
- All malformed lines
- Records with missing fields
- `--since` filtering

Let me write clean, well-structured code.

For the output format, I'll print something like:
```
service: auth-service
  DEBUG: 10
  INFO: 50
  WARN: 3
  ERROR: 1
  latency_ms p50: 42.5
  latency_ms p95: 120.0
```

Let me write the code now.


```python
#!/usr/bin/env python3
"""logtally – aggregate newline-delimited JSON log records from 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(argv=None):
    parser = argparse.ArgumentParser(
        prog="logtally",
        description="Tally log records by service, level, and latency percentiles.",
    )
    parser.add_argument(
        "--since",
        metavar="ISO_TIMESTAMP",
        help="Drop records whose ts is earlier than this ISO-8601 timestamp.",
    )
    return parser.parse_args(argv)


def parse_iso(ts_str):
    """Parse an ISO-8601 string into a timezone-aware datetime (UTC assumed if naive)."""
    dt = datetime.fromisoformat(ts_str)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


def percentile(sorted_values, p):
    """Nearest-rank percentile on a pre-sorted list.

    rank = ceil(p * n), 1-indexed.  Returns None for

Другие запуски этой модели на этом оборудовании