速度テストモデルベンチマークレンタルレポートハードウェアデコード計算機組織ProAPIドキュメント送信
言語
Actual Computer — Every computer, one endpoint

速度テスト

Inkling-2-Mini

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

steveseguin検証済み2026/12/01検証済みラン

デコード

255tok/s

プリフィル

1.0ktok/s

最初のトークンまでの時間

237ms

合計

298tok/s

ピーク VRAM

—

コンテキスト長

64K

KV 深度

0

バッチサイズ

1

同時実行数

1

消費電力

—

検証

検証済みラン

起動コマンド

# Remote endpoint: http://127.0.0.1:18864  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
数
4
VRAM
32 GB
OS
Ubuntu 24.04.4 LTS

エンジン

エンジン
custom
バージョン
own-xpu-runtime inkling2 Mega-Win #51
Build
SYCL/ESIMD/XMX, Level Zero, 4x Arc Pro B70 128GB TP=4 (32 experts/card, 4.6KiB XSmall3SlmGu+tl=36+flat combine, G2 WO/EJ, OutQ6StreamK, RouterKS5, 4-way prefill, Mega-Win #51 + DFlash2 Q8_0)
Commit
2511afcb8e
量子化
UD-IQ4_XS

実行設定

コンテキスト
65,536 トークン
深度
0 トークン
バッチサイズ
1
プロンプトトークン
243
プリフィル tok/s
1,023.9 tok/s
出力トークン
1024
送信ツール
lmx v0.1.69 speed-test submit

記録された証跡

プロンプトハッシュ (SHA-256)
a737db738bd4…
プロンプトサンプル · 826 chars
[LocalMaxxing cache-bust nonce: 1a1af09aaf437b2d2e4328579eb9d366]
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,945 chars
The user wants a small CLI tool in Python called `logtally`. Requirements:
- Reads newline-delimited JSON 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 from stdin."""

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, well-defined method: sort latencies, compute index = p/100 * (n - 1), interpolate between floor and ceil. That's the "linear interpolation" method (like numpy's default 'linear'). Explain why: smooth, handles small samples reasonably, standard.

Actually for small n, nearest-rank is simpler and robust. But linear interpolation is fine and common. I'll do linear interpolation and 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 timestamps — treat naive as UTC? Or compare carefully. For `--since` comparison, need consistent tz-aware comparison. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If parsed datetime is naive, assume UTC (replace tzinfo=utc). That makes comparisons safe.

Malformed lines: JSON parse errors, missing/invalid fields? Requirement says "Malformed lines must be counted and reported at the end". What counts as malformed? I'd say: line that isn't valid JSON, or JSON that isn't an object, or missing required fields (ts, level, service), or level not in the allowed set, or ts unparseable. Latency: if present but not a number (bool? bool is instance of int — maybe exclude bools? Keep simple: accept int/float, reject bool? Could just accept numbers; bool is a number in Python. I'll treat bool as invalid? Hmm, keep it simple but robust: `isinstance(v, (int, float)) and not isinstance(v, bool)`. That's a nice touch.)

Records with valid ts/level/service but missing latency are fine — latency optional. Records with invalid latency (present but not a number) — is that malformed? Could either count as malformed or ignore latency. I'll treat a present-but-invalid latency as malformed? Hmm. Alternatively, ignore the latency but keep the record. The spec: "optional latency_ms (number)". If present but not a number, the record is arguably malformed. I'll count it as malformed — safer to be strict. Actually, let me think: "Malformed lines must be counted and reported at the end, never crash the program." Malformed lines — a line that fails to parse as JSON is clearly malformed. A line with valid JSON but wrong schema — I'll count as malformed too, since the record doesn't match the expected shape. That's defensible.

Also `--since` drops earlier records — records with ts <= since? "drops earlier records" — earlier than since. So keep records with ts >= since? Or ts > since? "drops earlier records" means records with ts < since are dropped; keep ts >= since. I'll use ts >= since (keep records at or after since). Hmm, "drops earlier records" — earlier than the timestamp. So keep ts >= since. Fine.

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

```
service=api
  DEBUG: 3
  INFO: 10
  WARN

このハードウェアでのこのモデルの他の実行