Teste de velocidade
Inkling-2-Mini
Intel Arc Pro B70 32GB ×4 · custom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XS
Decode
250tok/s
Prefill
1.0ktok/s
Tempo até o primeiro token
235ms
Total
292tok/s
VRAM de pico
—
Tamanho do contexto
64K
Profundidade KV
0
Tamanho do lote
1
Concorrência
1
Consumo de energia
—
Verificação
Execução verificadaComando de inicialização
# Remote endpoint: http://127.0.0.1:18854 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.
Hardware
- GPU
- Intel Arc Pro B70
- Quantidade
- 4
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Engine
- Engine
- custom
- Versão
- own-xpu-runtime inkling2 Mega-Win #52
- Repository
- https://github.com/steveseguin/b70…
- Build
- SYCL/ESIMD/XMX, Level Zero, 4x Arc Pro B70 128GB TP=4 (32 experts/card, head-parallel attn + 1/4 output split), Mega-Win #52 (OutQ6StreamR4K M=8, XSmallQSLM L20-23, FXLS skip, 256-bit AVX2 4-rank reduce + cache-line SyncBarrier) + lossless DFlash2 Q8_0
- Commit
- dde107901b
- Quant
- UD-IQ4_XS
Configuração da execução
- Contexto
- 65.536 tokens
- Profundidade
- 0 tokens
- Tamanho do batch
- 1
- Tokens de prompt
- 242
- Prefill tok/s
- 1,028.9 tok/s
- Tokens de saída
- 1024
- Enviado com
- lmx v0.1.69 speed-test submit
Evidências capturadas
- Hash do prompt (SHA-256)
- a737db738bd4…
Amostra do prompt · 826 chars
[LocalMaxxing cache-bust nonce: 487873edc17def3d76432c262a6598f3] 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.
Amostra de saída · 3,769 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.
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 write the code.
Key design decisions:
- Parse ISO-8601 timestamps. Python's `datetime.fromisoformat` in 3.7-3.10 doesn't handle 'Z' suffix. In 3.11+ it does. To be safe, replace 'Z' with '+00:00'. Also handle naive vs aware datetimes — mixing naive and aware raises TypeError on comparison. Strategy: normalize — if naive, assume UTC? Or treat naive as UTC. For `--since` comparison, parse both and compare. If one is naive and other aware, we can normalize: if naive, attach UTC. That's a reasonable approach.
- Malformed lines: JSON parse errors, missing/invalid fields? "Malformed lines must be counted and reported at the end" — I'll count lines that fail JSON parsing or fail validation (missing ts/level/service, invalid level, invalid ts, latency not a number). Actually, should a record with missing latency be malformed? No — latency is optional. Missing latency is fine.
What counts as malformed? Let's define: line fails JSON decode, or is not an object, or missing/invalid ts, level not in set, service not a string (or missing). latency_ms if present must be a number (int/float, not bool? bool is instance of int — could exclude bools, but that's pedantic; maybe accept numbers, reject bools? Keep simple: accept int/float, reject bool maybe. I'll reject bools as non-numeric? Hmm, keep it simple but robust: `isinstance(v, bool)` → malformed? Actually a latency of `true` is weird. I'll treat bool as invalid. Or just accept int/float. Let me be careful but not overengineer.)
Also `ts` invalid → malformed. `level` invalid → malformed. `service` missing or not a string → malformed.
- `--since`: drop records with ts < since. Records with ts equal to since are kept ("drops earlier records").
- Percentile computation: 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 which is simpler and deterministic. Let me pick linear interpolation on sorted data: rank = (p/100) * (n - 1); interpolate between floor and ceil. That's the "linear" method used by numpy/statistics. Actually Python's `statistics.quantiles` uses exclusive method by default. I'll implement linear interpolation manually.
Alternatively nearest-rank: ceil(p/100 * n). Simpler to explain. Either is fine. I'll do linear interpolation and explain.
- Output format: per service, counts by level (DEBUG/INFO/WARN/ERROR), p50/p95. Print something like:
```
service: api
DEBUG: 3
INFO: 10
WARN: 2
ERROR: 1
latency_ms p50: 12.5
latency_ms p95: 45.0
```
And at end: `malformed: N`.
Sort services alphabetically for deterministic output.
- CLI: argparse with `--since`. Read stdin.
Edge cases for tests:
1. Malformed lines (bad JSON, missing fields, invalid level) counted and don't crash.
2. Records without latency_ms excluded from percentile calc but still counted in level counts.
3. `--since` filtering with timezone-aware timestamps (e.g., 'Z' suffix) and naive timestamps.
4. Empty input / no records → no services, malMais execuções deste modelo neste hardware
- 326tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 317tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 271tok/scustom · own-xpu-runtime inkling2 Win #48 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 268tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 265tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 262tok/scustom · own-xpu-runtime inkling2 Mega-Win #53 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 261tok/scustom · own-xpu-runtime inkling2 Win #49+#50A · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 255tok/scustom · own-xpu-runtime inkling2 Mega-Win #51 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
- 249tok/scustom · own-xpu-runtime inkling2 Mega-Win #52 · UD-IQ4_XScontexto 64K · profundidade 0 · lote 1Execução verificadasteveseguin · 1 de dez. de 2026
