Test szybkości
Inkling-2-Mini
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XS
Dekodowanie
186tok/s
Prefill
676tok/s
Czas do pierwszego tokenu
358ms
Łącznie
217tok/s
Szczytowe VRAM
—
Długość kontekstu
64K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
# Remote endpoint: http://127.0.0.1:18851 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.
Sprzęt
- GPU
- Intel Arc Pro B70
- Liczba
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Silnik
- Silnik
- custom
- Wersja
- 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 1), 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
Konfiguracja uruchomienia
- Kontekst
- 65 536 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 242
- Prefill tok/s
- 675.8 tok/s
- Tokeny wyjściowe
- 1024
- Przesłano przez
- lmx v0.1.69 speed-test submit
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 829012c0366924f1d3790ccc04226a84] 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.
Próbka odpowiedzi · 3,460 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
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 handle that. In 3.11+ it does. Handle both.
Percentile: 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. Let me pick linear interpolation:
```python
def percentile(sorted_vals, p):
if not sorted_vals:
return None
if len(sorted_vals) == 1:
return sorted_vals[0]
# rank = p/100 * (n - 1)
rank = (p / 100.0) * (len(sorted_vals) - 1)
lo = int(rank)
hi = min(lo + 1, len(sorted_vals) - 1)
frac = rank - lo
return sorted_vals[lo] * (1 - frac) + sorted_vals[hi] * frac
```
That's the "linear interpolation" method (same as numpy default 'linear'). Good.
Parsing records:
- Line empty/whitespace → malformed? Probably count as malformed or skip silently. I'll count blank lines as malformed? Hmm. "Malformed lines must be counted and reported at the end" — blank lines could be counted as malformed. I'll count them as malformed (or skip). Safer: count blank lines as malformed? Actually a trailing newline at end of file produces no extra line with `for line in sys.stdin`. Blank lines in the middle — count as malformed. I'll do that.
- JSON parse error → malformed.
- Not an object → malformed.
- Missing/invalid ts → malformed? Or maybe ts invalid → malformed. Yes.
- level not in set → malformed? Or count as malformed. The spec says each record has level one of... Malformed lines — I'd treat missing/invalid level as malformed. But maybe better to be lenient: count records with unknown level as malformed. Yes.
- service missing/not string → malformed.
- latency_ms: 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? Hmm. Spec: "optional latency_ms (number)". If present but wrong type, that's a malformed record. I'll treat it as malformed. Actually, could also treat as record with no latency. Safer to count as malformed since the record is invalid. Hmm, but "ignore records without latency" — a record with latency_ms: "abc" is malformed. I'll count as malformed.
Więcej przebiegów tego modelu na tym sprzęcie
- 326tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 317tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 271tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 268tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 265tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 262tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 261tok/scustom · own-xpu-runtime inkling2 Win #49+#50A · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
- 250tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 1 gru 2026
