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

स्पीड टेस्ट

Inkling-2-Mini

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

steveseguinसत्यापित1 दिस॰ 2026सत्यापित रन

डिकोड

188tok/s

प्रीफ़िल

679tok/s

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

355ms

कुल

219tok/s

पीक VRAM

—

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

64K

KV गहराई

0

बैच आकार

1

समवर्तीता

1

बिजली खपत

—

सत्यापन

सत्यापित रन

Launch command

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

हार्डवेयर

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

इंजन

इंजन
custom
Version
own-xpu-runtime inkling2 Mega-Win #52
Build
SYCL/ESIMD/XMX, Level Zero, 1x Arc Pro B70 32GB (card 3), Mega-Win #52 (OutQ6StreamR4K M=8, XSmallQSLM L20-23, FXLS skip) + lossless DFlash2 Q8_0, 0-ULP bit-exact
Commit
dde107901b
Quant
UD-IQ4_XS

Run config

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

दर्ज साक्ष्य

प्रॉम्प्ट हैश (SHA-256)
a737db738bd4…
प्रॉम्प्ट नमूना · 826 chars
[LocalMaxxing cache-bust nonce: b896e16d3705075c003f26c8cf8e90d6]
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,603 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.

After code, explain in 2-3 sentences how percentiles 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; 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 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, well-defined for small samples, standard.

Actually for small n, nearest-rank is simpler and avoids inventing values. But linear interpolation is fine and common. I'll explain.

Parsing ISO-8601: `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 vs aware datetimes: if naive, assume UTC? For comparison with --since, need consistent awareness. Approach: parse; if naive, assume UTC (attach timezone.utc). If aware, keep. Compare aware datetimes.

Malformed lines: JSON parse error, missing/invalid fields, wrong types, unknown level? Requirement says level one of DEBUG/INFO/WARN/ERROR. Malformed lines must be counted. What counts as malformed? I'd say: line not valid JSON, or missing required fields, or wrong types, or level not in set, or ts unparseable. Service must be a string. latency_ms if present must be a number (int/float, not bool? bool is instance of int — could exclude bools; keep simple: accept int/float, reject bool maybe). I'll treat bool as invalid? Hmm, keep it simple but robust: `isinstance(x, bool)` reject. Actually maybe just accept numbers; bool is a number in Python. I'll reject bools for cleanliness.

Records with valid ts/level/service but missing latency: counted in level counts, latency ignored.

--since: drop records with ts < since. Records with ts equal to since are kept ("drops earlier records").

Output format: per service, print 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: N`.

Also maybe print services sorted alphabetically for determinism.

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):
        raise ValueError("ts must be a string")
    text = s.strip()
    if text.endswith(('Z', 'z')):
        text = text[:-1] + '+00:00'
    dt = datetime.fromisoformat(text)
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt

def parse_record(line):
    obj = json.loads(line)
    if not isinstance(obj, dict):
    

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