速度テスト
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
RTX 5090 32GB · ninfer · NVFP4
デコード
257tok/s
プリフィル
1.7ktok/s
最初のトークンまでの時間
134ms
合計
348tok/s
ピーク VRAM
24.5GB
コンテキスト長
4K
KV 深度
0
バッチサイズ
1
同時実行数
1
消費電力
321W
検証
検証済みラン起動コマンド
taskset -c 8-23 ./build/apps/ninfer-serve models/lightning_30b_nvfp4_dflash.ninfer --model-id lightning-30b --port 18080 --max-concurrency 1 --max-context 4096 --kv-capacity 4096 --kv-dtype bf16
Theoretical memory ceiling
1,185.2–1,194.6 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–226 tokens of context
22–22%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
モデル
- 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キャッシュ
- bf16
- プレフィックスキャッシュ
- はい
- チャンク化プリフィル
- はい
実行設定
- コンテキスト
- 4,096 トークン
- 深度
- 0 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 226
- プリフィル tok/s
- 1,700.4 tok/s
- 消費電力
- 321 W
- 出力トークン
- 512
- メモ
- This run: plain decode (no speculation), range over 5 runs 257.2-257.6 tok/s. Single RTX 5090, whole model resident. NInfer nemotron_lightning_30b recipe from nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4: imported NVFP4 routed experts, FP8 row-scaled projections, BF16 elsewhere; BF16 KV. One request, greedy, 512 output tokens. Each submission is the median of 5 timed runs after 1 warmup (fresh cache-bust nonce per request). Same-session medians (reasoning-v1 / code-v1): plain decode 257.4 / 257.4; DFlash K=7 304.2 / 234.4; K=5 280.6 / 229.4; K=9 280.7 / 221.9. The NVIDIA DFlash drafter accepts 0.37-0.49 of its drafts on code-v1, so speculation loses to plain decode there and the code-v1 submission is the plain-decode run. --max-context 4096: this engine's plain-DFlash draft sizes its attention window to the request context, which its attention op caps at 4096 (the same cap applies to the plain run for comparability). tokSOut/tokSPrefill from the server's llama.cpp-style timings, TTFT client-side.
記録された証跡
- プロンプトハッシュ (SHA-256)
- a737db738bd4…
プロンプトサンプル · 810 chars
[LocalMaxxing cache-bust nonce: cbfc73480c40ed70] 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.
出力サンプル · 2,049 chars
Here's a thinking process:
1. **Analyze the Requirements:**
- Command-line tool in Python called `logtally`
- Reads newline-delimited JSON log records from stdin
- Each record has: `ts` (ISO-8601 string), `level` (DEBUG, INFO, WARN, ERROR), `service` (string), optional `latency_ms` (number)
- Prints per service: count of records by level, and 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 2-3 sentences how percentiles were computed and why that method was chosen
- List three edge cases a unit test suite should cover
2. **Design the Python Script:**
- Use `argparse` for CLI args, including `--since`
- Read from `sys.stdin`
- Parse each line as JSON, handle malformed lines gracefully
- Track: per service, level counts, latency values (with service association)
- Filter by `--since` using ISO-8601 comparison (can compare strings directly if format is consistent, or use `datetime.fromisoformat`)
- Compute p50 and p95 per service from collected latency values
- Output format: need to decide on a reasonable format. Let's think: per service, level counts, p50/p95 latency. Maybe something like:
```
service_name:
DEBUG: count
INFO: count
WARN: count
ERROR: count
latency p50: value ms
latency p95: value ms
```
Or more compact. I'll design a clear format.
- Malformed line counting: increment a counter, skip the line
- `--since` filter: parse the timestamp, compare with each record's `ts`
- Only standard library: `argparse`, `sys`, `json`, `datetime`, `statistics` (or manual percentile calculation), `collections`
Percentile calculation: I need to decide on a method. Common approaches:
- Linear interpolation between order statistics (like numpy's default `method='linear'`)
