Kiểm tra tốc độ
Inkling-2-Mini-GGUF
Intel Arc Pro B70 32GB · custom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XS
Decode
174tok/s
Prefill
700tok/s
Thời gian đến token đầu tiên
343ms
Tổng
203tok/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 minhLệnh khởi chạy
# Remote endpoint: http://127.0.0.1:8021 servedModel: unsloth/Inkling-2-Mini-GGUF
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
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Engine
- Engine
- custom
- Phiên bản
- own-xpu-runtime inkling2 Win #35
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, Linux, 1x Arc Pro B70 32GB, Win #35 (INK_NVSP=1, INK_Q6C=1, DSpark Q8_0 lossless)
- Commit
- 53a779e27e
- Quant
- UD-IQ4_XS
- Spec decode
- bật
Cấu hình chạy
- Context
- 65.536 tokens
- Độ sâu
- 0 tokens
- Kích thước batch
- 1
- Prompt tokens
- 239
- Prefill tok/s
- 700.0 tok/s
- Output tokens
- 1024
- Gửi bằng
- lmx v0.1.69 speed-test submit
- Ghi chú
- b70-optimization-lab custom SYCL/XMX runtime (Win #35, commit 53a779e27e) on 1x Intel Arc Pro B70 32GB with bit-exact lossless DSpark Q8_0 speculative decoding (INK_SPEC=7), code-v1 canonical prompt, 64K context tier. Engine & setup guide: https://github.com/steveseguin/b70-optimization-lab/tree/main/experiments/own-xpu-runtime/inkling2
Giải mã suy đoán
- Phương pháp
- DSpark
- Được chấp nhận mỗi bước
- 2,7 token
- Tỷ lệ chấp nhận
- 73%
- Token nháp
- 885
- Token được chấp nhận
- 643
Bằng chứng đã ghi
- Mã băm prompt (SHA-256)
- a737db738bd4…
Mẫu prompt · 826 chars
[LocalMaxxing cache-bust nonce: bb2fa93c90dc400ff73195ffc25b293a] 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,798 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 the end, never crash.
- Support `--since <ISO timestamp>` flag that drops earlier records.
- Standard library only.
Then explain in 2-3 sentences how percentiles were 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 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 small samples, nearest-rank is simpler and arguably more robust. But linear interpolation is standard. I'll do linear interpolation and explain.
ISO-8601 parsing: `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 naive with naive. For `--since` comparison, need consistent tz-awareness. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If parsed datetime is naive, assume UTC (replace tzinfo=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? 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. Records with valid ts/level/service but missing latency are fine (latency optional). Records with latency that's not a number — treat as malformed? Or ignore latency? Hmm. I'll treat a present-but-non-numeric latency as malformed (or maybe just ignore the latency?). Safer: if latency_ms present but not a number (bool excluded? bool is instance of int... could exclude bools), count as malformed. Actually simpler: validate types; anything failing validation → malformed.
Also `--since`: records with ts <= since? "drops earlier records" — drop records with ts < since. Keep ts >= since. I'll use strictly earlier: ts < since → dropped.
Output format: per service, counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 0
latency_ms p50=12.5 p95=45.0 (n=14)
```
Then at end:
```
malformed: 2
```
Maybe also print dropped-by-since count? Not required. Could print "dropped (before --since): N" — optional. Keep it simple but maybe include it; it's helpful. The requirement says malformed counted and reported at the end. I'll report malformed at the end. I could also report dropped count; harmless. Keep minimal but informative.
Sorting 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):
Các lượt chạy khác của mô hình này trên phần cứng này
- 170tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XSNgữ cảnh 64K · độ sâu 0 · batch 1Lượt chạy đã xác minhsteveseguin · 30 thg 11, 2026
- 160tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XSNgữ cảnh 128K · độ sâu 0 · batch 1Lượt chạy đã xác minhsteveseguin · 30 thg 11, 2026
- 101tok/scustom · own-xpu-runtime inkling2 Win #35 · UD-IQ4_XSNgữ cảnh 64K · độ sâu 0 · batch 1Lượt chạy đã xác minhsteveseguin · 30 thg 11, 2026
- 98.9tok/scustom · own-xpu-runtime inkling2, Windows SYCL port · UD-Q4_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Captain-Tripps · 26 thg 11, 2026
- 79.4tok/scustom · own-xpu-runtime inkling2, Windows SYCL port · UD-Q4_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhCaptain-Tripps · 27 thg 11, 2026
