Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

Inkling-2-Mini

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

steveseguinVerificato1 dic 2026Esecuzione verificata

Decodifica

168tok/s

Prefill

678tok/s

Tempo al primo token

357ms

Totale

196tok/s

VRAM di picco

—

Lunghezza del contesto

64K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

—

Verifica

Esecuzione verificata

Comando di avvio

# Remote endpoint: http://127.0.0.1:18861  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
Conteggio
1
VRAM
32 GB
OS
Ubuntu 24.04.4 LTS

Motore

Motore
custom
Versione
own-xpu-runtime inkling2 Mega-Win #51
Build
SYCL/ESIMD/XMX, Level Zero, 1x Arc Pro B70 32GB (4.6KiB branch-split XSmall3SlmGu, G2 WO, OutQ6StreamK, RouterKS5, 7x parallel DF2 load, Mega-Win #51 + DFlash2 Q8_0)
Commit
2511afcb8e
Quant
UD-IQ4_XS

Configurazione run

Contesto
65.536 token
Profondità
0 token
Dimensione batch
1
Token prompt
241
Prefill tok/s
677.9 tok/s
Token output
1024
Inviato con
lmx v0.1.69 speed-test submit

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di prompt · 826 chars
[LocalMaxxing cache-bust nonce: d4a79bc75f39e83acb4bb6168308863e]
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.
Esempio di output · 3,883 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.

Key design decisions:

1. Parsing ISO-8601 timestamps: `datetime.fromisoformat` in Python 3.7+ handles most ISO-8601, but not "Z" suffix until Python 3.11. To be safe, handle "Z" by replacing with "+00:00". Also handle naive vs aware datetimes: if timestamps are naive and --since is naive, compare fine. If mixed, comparison raises TypeError — must not crash. So normalize: if parsed ts is naive, treat as UTC? Or compare carefully. Simplest robust approach: parse with fromisoformat after replacing trailing Z with +00:00. If the parsed datetime is naive, assume UTC (attach timezone.utc). That makes comparisons consistent. But if the input has naive timestamps and --since has aware, we normalize both to aware UTC. Good.

2. Malformed lines: JSON parse errors, missing/invalid fields, wrong types. Count them. What counts as malformed? Line that fails JSON parse, or record missing ts/level/service, or level not in set, or ts unparseable, or service not a string, or latency not a number (if present). Hmm — should a record with a bad latency be malformed or just ignore latency? Requirement says "optional latency_ms (number)". If present but not a number, that's arguably malformed. I'll treat: missing latency → ignore for latency stats but still count record. Present but non-numeric → malformed? Or count record but ignore latency? Safer: treat non-numeric latency as malformed line? Hmm. Let me think.

Actually, let's define validation:
- Line must parse as JSON object.
- Must have `ts` string parseable as ISO-8601.
- Must have `level` in {DEBUG, INFO, WARN, ERROR}.
- Must have `service` string (non-empty? just string).
- `latency_ms` optional; if present, must be a number (int/float, not bool — bool is instance of int; maybe exclude bools? Could be overkill but nice). If present and not a number → malformed.

Records failing any check → malformed count.

Also `--since`: records with ts < since are dropped (not counted as malformed, just excluded). Should dropped records be reported? Requirement says "drops earlier records" — just exclude. Maybe report count dropped? Not required; keep simple but could print a line. I'll keep output simple: per-service stats, then malformed count. Maybe also print dropped count? Not required; avoid extra. Actually a small note could be fine but keep minimal.

3. Percentile computation: sort latencies, use nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use the "nearest-rank" or "linear interpolation"? Let's pick linear interpolation (type 7, like numpy/Excel) — simple and standard. Or simpler: nearest-rank method: index = ceil(p/100 * n) - 1. Hmm.

Let me pick linear interpolation: given sorted data, rank = (n-1) * p/100; lower = floor(rank); upper = ceil(rank); value = data[lower] + (data[upper]-data[lower]) * (rank - lower). That's the standard "linear" method (numpy default). Explain: smooth, handles small samples, standard.

Alternatively nearest-rank is simpler to explain. Either fine. I'll do linear interpolation and explain.

4. Output format: per service, counts by level (DEBUG/INFO/WARN/ERROR), p50/p95. Format like:

```
service=api

Altri run di questo modello su questo hardware