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

속도 테스트

Inkling-2-Mini

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

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

디코드

189tok/s

프리필

670tok/s

첫 토큰까지의 시간

359ms

합계

219tok/s

최대 VRAM

—

컨텍스트 길이

64K

KV 깊이

0

배치 크기

1

동시성

1

소비 전력

—

검증

검증된 실행

실행 명령

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

엔진

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

실행 설정

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

기록된 증거

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

```python
#!/usr/bin/env python3
import argparse
import json
import sys
from datetime import datetime, timezone
from statistics import quantiles  # maybe not; better to implement manually
```

Percentile method: nearest-rank or linear interpolation. I'll use linear interpolation (like numpy default) or nearest-rank. Let's pick a simple approach: 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, simple, standard.

Actually simpler and defensible: nearest-rank method. But linear interpolation is common. Let me implement linear interpolation.

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 with fromisoformat after replacing trailing 'Z' with '+00:00'. If result is naive, assume UTC (replace tzinfo=timezone.utc). Then compare.

Malformed lines: JSON parse errors, missing/invalid fields? Requirement says "Malformed lines must be counted and reported at the end". What counts as malformed? Lines that fail JSON parsing, or records missing required fields (ts, level, service), or level not in the allowed set, or ts unparseable. I'll treat any record that doesn't validate as malformed. But should a record with valid JSON but missing latency be malformed? No — latency is optional. Missing ts/level/service or invalid level or unparseable ts → malformed.

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

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

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

Then at end: `malformed: N`.

Sort services alphabetically for deterministic output.

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

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