速度測試
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
RTX 5090 32GB · ninfer · NVFP4
解碼
257tok/s
預填
1.7ktok/s
首個 token 延遲
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
- Prefix caching
- 是
- Chunked prefill
- 是
執行設定
- 上下文
- 4,096 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 226
- 預填 tok/s
- 1,700.4 tok/s
- 功耗
- 321 W
- 輸出 token
- 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'`)
