速度測試
Inkling-2-Mini
Intel Arc Pro B70 32GB ×2 · custom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS
解碼
230tok/s
預填
879tok/s
首個 token 延遲
274ms
總計
268tok/s
峰值 VRAM
—
上下文長度
64K
KV 深度
0
批次大小
1
並行數
1
功耗
—
驗證
已驗證執行啟動命令
# Remote endpoint: http://127.0.0.1:18852 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
- 數量
- 2
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
引擎
- 引擎
- custom
- 版本
- own-xpu-runtime inkling2 Mega-Win #52
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, 2x Arc Pro B70 64GB TP=2 (64 experts/card, 1/2 output split), Mega-Win #52 (OutQ6StreamR4K M=8, XSmallQSLM L20-23, FXLS skip, cache-line SyncBarrier) + lossless DFlash2 Q8_0
- Commit
- dde107901b
- 量化
- UD-IQ4_XS
執行設定
- 上下文
- 65,536 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 241
- 預填 tok/s
- 879.1 tok/s
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.69 speed-test submit
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 78b01e349ff97e6fcbfb14a77098357b] 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,617 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 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; implement manually
```
Percentile computation: common approach — sort latencies, 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 values, compute 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.
Alternatively nearest-rank: ceil(p/100 * n). Simpler but coarse. 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 vs aware datetimes: if naive, assume UTC? For comparison with --since, need consistent awareness. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If result 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? Lines that fail JSON parsing, or records missing required fields (ts, level, service), or level not in allowed set, or ts unparseable. I'll treat any line that doesn't yield a valid record as malformed. But maybe partial: a record with valid ts/level/service but bad latency? Latency optional; if present but not a number, treat as malformed? Or ignore latency? Safer: if latency present and not a number (bool excluded? bool is instance of int... could exclude bools), count as malformed? Hmm. Simpler: validate required fields; latency if present must be a real number (int/float, not bool); otherwise malformed. That's reasonable.
Also `--since`: drop records with ts < since. Records with ts equal to since are kept ("drops earlier records").
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: N`.
Sort 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):
raise ValueError("ts must be a string")
text = s.strip()
if text.endswith(('Z', 'z')):
text = text[:-1] + '+00:00'
dt = datetime.fromisoformat(text)
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
def parse_record(line):
obj = json.loads此模型在此硬體上的更多執行
- 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日
