Test szybkości
Inkling-2-Mini
Intel Arc Pro B70 32GB ×2 · custom · own-xpu-runtime inkling2 Win #45 · UD-IQ4_XS
Dekodowanie
225tok/s
Prefill
693tok/s
Czas do pierwszego tokenu
348ms
Łącznie
259tok/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:18847 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
- 2
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Silnik
- Silnik
- custom
- Wersja
- own-xpu-runtime inkling2 Win #45
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, Linux, 2x Arc Pro B70 64GB symmetric lockstep TP=2 (INK_TP2=0,1: 48/48 MoE [0,64)+[64,128) + column-split w:output, 2-thread pageable host staging, Win #45 + calibrated DFlash2 Q8_0 lossless speculative decoding)
- Commit
- c2b0520c2a
- 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
- 692.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: 2018867bd7d1929f7eb1aa0e5421df2e] 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,505 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 method: nearest-rank or linear interpolation. I'll use linear interpolation (like numpy default) or nearest-rank. Let's pick a simple approach: sort latencies, 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, standard.
Parsing ISO-8601: handle 'Z' suffix. Use `datetime.fromisoformat` in Python 3.11+ handles 'Z'. For broader compatibility, replace 'Z' with '+00:00'. Also handle naive timestamps — treat as UTC? Or compare naive with naive. Better: parse, and if naive, assume UTC. For `--since`, parse similarly.
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 invalid level? I'll define: a line is malformed if it's not valid JSON, or not an object, or missing required fields with wrong types, or level not in the set, or ts unparseable. Actually maybe be lenient: count records with missing latency fine (latency optional). Level invalid — treat as malformed? The spec says level is one of DEBUG/INFO/WARN/ERROR. I'll treat invalid level as malformed. Missing service or ts — malformed. Missing latency — fine, just excluded from latency stats.
Also `--since` drops earlier records — records with ts < since are dropped (not counted as malformed, just excluded). Records with unparseable ts are malformed.
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
latency_ms 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 percentile(sorted_vals, p):
if not sorted_vals:
return None
if len(sorted_vals) == 1:
return sorted_vals[0]
rank = (p / 100.0) * (len(sorted_vals) - 1)
lo = int(rank)
hi = lo + 1
frac = rank - lo
if hi >=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
