स्पीड टेस्टमॉडलबेंचमार्करेंटलरिपोर्टहार्डवेयरडिकोड कैलकुलेटरसंगठनProAPI दस्तावेज़सबमिट करें
भाषा
Actual Computer — Every computer, one endpoint

स्पीड टेस्ट

Inkling-2-Mini

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

steveseguinसत्यापित30 नव॰ 2026सत्यापित रन

डिकोड

190tok/s

प्रीफ़िल

689tok/s

पहले टोकन तक का समय

351ms

कुल

221tok/s

पीक VRAM

—

कॉन्टेक्स्ट लंबाई

64K

KV गहराई

0

बैच आकार

1

समवर्तीता

1

बिजली खपत

—

सत्यापन

सत्यापित रन

Launch command

# Remote endpoint: http://127.0.0.1:18841  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.

हार्डवेयर

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

इंजन

इंजन
custom
Version
own-xpu-runtime inkling2 Win #39
Build
SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #39 (df2fast + xmx_esimd_m28 + MR=8 fused EjTail + df2_lm_head R=2) + DFlash2 Q8_0 (incoai/Inkling-2-Mini-DFlash2, lossless)
Commit
0cafe6a303
Quant
UD-IQ4_XS

Run config

Context
65,536 tokens
गहराई
0 tokens
Batch size
1
Prompt tokens
242
Prefill tok/s
688.7 tok/s
Output tokens
1024
इसके ज़रिए सबमिट किया गया
lmx v0.1.69 speed-test run

दर्ज साक्ष्य

प्रॉम्प्ट हैश (SHA-256)
a737db738bd4…
प्रॉम्प्ट नमूना · 826 chars
[LocalMaxxing cache-bust nonce: 218fdef96a71f472e20426f8f624629e]
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.
आउटपुट नमूना · 3,791 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, treat as naive; if aware, compare aware. For `--since`, parse similarly. If a record's ts is unparseable, count as malformed.

2. Malformed lines: JSON parse errors, missing/invalid fields (ts, level, service), wrong types. Level must be one of DEBUG/INFO/WARN/ERROR — if not, malformed? Or count as malformed. The spec says "Malformed lines must be counted and reported at the end". I'll treat lines that fail JSON parsing, or fail validation (missing ts/level/service, wrong types, invalid level) as malformed. 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? Safer: if latency_ms present but not a number (bool is instance of int... hmm, bool is subclass of int; JSON true would parse to True which is instance of int. Should we reject booleans? Could be a nice touch but maybe overkill. I'll reject booleans as non-numeric to be strict? Actually, let's keep it simple but robust: accept int/float but not bool. That's a reasonable strictness. Or just accept numbers. I'll reject bools — it's a small detail. Actually, let me keep it simple: `isinstance(v, (int, float)) and not isinstance(v, bool)`.

3. Percentile computation: nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation ("inclusive" method, like numpy's default 'linear'). Explain: sort latencies, compute rank = p/100 * (n-1), interpolate between floor and ceil. Why: smooth, standard, avoids coarse jumps with small samples; nearest-rank is simpler but coarse. Either is defensible. I'll pick linear interpolation and explain.

4. Output format: per service, counts by level (DEBUG/INFO/WARN/ERROR), p50/p95. Then malformed count at end. Also maybe a summary of total records. Let's design output:

```
service=api
  DEBUG: 3
  INFO: 10
  WARN: 1
  ERROR: 0
  latency_ms p50: 12.5
  latency_ms p95: 45.0
```

And at end:

```
malformed: 2
```

Maybe also total records processed. Keep it simple.

Sorting services alphabetically for deterministic output.

5. `--since` flag: parse ISO timestamp; drop records with ts < since. Records with ts equal to since are kept ("drops earlier records"). If --since is unparseable, that's a usage error — exit with error message? The requirement says malformed lines never crash; the flag itself is a CLI arg, so erroring out with a clear message is fine. Use argparse.

6. Naive vs aware comparison: if record ts is naive and since is aware (or vice versa), comparison raises TypeError. Handle: normalize — if since is aware and record ts is naive, assume record ts is UTC? Or treat naive as UTC. Simplest robust approach: if both naive, compare directly. If one aware and other naive, assume naive is UTC (

इस हार्डवेयर पर इस मॉडल के और runs