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

Uji kecepatan

Inkling-2-Mini

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

steveseguinTerverifikasi30 Nov 2026Run terverifikasi

Decode

182tok/s

Prefill

685tok/s

Waktu ke token pertama

352ms

Total

212tok/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: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.

Hardware

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

Engine

Engine
custom
Versi
own-xpu-runtime inkling2 Win #36
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
Dekode spesifikasi
aktif

Jalankan konfigurasi

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

Decoding spekulatif

Metode
DFlash2
Diterima per langkah
3,72 token
Tingkat penerimaan
78%
Token draf
958
Token diterima
748

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel prompt · 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.
Sampel output · 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\

Run lain dari model ini di hardware ini