Snelheidstest
Inkling-2-Mini
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS
Decode
199tok/s
Prefill
688tok/s
Tijd tot eerste token
350ms
Totaal
230tok/s
Piek-VRAM
—
Contextlengte
64K
KV-diepte
0
Batchgrootte
1
Gelijktijdigheid
1
Stroomverbruik
—
Verificatie
Geverifieerde runStartcommando
# Remote endpoint: http://127.0.0.1:18853 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.
Hardware
- GPU
- Intel Arc Pro B70
- Aantal
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Engine
- Engine
- custom
- Versie
- own-xpu-runtime inkling2 Mega-Win #53
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, 1x Arc Pro B70 32GB (card 3), Mega-Win #53 (XDensePipe WO_G1_COAL_TAIL + XInPipeM1, ApoRtK<8,false>) + lossless DFlash2 Q8_0, 0-ULP bit-exact
- Commit
- 885aa4e7f9
- Quant
- UD-IQ4_XS
Run config
- Context
- 65.536 tokens
- Diepte
- 0 tokens
- Batchgrootte
- 1
- Prompttokens
- 242
- Prefill tok/s
- 688.4 tok/s
- Outputtokens
- 1024
- Ingediend met
- lmx v0.1.69 speed-test submit
Vastgelegd bewijs
- Prompt-hash (SHA-256)
- a737db738bd4…
Promptvoorbeeld · 826 chars
[LocalMaxxing cache-bust nonce: 3fe2ee4660e2a20d64b0896b4afb2fe2] 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.
Uitvoervoorbeeld · 3,527 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 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, works for small n.
Actually simpler and defensible: nearest-rank method. But linear interpolation is fine and common. Let me implement:
```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])
```
Timestamp parsing: ISO-8601 strings may include 'Z' suffix. Python's datetime.fromisoformat in 3.11+ handles 'Z'. For broader compat, replace 'Z' with '+00:00'. Also handle naive timestamps (assume UTC). Compare aware datetimes; if naive, assume UTC.
```python
def parse_ts(s):
if not isinstance(s, str):
raise ValueError("ts not 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
```
Validation of record:
- Must be a dict.
- ts: parseable ISO timestamp.
- level: one of DEBUG, INFO, WARN, ERROR (maybe case-insensitive? Spec says one of those; I'll accept exact uppercase, maybe normalize? Keep strict but maybe accept case-insensitive and normalize to uppercase — that's a design choice. I'll normalize with .upper() and strip, but count as malformed if not in set after normalization? Hmm. Simpler: require exact match after stripping whitespace and uppercasing? The spec says "level (one of DEBUG, INFO, WARN, ERROR)". I'll accept case-insensitive and normalize, noting it. Actually to keep it simple and predictable, I'll do `level = rec.get('level')`; if not isinstance(level, str) or level.strip().upper() not in LEVELS: malformed. Normalize to uppercase.
- service: non-empty string.
- latency_ms: optional; if present must be a number (int/float, not bool — bool is instance of int; exclude bools). If present and invalid → malformed? Or ignore latency? Spec: "optional latency_ms (number)". If present but not a number, that's a malformed record arguably. I'll treat a present-but-non-numeric latency as malformed (record counted asMeer runs van dit model op deze hardware
- 326tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 317tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 271tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 268tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 265tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 262tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 261tok/scustom · own-xpu-runtime inkling2 Win #49+#50A · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
- 250tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS64K context · 0 diepte · batch 1Geverifieerde runsteveseguin · 1 dec 2026
