速度测试
Inkling-2-Mini
RTX 5090 32GB ×2 · sglang · v0.0.0.dev1+inkling2 · NVFP4
解码
441tok/s
预填充
3.5ktok/s
首个 token 延迟
68ms
总计
485tok/s
峰值 VRAM
—
上下文长度
256K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
已验证运行启动命令
SGLANG_OPT_INKLING2_VERIFY_REL_BIAS_KERNEL=1 SGLANG_OPT_DSV41_DSPARK_MID_FOLD=1 SGLANG_OPT_DSV41_DSPARK_PREPARE_INPUTS_ONCE=1 SGLANG_OPT_DSV41_DSPARK_SKIP_PREFILLED_INPUTS=1 sglang serve --model-path thinkingmachines/Inkling-2-Mini --served-model-name inkling-2-mini --tp 2 --ep 2 --attention-backend fa4 --dtype bfloat16 --page-size 128 --context-length 262144 --max-running-requests 6 --mem-fraction-static 0.86 --grammar-backend xgrammar --reasoning-parser inkling --tool-call-parser inkling2 --swa-full-tokens-ratio 0.05 --mamba-full-memory-ratio 0.04 --schedule-policy lpm --enable-hierarchical-cache --hicache-ratio 2 --hicache-write-policy write_through --speculative-algorithm DSPARK --speculative-num-draft-tokens 8 --disable-prefill-cuda-graph --enable-multimodal --enable-metrics --enable-cache-report --sleep-on-idle
Theoretical memory ceiling
This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.
模型
- GPU
- RTX 5090
- 数量
- 2
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.3 LTS
引擎
- 引擎
- sglang
- 版本
- 0.0.0.dev1+inkling2
- Build
- lmsysorg/sglang:inkling-2-mini
- Commit
- 03fde9cc392a5f84a54a365635ffed0061cdf1b8
- 量化
- NVFP4
- TP
- 2
- GPU mem util
- 0.86
- 前缀缓存
- 是
- 最大运行序列数
- 6
- Attn
- fa4
- Spec decode
- 已启用
运行配置
- 上下文
- 262,144 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 240
- 预填 tok/s
- 3,543.8 tok/s
- 输出 token
- 2048
- 提交工具
- lmx dev speed-test submit
- 备注
- 2x RTX 5090, TP2/EP2 over PCIe P2P, lmsysorg/sglang:inkling-2-mini image plus two small local patches (sm120 attn_res memory fix, verify-kernel limit 48). Greedy, cold prefill (nonce per request); best of 3 runs, each the median of 7 x 2,048 tokens. Draft/accepted counts are from the last timed request (440.5 t/s).
推测解码
- 方法
- dspark
- 每步接受数
- 3.74 个 token
- 接受率
- 39%
- 草稿 token
- 3,829
- 已接受 token
- 1,503
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 826 chars
[LocalMaxxing cache-bust nonce: 4dde21857868eccb2217b729c09a949a] 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.
输出样本 · 4,000 chars
The user wants a small CLI tool in Python called `logtally`. Requirements:
- Reads newline-delimited JSON log records from stdin.
- Each record has `ts` (ISO-8601 string), `level` (one of 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 counted and reported at end, never crash.
- Support `--since <ISO timestamp>` flag that drops earlier records.
- Standard library only.
After code, explain in 2-3 sentences how percentiles computed and why, then list three edge cases a unit test suite should cover.
Need to be careful: "never crash the program" — malformed lines counted. But what about missing ts? Malformed. What about ts unparseable? Malformed. What about level not in set? Hmm — is that malformed or just counted? Requirement says each record has level one of DEBUG, INFO, WARN, ERROR. Malformed lines must be counted. I'd treat invalid level as malformed (or maybe count as malformed). Let's define: a line is malformed if JSON parse fails, or not an object, or missing/invalid ts, or missing/invalid service, or missing/invalid level. latency_ms optional; if present must be a number (int/float, not bool? bool is instance of int — could exclude bools; keep simple: accept int/float, reject bool maybe). If latency present but not a number — treat as malformed? Or ignore latency? Safer: if latency_ms present and not a number, count line as malformed? Hmm. Alternatively treat as record with no latency. The spec: "optional latency_ms (number)". If present but wrong type, that's malformed. I'll count as malformed.
Percentile method: nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation on sorted values (like "inclusive" method). Explain: sort latencies, compute rank = p/100 * (n-1), interpolate between floor and ceil. Why: simple, standard, smooth, no extra deps.
ISO-8601 parsing: Python 3.7+ fromisoformat handles most, but not 'Z' suffix (until 3.11). Handle 'Z' by replacing with '+00:00'. Also handle fractional seconds. Use datetime.fromisoformat after replacing Z. Naive vs aware: if ts has no timezone, treat as naive; comparing naive with aware raises TypeError. Handle by normalizing: if parsed ts is naive, assume UTC? Or compare only if same awareness. Simpler: if ts is naive, attach UTC? But then --since with naive timestamp... Let's normalize: parse; if naive, assume UTC (replace tzinfo=timezone.utc). If aware, keep. Then --since parsed the same way. That avoids comparison errors.
--since flag: drop records with ts < since. "drops earlier records" — records earlier than since are dropped. Equal kept.
Output format: per service, counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 2
latency p50: 12.5 ms
latency p95: 45.0 ms
```
And at end: `malformed:
…
{'counts': {l: 0 for l in LEVELS}, 'latencies': []})
entry['counts'][level] += 1
if latency is not None:
entry['latencies'].append(latency)
except (ValueError, TypeError, json.JSONDecodeError):
malformed += 1
```
Wait: json.JSONDecodeError is subclass of ValueError, so catching ValueError suffices. But parse_ts raises ValueError; rec.get('ts') could be None → parse_ts raises ValueError. Good.
Blank lines: skip silently or count malformed? Blank line is arguably malformed. I'll skip empty lines silently — or count as malformed? "Malformed lines must be counted" — a blank line is arguably malformed. Hmm. Safer to count blank lines as malformed? Many log parsers skip blanks. I'll skip blank lines silently and mention it. Actually to be safe, count them as malformed? The spec doesn't say. I'll skip blank lines (common convention) — but then "malformed lines must be counted" — blank lines aren't really "lines" with content. I'该模型在此硬件上的更多运行
- 526tok/scustom · v0.5.6 · NVFP4上下文 256K · 深度 0 · 批大小 1已验证运行匿名 · 2026年11月24日
- 489tok/scustom · v0.5.5 · NVFP4上下文 2K · 深度 0 · 批大小 1已验证运行Thomukas1 · 2026年11月23日
- 481tok/scustom · v0.5.6 · NVFP4上下文 256K · 深度 0 · 批大小 1已验证运行匿名 · 2026年11月24日
- 414tok/ssglang · v0.0.0.dev1+inkling2 · NVFP4上下文 256K · 深度 0 · 批大小 1已验证运行finnff · 2026年11月21日
- 392tok/ssglang · v0.0.0.dev1+inkling2 · NVFP4上下文 256K · 深度 0 · 批大小 1finnff · 2026年11月21日
