速度テスト
Qwen3.8-Flash-Next
RTX 5090 32GB · ninfer · NVFP4
デコード
128tok/s
プリフィル
199tok/s
最初のトークンまでの時間
1,127ms
合計
144tok/s
ピーク VRAM
30.4GB
コンテキスト長
32K
KV 深度
0
バッチサイズ
1
同時実行数
1
消費電力
250W
検証
検証済みラン起動コマンド
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.
モデル
- GPU
- RTX 5090
- 数
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 26.10
エンジン
- エンジン
- ninfer
- Repository
- https://github.com/giveen/ninfer-e…
- Build
- CUDA 13.3, sm_120a, Release, driver 615.71.09
- Commit
- 7d08406d19174245c8205bf216432cd10ecad60b
- 量子化
- NVFP4
- バックエンド
- cuda
- KVキャッシュ
- fp8
- プレフィックスキャッシュ
- はい
- チャンク化プリフィル
- はい
- プリフィルチャンク
- 4096
- Spec decode
- 有効
- MTP
- 有効
実行設定
- コンテキスト
- 32,768 トークン
- 深度
- 0 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 224
- プリフィル tok/s
- 199.2 tok/s
- 消費電力
- 250 W
- 出力トークン
- 512
- メモ
- 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.
投機的デコード
- 手法
- MTP
- ステップあたりの採択数
- 3.39 トークン
- 採択率
- 79%
- ドラフトトークン
- 453
- 採択トークン
- 359
記録された証跡
- プロンプトハッシュ (SHA-256)
- a737db738bd4…
プロンプトサンプル · 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.
出力サンプル · 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