速度测试模型基准评测租用报告硬件解码计算器组织ProAPI文档提交
语言
Actual Computer — Every computer, one endpoint

速度测试

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

finnff已验证2026年9月11日已验证运行

解码

224tok/s

预填充

3.4ktok/s

首个 token 延迟

82ms

总计

280tok/s

峰值 VRAM

57.3GB

上下文长度

256K

KV 深度

0

批大小

1

并发数

1

功耗

625W

验证

已验证运行

启动命令

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 confidence

The 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

模型

GPU
RTX 5090
数量
2
VRAM
32 GB
OS
Ubuntu 24.04.3 LTS

引擎

引擎
sglang
版本
0.0.0.dev331+g0149f56e8 (main@0149f56e + SM120 GEMM pad, flashinfer 0.6.17, torch 2.13.0)
Commit
f28e61e329
量化
NVFP4
后端
cuda
TP
2
GPU mem util
0.86
前缀缓存
是
分块预填
是
预填块
2048
Attn
flashinfer
Spec decode
已启用

运行配置

上下文
262,144 个 token
深度
0 个 token
批量大小
1
提示词 token
282
预填 tok/s
3,407.3 tok/s
功耗
625 W (328 + 297 W)
输出 token
1024
备注
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.

推测解码

方法
DFlash2
每步接受数
3.22 个 token
接受率
32%
草稿 token
2,226
已接受 token
707

已记录的证据

提示词哈希(SHA-256)
a737db738bd4…
提示词样本 · 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.
输出样本 · 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,

该模型在此硬件上的更多运行