Tests de vitesseModèlesÉvaluations comparativesLocationsRapportsMatérielCalculateur de décodageOrganisationsProDocs APIEnvoyer
Langue
Actual Computer — Every computer, one endpoint

Test de vitesse

Spark-X2.6-4B-CED

Intel Arc Pro B70 32GB · llama.cpp · a0e6dc7 + CED patch · Q4_K_M

darioooooo0oVérifié26 oct. 2026Exécution vérifiée

Décodage

90.9tok/s

Prefill

1.1ktok/s

Délai jusqu'au premier token

289ms

Total

—

VRAM max

—

Longueur de contexte

16K

Profondeur KV

0

Taille de lot

1

Concurrence

1

Consommation

—

Vérification

Exécution vérifiée

Commande de lancement

llama-server -m spark-ced-Q4_K_M.gguf -fa on -c 16384 -np 1 --jinja -ngl 99   (CED two-phase prefill, replay 1024; prompts under 1024 tokens do not show the prefill gain)

Theoretical memory ceiling

227.4–231.3 tok/s

608 GB/s memory bandwidth (spec sheet) · 2.63 GB model weights · 16-bit KV cache · 1–307 tokens of context

39–40%

of the ceiling reached

High confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from XHToken/Spark-X2.6-4B; size from darioooooo0o/Spark-X2.6-4B-CED/spark-ced-Q4_K_M.gguf. Hardware source · Open calculator

Matériel

GPU
Intel Arc Pro B70
Nombre
1
VRAM
32 GB
OS
Fedora 43 (kernel 7.1.8)

Moteur

Moteur
llama.cpp
Version
a0e6dc7 + CED patch
Build
upstream llama.cpp a0e6dc7384 + llama.cpp-ced.patch (in the HF repo) + riceharvest Intel Xe2 Vulkan commits, Mesa Vulkan
Commit
a0e6dc7384edb8f5d927155e1d26c10b4a310e6d
Quant
Q4_K_M
Backend
vulkan
GPU layers
99
Flash Attn
oui

Configuration du run

Contexte
16 384 tokens
Profondeur
0 tokens
Taille de batch
1
Tokens de prompt
307
Prefill tok/s
1,063.7 tok/s
Tokens de sortie
512
Notes
Single request, canonical prompt, greedy, 512 tokens. CED model: prefill gain needs prompts >1k tokens; this prompt is ~280 tokens, so this is a decode/ttft check only.

Preuves capturées

Empreinte du prompt (SHA-256)
a737db738bd4…
Extrait du prompt · 826 chars
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.
[LocalMaxxing cache-bust nonce: 283c1215b4b94d40a35037af0d63949f]
Extrait de sortie · 1,936 chars
<think>
We need to implement a Python CLI tool `logtally`. Let's break down requirements:

1. 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)

2. Output: per service, count of records by level, and p50 and p95 of `latency_ms` (ignore records without latency).

3. Malformed lines must be counted and reported at the end, never crash the program.

4. Support `--since <ISO timestamp>` flag that drops earlier records.

5. Use only standard library.

6. After code, explain in two or three sentences how we computed percentiles and why we chose that method, then list three edge cases a unit test suite should cover.

Let's design the CLI.

We'll use argparse for CLI parsing. The tool name is `logtally`. We'll have a `--since` option.

We need to parse stdin line by line. For each line:
- Try to parse JSON. If fails, increment malformed count.
- Check if record is valid: has required fields? The spec says "Each record has ...", but malformed lines should be counted. So we should validate that the JSON is a dict with required keys? Or just try to parse and if it's not a dict or missing required keys, count as malformed? The spec says "Malformed lines must be counted and reported at the end". So we should count lines that are not valid JSON or don't conform to the expected schema. Let's define valid as: JSON object with keys `ts`, `level`, `service`, and optionally `latency_ms`. But `latency_ms` is optional. So if a line is valid JSON but missing required keys, it's malformed. We'll count those as malformed.

We need to handle `--since` filtering: drop records where `ts` is earlier than the given timestamp. We need to compare ISO-8601 timestamps. We can use `datetime.fromisoformat` (Python 3.7+). But note: ISO-8601 strings might have timezone offsets
</think>

Autres runs de ce modèle sur ce matériel