속도 테스트모델벤치마크렌탈리포트하드웨어디코드 계산기조직ProAPI 문서제출
언어
Actual Computer — Every computer, one endpoint

속도 테스트

Inkling-2-Mini

Intel Arc Pro B70 32GB ×2 · custom · own-xpu-runtime inkling2 Win #49+#50A · UD-IQ4_XS

steveseguin검증됨2026. 12. 1.검증된 실행

디코드

206tok/s

프리필

890tok/s

첫 토큰까지의 시간

272ms

합계

242tok/s

최대 VRAM

—

컨텍스트 길이

64K

KV 깊이

0

배치 크기

1

동시성

1

소비 전력

—

검증

검증된 실행

실행 명령

# Remote endpoint: http://127.0.0.1:18852  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
개수
2
VRAM
32 GB
OS
Ubuntu 24.04.4 LTS

엔진

엔진
custom
버전
own-xpu-runtime inkling2 Win #49+#50A
Build
SYCL/ESIMD/XMX, Level Zero, 2x Arc Pro B70 64GB TP=2 (64 experts/card, XSmall3SLM parallel-K SLM-folded NVFP4 MoE, 7x parallel DFlash2 load, Win #49+#50A + DFlash2 Q8_0)
Commit
5c14b86669
양자화
UD-IQ4_XS

실행 설정

컨텍스트
65,536 토큰
깊이
0 토큰
배치 크기
1
프롬프트 토큰
244
프리필 tok/s
889.5 tok/s
출력 토큰
1024
제출 도구
lmx v0.1.69 speed-test submit

기록된 증거

프롬프트 해시 (SHA-256)
a737db738bd4…
프롬프트 샘플 · 826 chars
[LocalMaxxing cache-bust nonce: 2d995fee7558d63beba1963188d1238b]
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,349 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
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
```

Note: Python 3.7 fromisoformat doesn't parse 'Z', so handle it. Also fromisoformat in 3.11+ handles Z. Handle both.

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:

```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 (same as numpy default 'linear'). Good.

Main loop:

```python
def main():
    parser = argparse.ArgumentParser(description="...")
    parser.add_argument("--since", metavar="ISO_TIMESTAMP", help="drop records with ts earlier than this")
    args = parser.parse_args()

    since = None
    if args.since is not None:
        since = parse_ts(args.since)
        if since is None:
            print(f"logtally: invalid --since timestamp: {args.since!r}", file=sys.stderr)
            return 2  # or exit code
    ...
```

Hmm, should invalid --since be an error? Yes, print error and exit non-zero. That's fine — it's not a malformed log line.

Per-service stats: dict service -> {level counts, latencies list}.

Malformed lines: JSON parse error, missing/invalid fields. What counts as malformed?
- Line not valid JSON → malformed.
- JSON not an object → malformed.
- Missing ts/level/service or wrong types → malformed? Or maybe level invalid → malformed. The spec says each record has ts, level (one of...), service, optional latency_ms. Malformed lines must be counted. I'll treat:
  - JSON decode failure → malformed
  - not a dict → malformed
  - ts missing/unparseable → malformed
  - level missing or not in LEVELS → malformed
  -

이 하드웨어에서 이 모델의 다른 실행