Testy szybkościModeleBenchmarkiWynajemRaportySprzętKalkulator dekodowaniaOrganizacjeProDokumentacja APIPrześlij
Język
Actual Computer — Every computer, one endpoint

Test szybkości

Inkling-2-Mini-GGUF

Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS

steveseguinZweryfikowane30 lis 2026Zweryfikowany przebieg

Dekodowanie

174tok/s

Prefill

700tok/s

Czas do pierwszego tokenu

343ms

Łącznie

203tok/s

Szczytowe VRAM

—

Długość kontekstu

64K

Głębokość KV

0

Rozmiar partii

1

Współbieżność

1

Pobór mocy

—

Weryfikacja

Zweryfikowany przebieg

Komenda uruchomienia

# Remote endpoint: http://127.0.0.1:8021  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 #35
Build
SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #35 (INK_NVSP=1, INK_Q6C=1, DSpark Q8_0 lossless)
Commit
53a779e27e
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
239
Prefill tok/s
700.0 tok/s
Tokeny wyjściowe
1024
Przesłano przez
lmx v0.1.69 speed-test submit
Notatki
b70-optimization-lab custom SYCL/XMX runtime (Win #35, commit 53a779e27e) on 1x Intel Arc Pro B70 32GB with bit-exact lossless DSpark Q8_0 speculative decoding (INK_SPEC=7), code-v1 canonical prompt, 64K context tier. Engine & setup guide: https://github.com/steveseguin/b70-optimization-lab/tree/main/experiments/own-xpu-runtime/inkling2

Dekodowanie spekulatywne

Metoda
DSpark
Akceptowane na krok
2,7 tokenów
Współczynnik akceptacji
73%
Tokeny szkicu
885
Zaakceptowane tokeny
643

Zapisane dowody

Hash promptu (SHA-256)
a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: bb2fa93c90dc400ff73195ffc25b293a]
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,798 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 were 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; better to implement manually
```

Percentile computation: common approach — sort values, 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, then 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.

Actually for small samples, nearest-rank is simpler and arguably more robust. But linear interpolation is standard. 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 timestamps — treat naive as UTC? Or compare naive with naive. For `--since` comparison, need consistent tz-awareness. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If parsed datetime 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? I'd say: line that isn't valid JSON, or JSON that isn't an object, or missing required fields (ts, level, service), or level not in the allowed set, or ts unparseable. Records with valid ts/level/service but missing latency are fine (latency optional). Records with latency that's not a number — treat as malformed? Or ignore latency? Hmm. I'll treat a present-but-non-numeric latency as malformed (or maybe just ignore the latency?). Safer: if latency_ms present but not a number (bool excluded? bool is instance of int... could exclude bools), count as malformed. Actually simpler: validate types; anything failing validation → malformed.

Also `--since`: records with ts <= since? "drops earlier records" — drop records with ts < since. Keep ts >= since. I'll use strictly earlier: ts < since → dropped.

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: 2
```

Maybe also print dropped-by-since count? Not required. Could print "dropped (before --since): N" — optional. Keep it simple but maybe include it; it's helpful. The requirement says malformed counted and reported at the end. I'll report malformed at the end. I could also report dropped count; harmless. Keep minimal but informative.

Sorting 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):
    

Więcej przebiegów tego modelu na tym sprzęcie