速度測試
Inkling-2-Mini
Intel Arc Pro B70 32GB ×4 · custom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS
解碼
232tok/s
預填
976tok/s
首個 token 延遲
247ms
總計
272tok/s
峰值 VRAM
—
上下文長度
64K
KV 深度
0
批次大小
1
並行數
1
功耗
—
驗證
已驗證執行啟動命令
# Remote endpoint: http://127.0.0.1:18848 servedModel: inkling-2-mini
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
- Intel Arc Pro B70
- 數量
- 4
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
引擎
- 引擎
- custom
- 版本
- own-xpu-runtime inkling2 Win #48
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, 4x Arc Pro B70 128GB TP=4 (32 experts/card, 8-full-app head-parallel attn + 2M-ctx, 1/4 output split, hybrid spin-park WorkerPool, Win #48 + DFlash2 Q8_0)
- Commit
- ad89ab4faf
- 量化
- UD-IQ4_XS
執行設定
- 上下文
- 65,536 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 241
- 預填 tok/s
- 975.5 tok/s
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.69 speed-test submit
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: ec701810fd87872f8774709aef786ad9] 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,793 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.
Let me write the code carefully.
Key design decisions:
- Parse ISO-8601 timestamps. Python's `datetime.fromisoformat` in 3.7-3.10 doesn't handle 'Z' suffix. In 3.11+ it does. To be safe, replace 'Z' with '+00:00'. Also handle naive vs aware datetimes: if timestamps are naive, treat as naive; if aware, compare aware. For `--since`, parse similarly. If a record's ts is unparseable, it's malformed.
- Malformed lines: JSON parse errors, missing/invalid fields, wrong types. Count them.
- Level validation: must be one of DEBUG, INFO, WARN, ERROR. If not, malformed? Or count as malformed. Yes — "Malformed lines must be counted" — a record with an invalid level is malformed.
- 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 present but not a number, malformed? Or ignore latency? Safer: if present and not a number, treat line as malformed. Actually could also just ignore latency. Hmm. Requirement: "optional latency_ms (number)". If present but wrong type, that's a malformed record. I'll treat it as malformed.
- ts: required, must parse. service: required string, non-empty? Just string. level: required, one of the four.
- `--since`: drop records with ts < since. Records with ts equal to since are kept ("drops earlier records").
- Percentile computation: sort latencies, use nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation ("inclusive" method) — simple and standard. Or nearest-rank which is simpler and deterministic. Let me pick linear interpolation on sorted data: rank = (p/100) * (n - 1); interpolate between floor and ceil. That's the "linear" method. Explain why: smooth, standard, avoids coarse jumps with small samples.
Actually, for a small tool, nearest-rank is simpler and arguably more robust for small samples. But linear interpolation is fine and common. I'll do linear interpolation and explain.
Output format: per service, print counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 0
latency_ms p50: 12.5
latency_ms p95: 45.0
```
Then at end: `malformed: N`.
Also handle services with no latency: print "latency_ms p50: n/a" or "no latency data".
Sorting services alphabetically for stable output.
Parsing ISO timestamps: handle 'Z'. Also handle fractional seconds — fromisoformat handles those. Handle offsets. If naive vs aware mismatch when comparing with --since: if record ts is naive and since is aware (or vice versa), comparison raises TypeError. To avoid crash, normalize: if both naive, fine; if one aware one naive, treat naive as UTC? Or treat naive as local? Simplest robust approach: if record ts is naive and since is aware, assume record is UTC (attach UTC). If record aware and since naive, attach UTC to since? Hmm. Alternatively, if comparison fails, treat record as malformed? That could hide issues. Better: normalize naive timestamps to UTC. That's a reasonable documented choice.
Let me write:
```此模型在此硬體上的更多執行
- 326tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 317tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 271tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 268tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 265tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 262tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 261tok/scustom · own-xpu-runtime inkling2 Win #49+#50A · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
- 250tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年12月1日
