Testy szybkościModeleBenchmarkiWynajemRaportySprzętKalkulator dekodowaniaOrganizacjeProDokumentacja APIPrześlij
Język
Actual Computer — Every computer, one endpoint

Test szybkości

Inkling-2-Mini-GGUF

Intel Arc B580 12GB · llama.cpp · b12640 · IQ4_XS

LettrcrafterZweryfikowane23 lis 2026Zweryfikowany przebieg

Dekodowanie

22.9tok/s

Prefill

177tok/s

Czas do pierwszego tokenu

1368ms

Łącznie

27.5tok/s

Szczytowe VRAM

—

Długość kontekstu

16K

Głębokość KV

0

Rozmiar partii

1

Współbieżność

1

Pobór mocy

—

Weryfikacja

Zweryfikowany przebieg

Komenda uruchomienia

VK_LOADER_LAYERS_DISABLE=all GGML_VK_ALLOW_GRAPHICS_QUEUE=1 llama-server -m Inkling-2-Mini-UD-IQ4_XS.gguf -ngl 99 -ot '(token_embd\.weight|blk\.(0|1|2|3|4|5|18|19|20|21|22|23)\.ffn_.*_exps\.)=CPU' --load-mode none --ctx-size 16384 --parallel 1 --cache-type-k q8_0 --cache-type-v q4_1 --batch-size 1024 --ubatch-size 512 -t 12 -C 0xFFF --poll 100

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.

Sprzęt

GPU
Intel Arc B580
Liczba
1
VRAM
12 GB
OS
Windows 11 Pro

Silnik

Silnik
llama.cpp
Wersja
b12640
Build
win-vulkan-x64-driver-101.9175
Commit
56eea9e4b
Quant
IQ4_XS
Warstwy GPU
99
KV cache
q8_0/q4_1
Prefill chunk
512

Konfiguracja uruchomienia

Kontekst
16 384 tokenów
Głębokość
0 tokenów
Rozmiar batcha
1
Tokeny promptu
242
Prefill tok/s
177.0 tok/s
Tokeny wyjściowe
1024
Przesłano przez
lmx v0.1.64 speed-test submit
Notatki
Intel Arc B580 (BMG-G21, ReBAR on, Windows 11 Pro, driver 32.0.101.9175, llama.cpp b12640 Vulkan 1.4 KHR_coopmat). Loop-Core-Pinned hybrid: layers 6-17 in B580 VRAM, token_embd + outer 0-5 & 18-23 experts in RAM (--load-mode none), 12 P-core threads (-t 12 -C 0xFFF --poll 100), -ub 512, q8_0/q4_1 KV.

Zapisane dowody

Hash promptu (SHA-256)
a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 21445da8cfe57277d0bc91e689275931]
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.
Próbka odpowiedzi · 3,840 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 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; implement manually
```

Percentile computation: sort latencies, use nearest-rank or linear interpolation. Common approach: p50/p95 via linear interpolation (like numpy default) or nearest-rank. I'll implement linear interpolation ("type 7" like numpy) or simpler: nearest-rank method. Let me pick linear interpolation on sorted data:

For p in [0,1], index = p * (n - 1); lower = floor(index), upper = ceil(index); value = sorted[lower] + (sorted[upper] - sorted[lower]) * (index - lower). That's the standard "linear interpolation" method (numpy default). Good.

Timestamp parsing: ISO-8601. Python's `datetime.fromisoformat` in 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`, parse both; if one is naive and other aware, that's an error — handle by treating naive as UTC.

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 set, or ts unparseable. I'll count any line that doesn't yield a valid record as malformed. But should a record with valid JSON but missing latency be malformed? No — latency is optional. Missing ts/level/service → malformed. Level not in set → malformed. ts unparseable → malformed. service not a string → malformed. latency present but not a number → malformed? Hmm — could treat as malformed or ignore latency. Safer: if latency_ms present and not a number (bool is instance of int... bool is subclass of int; maybe exclude bools? Keep simple: accept int/float, exclude bool maybe). I'll treat non-numeric latency as malformed? Or just ignore the latency? The spec says "optional latency_ms (number)". A record with latency_ms as a string is arguably malformed. I'll count it as malformed to be strict, or... Actually, let me be careful: "Malformed lines must be counted and reported at the end, never crash the program." The safest interpretation: any line that can't be processed into a valid record counts as malformed. I'll define validation:

- JSON parse error → malformed
- Not an object → malformed
- ts missing/not a string/unparseable → malformed
- level missing/not in {DEBUG, INFO, WARN, ERROR} → malformed
- service missing/not a string/empty → malformed
- latency_ms present and not a real number (int/float, not bool, not NaN/inf?) → malformed. Hmm, NaN/inf: JSON can't represent NaN by default in strict mode but Python's json.loads accepts NaN/Infinity by default. I could reject non-finite. Let's reject non-finite as malformed.

Also `--since` parsing: if --since is invalid, that's a usage error — argparse error or print error and exit non-zero. That's fine; it's not a "malformed line".

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

Więcej przebiegów tego modelu na tym sprzęcie