速度テストモデルベンチマークレンタルレポートハードウェアデコード計算機組織ProAPIドキュメント送信
言語
Actual Computer — Every computer, one endpoint

速度テスト

Spark-X2.6-4B-CED

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

darioooooo0o検証済み2026/10/26検証済みラン

デコード

90.9tok/s

プリフィル

1.1ktok/s

最初のトークンまでの時間

289ms

合計

—

ピーク VRAM

—

コンテキスト長

16K

KV 深度

0

バッチサイズ

1

同時実行数

1

消費電力

—

検証

検証済みラン

起動コマンド

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

モデル

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

エンジン

エンジン
llama.cpp
バージョン
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
量子化
Q4_K_M
バックエンド
vulkan
GPUレイヤー
99
Flash Attn
はい

実行設定

コンテキスト
16,384 トークン
深度
0 トークン
バッチサイズ
1
プロンプトトークン
307
プリフィル tok/s
1,063.7 tok/s
出力トークン
512
メモ
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.

記録された証跡

プロンプトハッシュ (SHA-256)
a737db738bd4…
プロンプトサンプル · 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]
出力サンプル · 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>

このハードウェアでのこのモデルの他の実行