Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

Inkling-2-Mini

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

steveseguinĐã xác minh1 thg 12, 2026Lượt chạy đã xác minh

Decode

249tok/s

Prefill

882tok/s

Thời gian đến token đầu tiên

274ms

Tổng

289tok/s

VRAM đỉnh

—

Độ dài ngữ cảnh

64K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

—

Xác minh

Lượt chạy đã xác minh

Lệnh khởi chạy

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

Phần cứng

GPU
Intel Arc Pro B70
Số lượng
2
VRAM
32 GB
OS
Ubuntu 24.04.4 LTS

Engine

Engine
custom
Phiên bản
own-xpu-runtime inkling2 Mega-Win #51
Build
SYCL/ESIMD/XMX, Level Zero, 2x Arc Pro B70 64GB TP=2 (64 experts/card, 4.6KiB XSmall3SlmGu, G2 WO, OutQ6StreamK, RouterKS5, Mega-Win #51 + DFlash2 Q8_0)
Commit
2511afcb8e
Quant
UD-IQ4_XS

Cấu hình chạy

Context
65.536 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
242
Prefill tok/s
881.7 tok/s
Output tokens
1024
Gửi bằng
lmx v0.1.69 speed-test submit

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 826 chars
[LocalMaxxing cache-bust nonce: a600531b18a96447d303f35a6b1d265c]
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.
Mẫu đầu ra · 3,405 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
"""logtally - summarize newline-delimited JSON logs."""
import argparse
import json
import sys
from datetime import datetime, timezone

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")

def parse_ts(s):
    # ISO-8601; handle trailing Z
    if isinstance(s, str):
        t = s.strip()
        if t.endswith(('Z', 'z')):
            t = t[:-1] + '+00:00'
        try:
            dt = datetime.fromisoformat(t)
        except ValueError:
            return None
        if dt.tzinfo is None:
            # assume UTC? or treat naive as UTC
            dt = dt.replace(tzinfo=timezone.utc)
        return dt
    return None
```

Percentile: sort latencies, use nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation ("inclusive" method) — simple and standard. Or nearest-rank. Let me pick linear interpolation on sorted values:

```python
def percentile(sorted_vals, p):
    if not sorted_vals:
        return None
    if len(sorted_vals) == 1:
        return sorted_vals[0]
    # rank = p/100 * (n - 1)
    rank = (p / 100.0) * (len(sorted_vals) - 1)
    lo = int(rank)
    hi = lo + 1
    frac = rank - 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 interpolation" method (like numpy default 'linear'). Good.

Parsing records:
- Line must be valid JSON object.
- ts parseable; level in LEVELS; service a non-empty string; latency_ms optional number (int/float, not bool — bool is instance of int; maybe exclude bools? Could treat bool as invalid. Keep simple: accept int/float, reject bool maybe. I'll reject bools to be safe? Actually bool is a number in Python; JSON true parses to True. Treating True as latency 1 would be weird. I'll exclude bools.)
- Malformed: JSON parse error, not an object, missing/invalid ts, invalid level, missing/invalid service. What about invalid latency_ms (e.g., string)? That's malformed too? Requirement says "optional latency_ms (number)". If present but not a number, that's malformed — count as malformed. I'll treat present-but-invalid latency as malformed.

--since: parse ISO timestamp; drop records with ts < since. Records with unparseable ts are malformed anyway.

Output format: per service, counts by level and p50/p95. Something like:

```
service=api
  DEBUG: 3
  INFO: 10
  WARN: 1
  ERROR: 2
  latency_ms p50=12.5 p95=45.0 (n=14)
```

Then at end: `malformed: N`.

Sort services alphabetically for deterministic output.

Handle --since parse failure: error message and exit non-zero? That's a CLI usage error, fine to exit with error. Or treat

Các lượt chạy khác của mô hình này trên phần cứng này