ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
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 ธ.ค. 2569การรันที่ตรวจสอบแล้ว

Decode

174tok/s

Prefill

682tok/s

เวลาถึงโทเค็นแรก

357ms

รวม

203tok/s

VRAM สูงสุด

—

ความยาวบริบท

64K

ความลึก KV

0

ขนาด batch

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

Engine

Engine
custom
เวอร์ชัน
own-xpu-runtime inkling2 Mega-Win #52
Build
SYCL/ESIMD/XMX, Level Zero, 1x Arc Pro B70 32GB (card 1), 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
241
Prefill tok/s
681.5 tok/s
Output tokens
1024
ส่งด้วย
lmx v0.1.69 speed-test submit

หลักฐานที่บันทึกไว้

แฮชพรอมป์ต์ (SHA-256)
a737db738bd4…
ตัวอย่างพรอมป์ต์ · 826 chars
[LocalMaxxing cache-bust nonce: 230cf11f751a6a3e1eee713e7d581b74]
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,749 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, 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, simple, no extra deps, handles small samples reasonably.

Actually for p95 with small samples, nearest-rank is also defensible. I'll go with 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 vs aware datetimes: if naive, assume UTC? Need consistent comparison with --since. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If result is naive, assume UTC (replace tzinfo=timezone.utc). Then compare.

Validation:
- Line must be valid JSON object.
- `ts` must parse as ISO-8601.
- `level` must be one of DEBUG, INFO, WARN, ERROR (case-sensitive? Spec says one of those; I'll accept exact uppercase, maybe case-insensitive? Keep strict but maybe normalize? I'll require exact match after stripping? Let's be strict: must be exactly one of the four; otherwise malformed. Actually could be lenient: uppercase it. Hmm. The spec: "level (one of DEBUG, INFO, WARN, ERROR)". Malformed lines must be counted. I'll treat anything else as malformed. Maybe accept case-insensitive by uppercasing? That could mask errors. I'll do exact match but strip whitespace? Keep simple: value must be in set; else malformed.
- `service` must be a non-empty string.
- `latency_ms` optional; if present must be a number (int/float, not bool — bool is instance of int; exclude bools). If present but not a number → malformed? Or ignore latency? Spec says optional latency_ms (number). If present and not a number, that's a malformed record arguably. I'll treat non-numeric latency as malformed line. Hmm, alternatively ignore latency. Safer: malformed. Actually, let me think: "Malformed lines must be counted and reported at the end" — a line with latency_ms: "abc" is malformed. Yes.
- ts missing/unparseable → malformed.
- service missing/not string → malformed.
- level missing/invalid → malformed.
- Extra fields: ignore.

--since: parse same way; records with ts < since are dropped (not counted as malformed; they're just excluded). Should dropped records be reported? Spec doesn't say; just drop. Maybe count dropped? Not required. Keep simple, maybe mention.

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 ms
  latency_ms p95: 45.0 ms
```

If no latency records: "

Runs อื่นของโมเดลนี้บนฮาร์ดแวร์นี้