速度測試模型基準評測租用報告硬體解碼計算器組織ProAPI文件提交
語言
Actual Computer — Every computer, one endpoint

速度測試

Inkling-2-Mini-GGUF

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

Lettrcrafter已驗證2026年11月23日已驗證執行

解碼

22.9tok/s

預填

177tok/s

首個 token 延遲

1,368ms

總計

27.5tok/s

峰值 VRAM

—

上下文長度

16K

KV 深度

0

批次大小

1

並行數

1

功耗

—

驗證

已驗證執行

啟動命令

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.

模型

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

引擎

引擎
llama.cpp
版本
b12640
Build
win-vulkan-x64-driver-101.9175
Commit
56eea9e4b
量化
IQ4_XS
GPU 層
99
KV 快取
q8_0/q4_1
Prefill chunk
512

執行設定

上下文
16,384 個 token
深度
0 個 token
批次大小
1
提示詞 token
242
預填 tok/s
177.0 tok/s
輸出 token
1024
提交工具
lmx v0.1.64 speed-test submit
備註
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.

已記錄的證據

提示詞雜湊(SHA-256)
a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 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. 

此模型在此硬體上的更多執行