速度測試
Inkling-2-Mini
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XS
解碼
182tok/s
預填
685tok/s
首個 token 延遲
352ms
總計
212tok/s
峰值 VRAM
—
上下文長度
64K
KV 深度
0
批次大小
1
並行數
1
功耗
—
驗證
已驗證執行啟動命令
# Remote endpoint: http://127.0.0.1:18021 servedModel: unsloth/Inkling-2-Mini-GGUF
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
- 數量
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
引擎
- 引擎
- custom
- 版本
- own-xpu-runtime inkling2 Win #36
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #36 + DFlash2 Q8_0 (incoai/Inkling-2-Mini-DFlash2, lossless)
- Commit
- a3518b1dfb
- 量化
- UD-IQ4_XS
- Spec decode
- 已啟用
執行設定
- 上下文
- 65,536 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 241
- 預填 tok/s
- 684.6 tok/s
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.69 speed-test submit
推測解碼
- 方法
- DFlash2
- 每步接受數
- 3.72 個 token
- 接受率
- 78%
- 草稿 token
- 958
- 已接受 token
- 748
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: f4077366fa760043c92df1c500081dff] 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,431 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.
Then 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.
Design:
```python
#!/usr/bin/env python3
import argparse
import json
import sys
from datetime import datetime, timezone
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_ts(s):
# handle trailing Z
if isinstance(s, str) and s.endswith(('Z', 'z')):
s = s[:-1] + '+00:00'
dt = datetime.fromisoformat(s)
if dt.tzinfo is None:
# assume UTC? Or treat naive as UTC
dt = dt.replace(tzinfo=timezone.utc)
return dt
```
Note: `datetime.fromisoformat` in Python 3.7-3.10 doesn't parse 'Z', so we replace it. In 3.11+ it does. Replacing Z with +00:00 works for all versions.
Percentile computation: sort latencies, use nearest-rank or linear interpolation. Common approach: for p-th percentile, index = ceil(p/100 * n) - 1 (nearest-rank), or use linear interpolation (like numpy default). I'll use linear interpolation ("inclusive" method) or nearest-rank. Let me pick nearest-rank or the "linear interpolation" method. Explain: sort values, compute rank = (p/100) * (n - 1), interpolate between floor and ceil. That's the common "linear" method. Or simpler: nearest-rank: index = ceil(p/100 * n) - 1.
I'll do linear interpolation and explain it. Actually for simplicity and determinism, maybe nearest-rank is easier to explain. But linear interpolation is more standard. Let me do:
```python
def percentile(sorted_vals, p):
if not sorted_vals:
return None
if len(sorted_vals) == 1:
return sorted_vals[0]
k = (p / 100.0) * (len(sorted_vals) - 1)
lo = int(k)
hi = lo + 1
frac = k - lo
if hi >= len(sorted_vals):
return sorted_vals[-1]
return sorted_vals[lo] + frac * (sorted_vals[hi] - sorted_vals[lo])
```
That's the "linear" method (like numpy default). Good.
Parsing records:
```python
def process_line(line, since, stats):
line = line.strip()
if not line:
return # skip blank lines? Or count as malformed?
```
Hmm — blank lines: should they count as malformed? Probably skip empty lines silently or count as malformed. I'll skip blank lines (common for trailing newline at end of file). Actually, a trailing newline at end of input produces no extra line when iterating, so blank lines are rare. I'll skip empty/whitespace-only lines silently — or count them as malformed? Safer to skip silently; but "Malformed lines must be counted" — a blank line is arguably malformed. I'll count blank lines as malformed? Hmm. Let me just skip blank lines silently and note it. Actually, to be safe, count them as malformed? The spec says malformed lines must be counted and reported. A blank line is not a valid record. I'll count it as malformed to be strict. Hmm, but trailing newline... iterating over stdin lines: "a\此模型在此硬體上的更多執行
- 191tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XS上下文 128K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 190tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 188tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 181tok/scustom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 172tok/scustom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XS上下文 128K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 75.9tok/svllm · v0.0.0+inkling2xpu · NVFP4上下文 272,000 · 深度 0 · 批次 1已驗證執行OpenDyna · 2026年11月24日
- 71.2tok/svllm · v0.0.0+inkling2xpu · NVFP4上下文 272,000 · 深度 0 · 批次 1已驗證執行OpenDyna · 2026年11月23日
