Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

Inkling-2-Mini

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

steveseguinTerverifikasi1 Des 2026Run terverifikasi

Decode

222tok/s

Prefill

884tok/s

Waktu ke token pertama

272ms

Total

259tok/s

VRAM puncak

—

Panjang konteks

64K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

—

Verifikasi

Run terverifikasi

Luncurkan perintah

# 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.

Hardware

GPU
Intel Arc Pro B70
Menghitung
2
VRAM
32 GB
OS
Ubuntu 24.04.4 LTS

Engine

Engine
custom
Versi
own-xpu-runtime inkling2 Win #47
Build
SYCL/ESIMD/XMX, Level Zero, 2x Arc Pro B70 64GB TP=2 Phase 3 (8-full-app head-parallel attn + 1M-ctx, half-weight -7.2 GiB/card, 2D WG=32 AddConvTail, 48/48 MoE + split w:output, Win #47 + DFlash2 Q8_0)
Commit
10490d6e6b
Quant
UD-IQ4_XS

Jalankan konfigurasi

Konteks
Token 65.536
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
241
Isi awal tok/s
884.1 tok/s
Token keluaran
1024
Dikirim dengan
lmx v0.1.69 speed-test submit

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel prompt · 826 chars
[LocalMaxxing cache-bust nonce: 44c64dbb48ce176d53242024831dbbc5]
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.
Sampel output · 3,808 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 formats, 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, compare naive; if aware, compare aware. Mixed could cause TypeError — need to handle. Simplest: parse with fromisoformat after replacing Z with +00:00. If naive, treat as naive. For `--since`, parse similarly. Comparison: if one is naive and other aware, that raises TypeError. To be robust, we can normalize: if parsed ts is naive, assume UTC? Or if since is aware and ts naive, make ts aware by assuming UTC? Better to handle gracefully: if comparison fails, treat record as malformed? Hmm.

Let me think about robustness. The requirement says malformed lines must be counted and reported, never crash. So any exception during parsing a line should be caught and counted as malformed. For `--since` comparison, if a record's ts can't be parsed, it's malformed. If comparison between aware and naive fails, we could catch and count as malformed too. That's reasonable.

2. Validation: level must be one of DEBUG, INFO, WARN, ERROR. If not, malformed? Or count but... The spec says "Each record has ts, level (one of...), service (string), and optional latency_ms (number)". Malformed lines — I'd define malformed as: not valid JSON, not an object, missing/invalid ts, missing/invalid level, missing/invalid service, or latency_ms present but not a number. Records with valid ts/level/service but missing latency are fine (latency optional).

Should a record with an unknown level be malformed or counted? I'll treat invalid level as malformed since the spec constrains it. Alternatively count it but... simpler to treat as malformed.

3. Percentile computation: nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation on sorted values (the "inclusive" method, like numpy's default 'linear'). Or simpler: nearest-rank method. Let me pick linear interpolation and explain.

Actually, let me think about what's cleanest to implement and explain:

- Sort latencies.
- For percentile p (0-100), compute rank = (p/100) * (n - 1). Interpolate between floor and ceil indices.

That's numpy's default linear method. Explain: smooth, handles small samples, standard.

Alternatively nearest-rank: ceil(p/100 * n). Simpler but coarse for small n. I'll go with linear interpolation.

4. 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)
```

And at end: `malformed: N`.

Should services be sorted? Yes, sorted for deterministic output. Levels in fixed order DEBUG, INFO, WARN, ERROR.

5. `--since` flag: parse ISO timestamp; drop records with ts < since. Records with ts >= since kept. "drops earlier records" — so keep ts >= since.

6. CLI: use argparse. `logtally --since <ISO>`. Read stdin.

7. Never crash: wrap per-line processing in try

Run lain dari model ini di hardware ini