速度測試
Inkling-2-Mini-GGUF
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS
解碼
174tok/s
預填
700tok/s
首個 token 延遲
343ms
總計
203tok/s
峰值 VRAM
—
上下文長度
64K
KV 深度
0
批次大小
1
並行數
1
功耗
—
驗證
已驗證執行啟動命令
# Remote endpoint: http://127.0.0.1:8021 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 #35
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #35 (INK_NVSP=1, INK_Q6C=1, DSpark Q8_0 lossless)
- Commit
- 53a779e27e
- 量化
- UD-IQ4_XS
- Spec decode
- 已啟用
執行設定
- 上下文
- 65,536 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 239
- 預填 tok/s
- 700.0 tok/s
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.69 speed-test submit
- 備註
- b70-optimization-lab custom SYCL/XMX runtime (Win #35, commit 53a779e27e) on 1x Intel Arc Pro B70 32GB with bit-exact lossless DSpark Q8_0 speculative decoding (INK_SPEC=7), code-v1 canonical prompt, 64K context tier. Engine & setup guide: https://github.com/steveseguin/b70-optimization-lab/tree/main/experiments/own-xpu-runtime/inkling2
推測解碼
- 方法
- DSpark
- 每步接受數
- 2.7 個 token
- 接受率
- 73%
- 草稿 token
- 885
- 已接受 token
- 643
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: bb2fa93c90dc400ff73195ffc25b293a] 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,798 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 the end, never crash.
- Support `--since <ISO timestamp>` flag that drops earlier records.
- Standard library only.
Then explain in 2-3 sentences how percentiles were computed and why, then list three edge cases a unit test suite should cover.
Let me design:
```python
#!/usr/bin/env python3
import argparse
import json
import sys
from datetime import datetime, timezone
from statistics import quantiles # maybe not; better to implement manually
```
Percentile computation: common approach — sort values, use nearest-rank or linear interpolation. I'll use linear interpolation (like numpy default) or nearest-rank. Let me pick a simple, well-defined method: sort, then index = (p/100) * (n - 1), interpolate between floor and ceil. That's the "linear interpolation" method (like numpy's default 'linear'). Explain why: smooth, simple, no extra deps, handles small samples reasonably.
Actually for small samples, nearest-rank is simpler and arguably more robust. But linear interpolation is standard. I'll do linear interpolation and explain.
ISO-8601 parsing: `datetime.fromisoformat` in Python 3.7+ handles most ISO formats but not 'Z' suffix (until 3.11). To be safe, handle 'Z' by replacing with '+00:00'. Also handle naive timestamps — treat naive as UTC? Or compare naive with naive. For `--since` comparison, need consistent tz-awareness. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If parsed datetime is naive, assume UTC (replace tzinfo=utc). Then compare.
Malformed lines: JSON parse errors, missing/invalid fields? Requirement says "Malformed lines must be counted and reported at the end". What counts as malformed? I'd say: line that isn't valid JSON, or JSON that isn't an object, or missing required fields (ts, level, service), or level not in the allowed set, or ts unparseable. Records with valid ts/level/service but missing latency are fine (latency optional). Records with latency that's not a number — treat as malformed? Or ignore latency? Hmm. I'll treat a present-but-non-numeric latency as malformed (or maybe just ignore the latency?). Safer: if latency_ms present but not a number (bool excluded? bool is instance of int... could exclude bools), count as malformed. Actually simpler: validate types; anything failing validation → malformed.
Also `--since`: records with ts <= since? "drops earlier records" — drop records with ts < since. Keep ts >= since. I'll use strictly earlier: ts < since → dropped.
Output format: per service, counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 0
latency_ms p50=12.5 p95=45.0 (n=14)
```
Then at end:
```
malformed: 2
```
Maybe also print dropped-by-since count? Not required. Could print "dropped (before --since): N" — optional. Keep it simple but maybe include it; it's helpful. The requirement says malformed counted and reported at the end. I'll report malformed at the end. I could also report dropped count; harmless. Keep minimal but informative.
Sorting services alphabetically for deterministic output.
Implementation:
```python
#!/usr/bin/env python3
"""logtally: summarize newline-delimited JSON logs from stdin."""
import argparse
import json
import sys
from datetime import datetime, timezone
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_ts(s):
if not isinstance(s, str):
此模型在此硬體上的更多執行
- 170tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 160tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS上下文 128K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 101tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS上下文 64K · 深度 0 · 批次 1已驗證執行steveseguin · 2026年11月30日
- 98.9tok/scustom · own-xpu-runtime inkling2, Windows SYCL port · UD-Q4_K_XL上下文 256K · 深度 0 · 批次 1Captain-Tripps · 2026年11月26日
- 79.4tok/scustom · own-xpu-runtime inkling2, Windows SYCL port · UD-Q4_K_XL上下文 256K · 深度 0 · 批次 1已驗證執行Captain-Tripps · 2026年11月27日
