Test di velocità
Qwen3.8-27B-NVFP4-BF16-LMHead
RTX 5090 32GB ×2 · sglang · v0.0.0.dev331+g0149f56e8 (main@0149f56e + SM120 GEMM pad, flashinfer 0.6.17, torch 2.13.0) · NVFP4
Decodifica
224tok/s
Prefill
3.4ktok/s
Tempo al primo token
82ms
Totale
280tok/s
VRAM di picco
57,3GB
Lunghezza del contesto
256K
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
625W
Verifica
Esecuzione verificataComando di avvio
NCCL_MIN_NCHANNELS=16 sglang serve --model-path RadixArk/Qwen3.8-27B-NVFP4-BF16-LMHead --trust-remote-code --tp-size 2 --mem-fraction-static 0.86 --attention-backend flashinfer --chunked-prefill-size 2048 --page-size 16 --mamba-full-memory-ratio 0.35 --mamba-radix-cache-strategy extra_buffer_lazy --max-mamba-cache-size 24 --mamba-ssm-dtype bfloat16 --cuda-graph-max-bs 16 --cuda-graph-max-bs-prefill 32 --enable-hierarchical-cache --hicache-ratio 2 --hicache-write-policy write_through --schedule-policy lpm --speculative-algorithm DFLASH --speculative-draft-model-path incoai/Qwen3.8-27B-DFlash2 --speculative-num-draft-tokens 8 --speculative-draft-kv-cache-dtype fp8_e4m3 --reasoning-parser qwen3 --tool-call-parser qwen3_coder --enable-metrics --enable-cache-report --sleep-on-idle --host 0.0.0.0 --port 30000
Theoretical memory ceiling
766.4–769.5 tok/s
3,584 GB/s memory bandwidth (spec sheet) · 14.00 GB model weights · 16-bit KV cache · 1–282 tokens of context
Includes speculative decoding: 3.22 tokens accepted per model step on average (238.0–239.0 steps/s) · measured 69.4 steps/s
29–29%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from RadixArk/Qwen3.8-27B-NVFP4-BF16-LMHead; size from NVFP4 estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX 5090
- Conteggio
- 2
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.3 LTS
Motore
- Motore
- sglang
- Versione
- 0.0.0.dev331+g0149f56e8 (main@0149f56e + SM120 GEMM pad, flashinfer 0.6.17, torch 2.13.0)
- Repository
- https://github.com/finnff/sglang
- Commit
- f28e61e329
- Quant
- NVFP4
- Backend
- cuda
- TP
- 2
- GPU mem util
- 0.86
- Prefix caching
- sì
- Chunked prefill
- sì
- Chunk prefill
- 2048
- Attn
- flashinfer
- Spec decode
- abilitato
Configurazione run
- Contesto
- 262.144 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 282
- Prefill tok/s
- 3,407.3 tok/s
- Consumo energetico
- 625 W (328 + 297 W)
- Token output
- 1024
- Note
- Canonical code-v1 prompt, cold prefill (cache-bust nonce per request), best of 4 runs, each the median of 5 x 1024 tok. Dual RTX 5090 TP=2, SGLang main@0149f56e + SM120 GEMM pad (github.com/finnff/sglang/commit/ea399a381b), FlashInfer 0.6.17, DFlash2 draft, PCIe P2P + custom all-reduce. DFlash2 acceptance is prompt-dependent, so not directly comparable to our 512-tok synthetic-prompt rows.
Decodifica speculativa
- Metodo
- DFlash2
- Accettati per passo
- 3,22 token
- Tasso di accettazione
- 32%
- Token di bozza
- 2226
- Token accettati
- 707
Evidenze acquisite
- Hash del prompt (SHA-256)
- a737db738bd4…
Esempio di prompt · 760 chars
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.
Esempio di output · 3,993 chars
We need answer user's request. Need implement Python CLI tool logtally. Need code then explanation 2-3 sentences how percentiles computed and why, then list three edge cases unit test suite should cover. Need likely provide complete code. Need think through requirements. We need produce final with code. Need ensure standard library only. Reads newline-delimited JSON from stdin. Each record has ts ISO-8601, level one of DEBUG INFO WARN ERROR, service string, optional latency_ms number. Prints per service count of records by level and p50 p95 of latency_ms ignore records without latency. Malformed lines counted and reported at end, never crash. Support --since <ISO timestamp> drops earlier records. Use stdlib. Need decide output format. Not specified. We can choose clear. Maybe: service: DEBUG: n INFO: n WARN: n ERROR: n p50_latency_ms: value or n/a p95_latency_ms: value or n/a malformed_lines: n Need parse ISO-8601. Python 3.11 fromisoformat supports Z? In 3.11 yes. But to be safe, replace 'Z' with '+00:00'. Need handle naive vs aware? --since ISO timestamp. If record ts naive and since aware, comparison TypeError. Need robust. Could parse and normalize? Requirement says ISO-8601. Could assume consistent? But edge cases. We can make parse_timestamp: fromisoformat after replacing Z. If naive, assume UTC? But if since naive, compare naive. If one aware one naive, can't compare. We can normalize naive to UTC? But if input naive, maybe local? Better: treat naive as UTC for comparison? But if since aware, convert naive to UTC. If since naive, convert aware to UTC? But if aware non-UTC, converting to UTC changes. Could define: parse to datetime; if naive, assume UTC. If aware, convert to UTC. Then all comparable. That is reasonable. But if user provides since with offset, we convert to UTC. If record with offset, convert to UTC. If naive, assume UTC. This may be okay. Need mention? Code can do. Malformed lines: what counts? Empty lines? Newline-delimited JSON. Should empty lines be malformed? Could skip blank lines? Requirement malformed lines counted. A blank line is not valid JSON, but maybe trailing newline shouldn't count. We can treat empty/whitespace-only lines as ignored? But "malformed lines must be counted" maybe any line that fails. If stdin ends with newline, splitlines doesn't produce empty final. If there are blank lines, count malformed. But maybe tests expect blank lines ignored? Need choose. Could count non-empty? Let's think. Newline-delimited JSON: each line a record. Empty line is malformed. But trailing newline not a line. Using sys.stdin.read().splitlines() will not count final empty. If input has blank line between, count malformed. Good. Need validate fields: ts parseable, level in set, service string. latency_ms optional number. If latency_ms present but null? Optional. If null, ignore? JSON null is not number. Should record be malformed? It says optional latency_ms (number). If present null, maybe malf … Not specified. Could accept any number. If NaN/Infinity? JSON standard doesn't allow, but Python json accepts NaN, Infinity. Should we reject? Could reject non-finite? Maybe not necessary. But percentiles with NaN? Could break. Use math.isfinite? If not finite, malformed? Good. Need percentiles. Need choose method. Could use linear interpolation (numpy default / Excel PERCENTILE.INC). For p50 median. For p95. Need compute on sorted latencies. Formula: rank = p/100 * (n - 1); lower = floor(rank); frac = rank - lower; if lower == n-1 return sorted[lower]; else return sorted[lower] + frac*(sorted[lower+1]-sorted[lower]). This is common. Need explain 2-3 sentences. Or use nearest-rank? Simpler. Which method? Need choose. Linear interpolation is standard and smooth. For small samples, p95 with n=1 returns value. Good. Need output sorted by service? Probably deterministic. Sort services. Counts by level fixed order. If no records? Print nothing? malformed count at end. If no valid records,
Altri run di questo modello su questo hardware
- 315tok/ssglang · v0.0.0.dev331+g0149f56e8 (main@0149f56e + SM120 GEMM pad, flashinfer 0.6.17, torch 2.13.0) · NVFP4Contesto 256K · profondità 0 · batch 1Esecuzione verificatafinnff · 11 set 2026
- 227tok/ssglang · v0.0.0.dev331+g0149f56e8 (main@0149f56e + SM120 GEMM pad, flashinfer 0.6.17, torch 2.13.0) · NVFP4Contesto 256K · profondità 0 · batch 1finnff · 11 set 2026
- 196tok/ssglang · v0.0.0.dev331+g0149f56e8 (main@0149f56e, flashinfer 0.6.17, torch 2.13.0) · NVFP4Contesto 256K · profondità 0 · batch 1finnff · 25 ago 2026
- 184tok/ssglang · v0.0.0.dev331+g0149f56e8 (main@0149f56e, flashinfer 0.6.17, torch 2.13.0) · NVFP4Contesto 256K · profondità 0 · batch 1finnff · 25 ago 2026
