Test szybkości
Inkling-2-Mini
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XS
Dekodowanie
182tok/s
Prefill
685tok/s
Czas do pierwszego tokenu
352ms
Łącznie
212tok/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:18021 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.
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 Win #36
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #36 + DFlash2 Q8_0 (incoai/Inkling-2-Mini-DFlash2, lossless)
- Commit
- a3518b1dfb
- Quant
- UD-IQ4_XS
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 65 536 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 241
- Prefill tok/s
- 684.6 tok/s
- Tokeny wyjściowe
- 1024
- Przesłano przez
- lmx v0.1.69 speed-test submit
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 3,72 tokenów
- Współczynnik akceptacji
- 78%
- Tokeny szkicu
- 958
- Zaakceptowane tokeny
- 748
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: f4077366fa760043c92df1c500081dff] 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,431 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.
Then explain in 2-3 sentences how percentiles computed and why, then list three edge cases a unit test suite should cover.
Let me write the code carefully.
Design:
```python
#!/usr/bin/env python3
import argparse
import json
import sys
from datetime import datetime, timezone
VALID_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 we replace it. In 3.11+ it does. Replacing Z with +00:00 works for all versions.
Percentile computation: sort latencies, use nearest-rank or linear interpolation. Common approach: for p-th percentile, index = ceil(p/100 * n) - 1 (nearest-rank), or use linear interpolation (like numpy default). I'll use linear interpolation ("inclusive" method) or nearest-rank. Let me pick nearest-rank or the "linear interpolation" method. Explain: sort values, compute rank = (p/100) * (n - 1), interpolate between floor and ceil. That's the common "linear" method. Or simpler: nearest-rank: index = ceil(p/100 * n) - 1.
I'll do linear interpolation and explain it. Actually for simplicity and determinism, maybe nearest-rank is easier to explain. But linear interpolation is more standard. Let me do:
```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])
```
That's the "linear" method (like numpy default). Good.
Parsing records:
```python
def process_line(line, since, stats):
line = line.strip()
if not line:
return # skip blank lines? Or count as malformed?
```
Hmm — blank lines: should they count as malformed? Probably skip empty lines silently or count as malformed. I'll skip blank lines (common for trailing newline at end of file). Actually, a trailing newline at end of input produces no extra line when iterating, so blank lines are rare. I'll skip empty/whitespace-only lines silently — or count them as malformed? Safer to skip silently; but "Malformed lines must be counted" — a blank line is arguably malformed. I'll count blank lines as malformed? Hmm. Let me just skip blank lines silently and note it. Actually, to be safe, count them as malformed? The spec says malformed lines must be counted and reported. A blank line is not a valid record. I'll count it as malformed to be strict. Hmm, but trailing newline... iterating over stdin lines: "a\Więcej przebiegów tego modelu na tym sprzęcie
- 191tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XSkontekst 128K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 30 lis 2026
- 190tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 30 lis 2026
- 188tok/scustom · own-xpu-runtime inkling2 Win #39 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 30 lis 2026
- 181tok/scustom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XSkontekst 64K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 30 lis 2026
- 172tok/scustom · own-xpu-runtime inkling2 Win #36 · UD-IQ4_XSkontekst 128K · głębokość 0 · partia 1Zweryfikowany przebiegsteveseguin · 30 lis 2026
- 75.9tok/svllm · v0.0.0+inkling2xpu · NVFP4kontekst 272,000 · głębokość 0 · partia 1Zweryfikowany przebiegOpenDyna · 24 lis 2026
- 71.2tok/svllm · v0.0.0+inkling2xpu · NVFP4kontekst 272,000 · głębokość 0 · partia 1Zweryfikowany przebiegOpenDyna · 23 lis 2026
