Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
975d72e6bb | ||
|
|
38b0e9a345 |
No files matched your search
@@ -5,3 +5,7 @@ logs/
|
||||
.betterbench/
|
||||
.cache/
|
||||
.discord_webhook
|
||||
lfm3/quant/gptq_baked/pylib/
|
||||
lfm3/quant/calib/hf_cache/
|
||||
lfm3/quant/calib/*.pt
|
||||
lfm3/quant/pylib/
|
||||
+166
@@ -982,3 +982,169 @@ Phase 2 (video) not started — waiting for your OK.
|
||||
Backup of the previous config: /etc/llama-swap/config.yaml.bak-pre-lfm3-vl. Verified via :8080: watch-reload clean,
|
||||
cold start 2m46s, `XPUW8A16FP8LinearKernel` for `Fp8PtpcOnlineLinearMethod`, weights 2.24 GiB, newspaper photo →
|
||||
"The New York Times", "MEN WALK ON MOON"; alias `lfm3-1.7b` → "17*23" = 391.
|
||||
|
||||
## Round 6 — GPTQ INT4 baked + INT8 embed (2026-10-30)
|
||||
|
||||
Goal: `LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8` after the recipe of Wrapzii/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8
|
||||
(itself after Launch80/Qwen3.8-27B-GPTQ-Int4-baked): GPTQ INT4 body, GPTQ INT4 lm_head stored on disk, INT8 embedding.
|
||||
Branch `lfm3-round6-gptq-baked`, scripts in `quant/gptq_baked/`, image `lfm3-vllm-xpu:v0.32.0-lfm3-baked`.
|
||||
Checkpoint: `/models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8` (the model library is mounted read-only, see the end of this section).
|
||||
|
||||
### Step 0 — reference recipe
|
||||
| | Launch80 (v1/v2) | Wrapzii (Swift 1.5) |
|
||||
|---|---|---|
|
||||
| body | GPTQ INT4 (GPTQModel 7.3.2: sym, g128, desc_act false, act_group_aware, damp 0.05), from SergiioB / MikeCaldera | **AutoRound** INT4 g128 sym (UkisAI), GPTQ metadata + g_idx added |
|
||||
| lm_head + 8 MTP linears | GPTQ INT4 sym g128, no act-order, damp 1%, Hessian Σxᵀx of the lm_head input captured *in vLLM* with the INT4 body (256 wikitext prompts × 128 generated tok), every 64th row held out | same tool (B65 `bake_gptq_resume.py`), 128 × 384-token wikitext prompts + 64 generated, TP2 |
|
||||
| storage | GPTQ `qweight [K/8,N]`, fp16 scales, qzeros 0x77777777, g_idx k//128; separate `model-bake-int4.safetensors`; dense tensors removed; `lm_head: true` | same + `model-embed-int8.safetensors` side file |
|
||||
| embedding | FP16 | INT8 per-row absmax/127, fp16 scales, loaded by a vLLM patch of `vocab_parallel_embedding.py` |
|
||||
| head error GPTQ vs RTN | 3.6% vs 7.6% | 3.5% vs 7.6% |
|
||||
|
||||
### Step 1 — format and tools
|
||||
- **vLLM 0.32 already has an INT8 embedding path, but only for compressed-tensors:** `CompressedTensorsEmbeddingWNA16Int`
|
||||
(Triton gather that dequantizes only the looked-up rows; INT 2–8 bit, channel/group). GPTQ format has none. compressed-tensors
|
||||
also handles `ParallelLMHead` as a linear (→ the same `XPUwNa16LinearKernel` as the body). → **Checkpoint in compressed-tensors
|
||||
pack-quantized format** (body, head and embedding in one `model.safetensors`, stock vLLM loaders). The GPTQ algorithm is the
|
||||
same as the references; only the file layout differs.
|
||||
- **Body tool: llm-compressor 0.15.0** (+ compressed-tensors 0.20.1, `pip install --no-deps --target quant/gptq_baked/pylib`; the
|
||||
image's own CT 0.17 loads the result). GPTQModel 7.7 has LFM2 but no LFM3 definition and replays layer-0 kwargs like AutoRound
|
||||
(round-4 bug). llm-compressor's sequential pipeline traces `Lfm3Model.forward` with `Lfm3DecoderLayer` as targets, so every
|
||||
layer gets its own RoPE table and mask: **no patch needed**. `quant/gptq_baked/check_body.py`: the 25 traced subgraphs run
|
||||
in sequence give max |Δlogit| **0.0**, top-1 100% vs the plain forward over 1,000 tokens (sliding window included).
|
||||
Only `trust_remote_code_model=True` was needed.
|
||||
- Calibration: `quant/build_calib.py` re-run (the .pt is not in git) → identical per-source stats to round 4 (199/567/239/629
|
||||
conversations, 237,340/105,303/78,660/106,397 tokens).
|
||||
|
||||
### Step 2 — quantization (logs: logs/gptq_body.log, logs/bake_head_embed.log)
|
||||
- `quantize_body.py`: GPTQModifier W4A16 (sym, g128), `actorder=static` (no runtime g_idx), damp 0.05 (Launch80's body),
|
||||
block 128; ignore `lm_head` + 11 × `self_attn.gate_proj` → 142 linears, as round 4. **8.3 min** on XPU.
|
||||
- `bake_head_embed.py` (head after B65's `bake_quant.py`/`bake_gptq_resume.py`):
|
||||
- Activations: final-norm output of the model with the body weights dequantized from the INT4 checkpoint, over the
|
||||
calibration set. 516,096 Hessian rows, every 64th row held out (8,192).
|
||||
- The B65 setting (damp 1%, natural order, absmax scales) gave only 5.96% vs RTN 7.52%. Grid run next:
|
||||
damp {0.1, 0.3, 1, 3, 10}% × act-order {none, static} × scales {absmax, MSE-clipped}. Even held-out rows select,
|
||||
odd rows report.
|
||||
- Damping hardly matters (±0.1 pt). Static act-order −0.05 pt. **MSE-clipped scales −0.8 pt.**
|
||||
- Chosen: damp 0.3%, static, MSE → **5.07% output error vs 7.49% RTN** (−32%); top-1 vs BF16 96.4% vs 94.1%.
|
||||
- LFM3's head (K=2048) gains less from GPTQ than Qwen's (K=5120, −54% there).
|
||||
- Scales are rounded to BF16 before the codes are chosen (the references chose codes with fp32 scales and stored fp16).
|
||||
- Embedding INT8: weight rel. L2 1.01%, looked-up rows 0.87%. Total 1.5 min.
|
||||
- `assemble.py`: body + head (+ embedding) → one `model.safetensors`, `tie_word_embeddings=false`, compressed-tensors config
|
||||
groups `group_0` (Linear), `lm_head` (same args), `embed_tokens` (8 bit, channel). Non-weight files from the original.
|
||||
Variants: target (GPTQ head + INT8 embed, 1.155 GB), RTN head + INT8 embed (1.155 GB), body-only tied (1.282 GB),
|
||||
and for the decode analysis GPTQ head + BF16 embed (1.417 GB); all but the target in /models/scratch/.
|
||||
- Round 4 re-quantized with the unchanged `quantize_autoround.py` (16.3 min) into /models/scratch/LFM3-1.7B-W4A16-autoround
|
||||
(the round-4 checkpoint was no longer on disk).
|
||||
|
||||
### Step 3 — plugin (`vllm_lfm3/model.py`, two lines + comments)
|
||||
- `VocabParallelEmbedding(..., quant_config=quant_config, prefix="model.embed_tokens")`. BF16 and online FP8 resolve to the
|
||||
unquantized embedding as before (`Fp8*OnlineLinearMethod` / the online base return `None` for embeddings).
|
||||
- Untied head: `ParallelLMHead` was already built with `quant_config` and only tied when `tie_word_embeddings`; nothing to change.
|
||||
- No own embedding module: vLLM's is used. `tests/test_embed_int8.py` (XPU): vLLM's kernel is **bit-exact** to
|
||||
F.embedding of the dequantized weight; vs the BF16 embedding rel. L2 1.01%, min row cosine 0.9996 (real weights).
|
||||
- `tests/quant_methods.py` on the served target: lm_head `CompressedTensorsLinearMethod / XPUwNa16LinearKernel`,
|
||||
embed_tokens `CompressedTensorsEmbeddingWNA16Int`, gate_proj `UnquantizedLinearMethod`, qkv `XPUwNa16LinearKernel`.
|
||||
Weights **1.12 GiB** (BF16 3.24, FP8 1.88, INT4 tied 1.24).
|
||||
- **Regression** (old image `:v0.32.0-lfm3-vl` vs new, greedy_variant.py, results/round6/greedy_old_*.json):
|
||||
- BF16: 5/5 prompts bit-identical, tokens and logprobs.
|
||||
- FP8 per-channel: new image = round 5 bit-identical (5/5 tokens, 5/5 logprob margins).
|
||||
- Today's old-image FP8 run, however, differs from its own VL-day run (margins 1/5 identical) and from the new image at
|
||||
one near-tie (raw_long_1500, position 56).
|
||||
- → online FP8 has small run-to-run variation; the plugin change does not alter it.
|
||||
|
||||
### Step 4 — quality (eval/eval_quality.py → results/round6/eval/results_*.json, greedy: results/round6/greedy_*.json; all compile + graphs)
|
||||
| variant | PPL (40,940 tok) | vs BF16 | 8 prompts | completion tok | e2e 8 prompts (tok ÷ decode t/s) |
|
||||
|---|--:|--:|---|--:|--:|
|
||||
| BF16 | 18.518 | — | 8/8 | 3,790 | 29.7 s |
|
||||
| FP8 per-channel (round 5) | 18.523 | +0.03% | 8/8 | 3,803 | 20.0 s |
|
||||
| AutoRound INT4 (round 4, requantized) | 19.835 | +7.1% | 8/8 | 4,274 | 18.8 s |
|
||||
| GPTQ INT4 body only (tied BF16 head) | 19.861 | +7.3% | 8/8 | 3,248 | 14.9 s |
|
||||
| GPTQ baked + RTN head + INT8 embed | 20.286 | +9.5% | 8/8 | 3,330 | 15.4 s |
|
||||
| **GPTQ baked + GPTQ head + INT8 embed (target)** | **20.014** | **+8.1%** | 8/8 | 3,487 | 16.0 s |
|
||||
- Both tool calls byte-identical to BF16 in all variants, JSON valid, needle found, math 30.90, Canberra.
|
||||
- Head cost: GPTQ head +0.15 PPL over the body-only checkpoint, RTN head +0.43, so GPTQ roughly thirds the head's damage.
|
||||
- The GPTQ body thinks *less* than AutoRound on these prompts (3.2–3.5k vs 4.3k tokens); AutoRound's longer reasoning (round 4)
|
||||
is not inherent to INT4.
|
||||
- Greedy 64 tokens vs BF16 eager: all INT4 variants diverge early (0–1/5 identical), at BF16 margins up to 1.375, as in round 4.
|
||||
|
||||
### Step 5 — benchmarks
|
||||
BetterBench 0.6.1, `--config /srv/llm/bench/bench-standard/dev/config.json --quick --max-model-len 32768`, direct on :8001
|
||||
(bench-standard moved its config into `dev/`; identical to round 5's except what --quick sets). results/round6/bb/*.json.
|
||||
Real bytes per step = all stored weights except an untied embedding (only the gathered rows are read).
|
||||
| variant | decode t/s | bytes/step | eff. BW | ITL 1% low t/s | TTFT p50 ms | aggregate @8 t/s | prefill @32k t/s |
|
||||
|---|--:|--:|--:|--:|--:|--:|--:|
|
||||
| BF16 | 127.6 | 3.458 GB | 441 GB/s | 106.3 | 60 | 763.7 | 16,618 |
|
||||
| FP8 per-channel | 189.9 | 2.02 GB | 384 GB/s | 117.4 | 61 | 1,082.2 | 16,514 |
|
||||
| AutoRound INT4 | 227.7 | 1.287 GB | 293 GB/s | 163.1 | 59 | 1,139.2 | 14,125 |
|
||||
| GPTQ body only | 217.6 | 1.282 GB | 279 GB/s | 134.2 | 62 | 1,134.9 | 14,098 |
|
||||
| GPTQ + RTN head + INT8 emb | 216.2 | 0.893 GB | 193 GB/s | 135.4 | 62 | 1,136.5 | 14,180 |
|
||||
| **target** | **217.5*** | 0.893 GB | 194 GB/s | 134.4* | 61 | **1,156.6** | 14,284 |
|
||||
\* BetterBench printed "update p99" (one coalesced SSE update); decode from its combined line, ITL via tests/itl_low.py.
|
||||
|
||||
**The smaller head did not speed up decode.**
|
||||
- An interleaved TPOT check (tests/bench.py decode 128/512, three servers up at 0.3 share each, alternated 3×;
|
||||
results/round6/ab_tpot.txt) measured c=1 TPOT:
|
||||
- target 4.34 / 4.44 / 4.43 ms
|
||||
- INT4 head + BF16 embedding 4.36 / 4.42 / 4.34 ms
|
||||
- tied BF16 head 4.32 / 4.34 / 4.46 ms
|
||||
- → identical within ±2%. Earlier single runs (4.49 vs 4.71 ms) were start-to-start noise.
|
||||
- In isolation (tests/head_timing.py, eager) `compute_logits` drops from 0.99 to 0.42 ms with the INT4 head. The INT8 lookup
|
||||
costs +0.12 ms eager (vLLM's Triton gather ≈ a torch-ops version, both bit-exact, ~0.12–0.16 ms launch-bound).
|
||||
- So at ~4.4 ms/step the bottleneck is not weight bytes any more. Likely host/scheduling overhead or kernel launch latency:
|
||||
- not proven, because xpu-smi utilization reads 0% inside this setup;
|
||||
- consistent with AutoRound and the GPTQ body (same bytes) also landing at 4.3–4.5 ms.
|
||||
- AutoRound's 227.7 vs GPTQ body 217.6 in BetterBench is within that noise (TPOT 4.34 vs 4.32–4.49 ms).
|
||||
|
||||
bench-standard 0.5.0 (`bench.sh`, unmodified), quick, target, `--quant gptq-w4a16-g128-head-int4-embed-int8 --kv bf16 --tp 1
|
||||
--pp 1 --spec none --thinking default --server-cmd-file results/round6/server-cmd.txt --special-notes "…"`:
|
||||
`/srv/llm/bench/results/261030_pascal_lfm3-1.7b_vllm_1x-arc-pro-b65_quick`.
|
||||
- Decode 214.7 t/s, TTFT p50 65 ms.
|
||||
- Concurrency 207 / 380 / 689 / 1,152 t/s at 1/2/4/8.
|
||||
- Prefill 13,929 / 15,652 / 15,314 / 14,224 t/s at 2k/8k/16k/32k.
|
||||
- 258 GB/s = 48% of the measured 533 GB/s (bench.sh uses the 1.20 GB vLLM reports as loaded, which includes the embedding).
|
||||
- 0.67 J/tok decode, 0.113 J/tok @8. Greedy identical 3/3, no warnings.
|
||||
- `model_file` reads `/model · hash not checked` (container path), not the expected "not a standard model" warning. By hand:
|
||||
repo hash `e89c4a35083a…` — not in models.tsv, as expected.
|
||||
`betterbench compare` round-5 FP8 pc (results/variants/bb/fp8pc.json) vs this run: decode +8.0% to +16.1% in all 8 categories,
|
||||
all SIG (unpaired across files). results/round6/compare_fp8pc_vs_target.txt.
|
||||
|
||||
### Gotchas
|
||||
- `/mnt/model-library` is a **read-only** CIFS mount on this host → the checkpoint, README.md (model card) and SHA256SUMS are in
|
||||
`/models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8`; copy it into the library from a machine with write access.
|
||||
- llm-compressor needs `trust_remote_code_model=True` in `oneshot()` even with a model object.
|
||||
- `subgraph.forward` expects only the inputs that exist (`_kwargs` placeholder) — pass `{k: acts[k] for k in input_names if k in acts}`.
|
||||
- Single server starts vary ±5% in decode; compare decode-speed variants interleaved, not run after run.
|
||||
|
||||
### Recommendation
|
||||
**Not worth it vs FP8 per-channel for quality; worth it only for memory or throughput.**
|
||||
- vs FP8 pc: +14% decode (217 vs 190), +7% aggregate @8, −13% prefill, 60% of the weight memory (1.12 vs 1.88 GiB, +1.5 GiB KV
|
||||
at the same utilization). But +8.1% perplexity vs +0.03%, and greedy paths flip at confident tokens.
|
||||
- vs round 4 (AutoRound, tied BF16 head): same decode, same quality (PPL +8.1 vs +7.1%), 10% smaller file, stock kernel path
|
||||
(no `VLLM_XPU_INC_WNA16_BACKEND`, no ARK crash), shorter reasoning on our 8 prompts (e2e 16.0 s vs 18.8 s).
|
||||
- The baked head/embedding itself (target vs GPTQ body only): −0.13 GB file, −0.39 GB per-step reads, but **no measurable
|
||||
decode gain** on this stack, and +0.8% PPL. Keep it only if the memory matters.
|
||||
- Default stays **FP8 per-channel**. If an INT4 is wanted, this checkpoint is the better INT4 than round 4.
|
||||
|
||||
bench-standard **full** run (same declared values, `--full`): `/srv/llm/bench/results/261030_pascal_lfm3-1.7b_vllm_1x-arc-pro-b65`.
|
||||
- Decode 217.2 t/s, TTFT p50 64 ms, greedy identical 3/3, no warnings.
|
||||
- Concurrency 209 / 392 / 695 / 1,119 t/s at 1/2/4/8.
|
||||
- Prefill 14,155 / 15,743 / 15,170 / 14,050 t/s at 2k/8k/16k/32k (64k skipped: context 32k).
|
||||
- 261 GB/s = 49% of 533 GB/s; 0.66 J/tok decode, 0.114 J/tok @8.
|
||||
|
||||
### llama-swap configs (NOT applied; `deploy/`)
|
||||
- `deploy/llama-swap.lfm3-int4-baked.yaml`: the live config plus `vllm/lfm3-1.7b-int4-baked` (own alias; `lfm3-1.7b`
|
||||
stays on the VL entry). The entry alone: `deploy/lfm3_int4_baked.entry.yaml`.
|
||||
- `deploy/llama-swap.qwen-lfm3-coresident.yaml`: the above plus a co-resident pair in group `qwen-lfm3`
|
||||
(`swap: false, exclusive: true`): `vllm/swift-qwen3.8-27b-co` (= the 256k entry, own container `vllm-k8v4-co`,
|
||||
`--kv-cache-memory` 8.5 GiB, util 0.85) and `vllm/lfm3-1.7b-int4-co` (`--kv-cache-memory` 0.75 GiB, util 0.1, 32k, 4 seqs).
|
||||
- Measured (32,656 MiB card):
|
||||
- Qwen fixed part 18.7 GiB; after its first long prefill +1.1 GiB workspace, once (105k and 245k requests leave the same).
|
||||
- LFM3 fixed part 2.4 GiB, no growth under load.
|
||||
- Qwen first had 9.0 GiB KV: peak 32,331 MiB, only ~0.3 GiB left → cut to 8.5 GiB (287,281 tokens = 1.10x a 256k request;
|
||||
the solo 256k entry has 1.02x).
|
||||
- Worst case, tested through a second llama-swap on :8090 with the pair: LFM3 loaded first, then Qwen. Qwen 244,718-token
|
||||
needle request in parallel with LFM3 31.8k needle + 3 essays.
|
||||
- Both needles found, peak 31,974 MiB (682 MiB free), no errors.
|
||||
- LFM3 36,614 KV tokens.
|
||||
- Both pin the KV size, so the start order does not matter. The utilization values only pass vLLM's free-memory check at start.
|
||||
- Cache dirs `/srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-{baked,co}` do not exist yet (no write access as
|
||||
this user); docker creates them as root on first start.
|
||||
@@ -0,0 +1,99 @@
|
||||
|
||||
# ---------- co-resident pair: Swift Qwen 27B + LFM3-1.7B INT4 baked on one B65 (group "qwen-lfm3") ----------
|
||||
# Measured on the B65 (32,656 MiB): Qwen fixed ~18.7 GiB (+1.1 GiB prefill workspace after the first long request)
|
||||
# + KV 8.5 GiB, LFM3 fixed ~2.4 GiB + KV 0.75 GiB; ~0.8 GiB left free.
|
||||
# Qwen gets the memory: ~1.09x a 256k request (the solo 256k entry: 1.02x); LFM3 32k (~37k KV tokens).
|
||||
# Both pin --kv-cache-memory, so start order does not matter; the low/0.85 utilization only passes vLLM's
|
||||
# free-memory check at start.
|
||||
vllm/swift-qwen3.8-27b-co:
|
||||
useModelName: swift-qwen3.8-27b-co
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-co
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-co
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-co
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-co
|
||||
--kv-cache-memory=9126805504
|
||||
--gpu-memory-utilization=0.85
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
vllm/lfm3-1.7b-int4-co:
|
||||
useModelName: lfm3-1.7b-int4-co
|
||||
aliases:
|
||||
- lfm3-1.7b-int4-co
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-int4-co
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-int4-co
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-baked:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-1.7b-int4-co
|
||||
--gpu-memory-utilization=0.1
|
||||
--kv-cache-memory=805306368
|
||||
--max-num-seqs=4
|
||||
--dtype=bfloat16
|
||||
--max-model-len=32768
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
groups:
|
||||
# Qwen + LFM3 can be loaded at the same time (each starts on its first request). Models outside a group
|
||||
# swap as before; loading one of them unloads this group and vice versa (exclusive).
|
||||
qwen-lfm3:
|
||||
swap: false
|
||||
exclusive: true
|
||||
members:
|
||||
- vllm/swift-qwen3.8-27b-co
|
||||
- vllm/lfm3-1.7b-int4-co
|
||||
@@ -0,0 +1,29 @@
|
||||
|
||||
# ---------- vLLM 0.32 + lfm3 plugin – LFM3-1.7B GPTQ INT4 baked (INT4 body + INT4 lm_head + INT8 embed, round 6) ----------
|
||||
vllm/lfm3-1.7b-int4-baked:
|
||||
useModelName: lfm3-1.7b-int4-baked
|
||||
aliases:
|
||||
- lfm3-1.7b-int4-baked
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-int4-baked
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-int4-baked
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-baked:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-1.7b-int4-baked
|
||||
--gpu-memory-utilization=0.5
|
||||
--dtype=bfloat16
|
||||
--max-model-len=32768
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
@@ -0,0 +1,255 @@
|
||||
logLevel: info
|
||||
healthCheckTimeout: 1800
|
||||
|
||||
models:
|
||||
vllm/swift-qwen3.8-27b:
|
||||
useModelName: swift-qwen3.8-27b
|
||||
aliases:
|
||||
- swift-qwen3.8-27b
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-tp1
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-tp1
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b
|
||||
--gpu-memory-utilization=0.95
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- same as above, KV cache pinned to ~1x 256k (7.9 GiB) instead of 0.95 util ----------
|
||||
vllm/swift-qwen3.8-27b-256k:
|
||||
useModelName: swift-qwen3.8-27b-256k
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-256k
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-tp1
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-tp1
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-256k
|
||||
--kv-cache-memory=8482560410
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- vLLM (k8v4) – uncensored ----------
|
||||
vllm/swift-qwen3.8-27b-uncensored:
|
||||
useModelName: swift-qwen3.8-27b-uncensored
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-uncensored
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-uncensored
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-uncensored
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27B-Uncensored-Int4-baked:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-uncensored
|
||||
--gpu-memory-utilization=0.95
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- vLLM 0.32 + lfm3 plugin – LFM3-VL-2B (images + text; W8A16 online FP8 per-channel on the LM, vision BF16) ----------
|
||||
vllm/lfm3-vl-2b:
|
||||
useModelName: lfm3-vl-2b
|
||||
aliases:
|
||||
- lfm3-vl-2b
|
||||
- lfm3-1.7b
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-vl
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-vl
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /mnt/model-library/LiquidAI/LFM3-VL-2B:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-vl:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-vl
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-vl-2b
|
||||
--gpu-memory-utilization=0.5
|
||||
--dtype=bfloat16
|
||||
--quantization=fp8_per_channel
|
||||
--max-model-len=32768
|
||||
'--limit-mm-per-prompt={"image":4}'
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
|
||||
# ---------- vLLM 0.32 + lfm3 plugin – LFM3-1.7B GPTQ INT4 baked (INT4 body + INT4 lm_head + INT8 embed, round 6) ----------
|
||||
vllm/lfm3-1.7b-int4-baked:
|
||||
useModelName: lfm3-1.7b-int4-baked
|
||||
aliases:
|
||||
- lfm3-1.7b-int4-baked
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-int4-baked
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-int4-baked
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-baked:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-1.7b-int4-baked
|
||||
--gpu-memory-utilization=0.5
|
||||
--dtype=bfloat16
|
||||
--max-model-len=32768
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
@@ -0,0 +1,364 @@
|
||||
logLevel: info
|
||||
healthCheckTimeout: 1800
|
||||
|
||||
models:
|
||||
vllm/swift-qwen3.8-27b:
|
||||
useModelName: swift-qwen3.8-27b
|
||||
aliases:
|
||||
- swift-qwen3.8-27b
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-tp1
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-tp1
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b
|
||||
--gpu-memory-utilization=0.95
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- same as above, KV cache pinned to ~1x 256k (7.9 GiB) instead of 0.95 util ----------
|
||||
vllm/swift-qwen3.8-27b-256k:
|
||||
useModelName: swift-qwen3.8-27b-256k
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-256k
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-tp1
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-tp1
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-256k
|
||||
--kv-cache-memory=8482560410
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- vLLM (k8v4) – uncensored ----------
|
||||
vllm/swift-qwen3.8-27b-uncensored:
|
||||
useModelName: swift-qwen3.8-27b-uncensored
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-uncensored
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-uncensored
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-uncensored
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27B-Uncensored-Int4-baked:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-uncensored
|
||||
--gpu-memory-utilization=0.95
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
|
||||
# ---------- vLLM 0.32 + lfm3 plugin – LFM3-VL-2B (images + text; W8A16 online FP8 per-channel on the LM, vision BF16) ----------
|
||||
vllm/lfm3-vl-2b:
|
||||
useModelName: lfm3-vl-2b
|
||||
aliases:
|
||||
- lfm3-vl-2b
|
||||
- lfm3-1.7b
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-vl
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-vl
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /mnt/model-library/LiquidAI/LFM3-VL-2B:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-vl:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-vl
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-vl-2b
|
||||
--gpu-memory-utilization=0.5
|
||||
--dtype=bfloat16
|
||||
--quantization=fp8_per_channel
|
||||
--max-model-len=32768
|
||||
'--limit-mm-per-prompt={"image":4}'
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
|
||||
# ---------- vLLM 0.32 + lfm3 plugin – LFM3-1.7B GPTQ INT4 baked (INT4 body + INT4 lm_head + INT8 embed, round 6) ----------
|
||||
vllm/lfm3-1.7b-int4-baked:
|
||||
useModelName: lfm3-1.7b-int4-baked
|
||||
aliases:
|
||||
- lfm3-1.7b-int4-baked
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-int4-baked
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-int4-baked
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-baked:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-1.7b-int4-baked
|
||||
--gpu-memory-utilization=0.5
|
||||
--dtype=bfloat16
|
||||
--max-model-len=32768
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
|
||||
# ---------- co-resident pair: Swift Qwen 27B + LFM3-1.7B INT4 baked on one B65 (group "qwen-lfm3") ----------
|
||||
# Measured on the B65 (32,656 MiB): Qwen fixed ~18.7 GiB (+1.1 GiB prefill workspace after the first long request)
|
||||
# + KV 8.5 GiB, LFM3 fixed ~2.4 GiB + KV 0.75 GiB; ~0.8 GiB left free.
|
||||
# Qwen gets the memory: ~1.09x a 256k request (the solo 256k entry: 1.02x); LFM3 32k (~37k KV tokens).
|
||||
# Both pin --kv-cache-memory, so start order does not matter; the low/0.85 utilization only passes vLLM's
|
||||
# free-memory check at start.
|
||||
vllm/swift-qwen3.8-27b-co:
|
||||
useModelName: swift-qwen3.8-27b-co
|
||||
aliases:
|
||||
- swift-qwen3.8-27b-co
|
||||
cmdStop: docker stop -t 30 vllm-k8v4-co
|
||||
cmd: >
|
||||
docker run --rm --name vllm-k8v4-co
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=8g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/templates/chat_template_effort.jinja:/model/chat_template.jinja:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/.cache/vllm-k8v4-tp1:/root/.cache/vllm
|
||||
-v /srv/llm/runtimes/vllm-xpu/k8v4-v030/k8v4_v030:/opt/k8v4/k8v4_v030:ro
|
||||
-e NEOReadDebugKeys=1
|
||||
-e ForceZeDeviceCanAccessPerReturnValue=0
|
||||
-e PYTHONPATH=/opt/k8v4
|
||||
-e XE2_KV_LIB=/opt/k8v4/libxe2_kv.so
|
||||
-e K8V4_SDPA_LIB=/opt/k8v4/libk8v4_sdpa.so
|
||||
-e K8V4_PREFILL=onednn
|
||||
-e K8V4_PREFILL_GATHER=triton
|
||||
-e K8V4_SDPA_ASYNC=0
|
||||
-e K8V4_PREFILL_GEMM=w4a8
|
||||
-e VLLM_CACHE_ROOT=/root/.cache/vllm/w4a8-tp1-v1
|
||||
-e XE2_KV_S2_NSG=32
|
||||
-e XE2_KV_S2_NSG_DRAFT=32
|
||||
-e XE2_KV_S2_NSG_VERIFY=8
|
||||
-e XE2_KV_S2_TWO_PASS=0
|
||||
-e B70_MTP_BF16_DRAFT=1
|
||||
-e B70_WORKER_AFFINITY=1
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
-e PYTORCH_ALLOC_CONF=expandable_segments:True
|
||||
-e VLLM_TARGET_DEVICE=xpu
|
||||
-e VLLM_XPU_ENABLE_XPU_GRAPH=1
|
||||
-e ZE_AFFINITY_MASK=0
|
||||
-e ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
|
||||
vllm-openai-xpu:v0.30.0-k8v4
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=swift-qwen3.8-27b-co
|
||||
--kv-cache-memory=9126805504
|
||||
--gpu-memory-utilization=0.85
|
||||
--dtype=float16
|
||||
--max-model-len=262144
|
||||
--kv-cache-dtype=int8_k_int4_v
|
||||
--tensor-parallel-size=1
|
||||
--max-num-seqs=4
|
||||
--max-num-batched-tokens=4224
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_xml
|
||||
--reasoning-parser=qwen3
|
||||
--no-enable-prefix-caching
|
||||
--mamba-cache-mode=none
|
||||
'--limit-mm-per-prompt={"image":4,"video":0}'
|
||||
'--mm-processor-kwargs={"max_pixels":1048576}'
|
||||
--mm-processor-cache-gb=0.125
|
||||
--trust-remote-code
|
||||
'--speculative-config={"method":"mtp","num_speculative_tokens":6}'
|
||||
'--compilation-config={"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28]}'
|
||||
vllm/lfm3-1.7b-int4-co:
|
||||
useModelName: lfm3-1.7b-int4-co
|
||||
aliases:
|
||||
- lfm3-1.7b-int4-co
|
||||
cmdStop: docker stop -t 30 vllm-lfm3-int4-co
|
||||
cmd: >
|
||||
docker run --rm --name vllm-lfm3-int4-co
|
||||
--device /dev/dri --group-add 991
|
||||
--ipc=host --shm-size=16g
|
||||
-p 127.0.0.1:${PORT}:8000
|
||||
-v /dev/dri:/dev/dri
|
||||
-v /dev/dri/by-path:/dev/dri/by-path:ro
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro
|
||||
-v /srv/llm/runtimes/vllm-xpu/lfm3-v032/.cache/vllm-lfm3-int4-baked:/root/.cache/vllm
|
||||
-e HF_HUB_OFFLINE=1
|
||||
-e TRANSFORMERS_OFFLINE=1
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked
|
||||
/model
|
||||
--host=0.0.0.0
|
||||
--port=8000
|
||||
--served-model-name=lfm3-1.7b-int4-co
|
||||
--gpu-memory-utilization=0.1
|
||||
--kv-cache-memory=805306368
|
||||
--max-num-seqs=4
|
||||
--dtype=bfloat16
|
||||
--max-model-len=32768
|
||||
--enable-auto-tool-choice
|
||||
--tool-call-parser=qwen3_coder
|
||||
--reasoning-parser=qwen3
|
||||
|
||||
groups:
|
||||
# Qwen + LFM3 can be loaded at the same time (each starts on its first request). Models outside a group
|
||||
# swap as before; loading one of them unloads this group and vice versa (exclusive).
|
||||
qwen-lfm3:
|
||||
swap: false
|
||||
exclusive: true
|
||||
members:
|
||||
- vllm/swift-qwen3.8-27b-co
|
||||
- vllm/lfm3-1.7b-int4-co
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Assemble an LFM3 checkpoint from the GPTQ INT4 body (quantize_body.py) and the baked tensors
|
||||
(bake_head_embed.py). The result is one model.safetensors + compressed-tensors quantization_config:
|
||||
|
||||
--head gptq|rtn untie: write lm_head.* (INT4, group 128, same scheme as the body) as its own
|
||||
tensors, tie_word_embeddings=false, config group "lm_head"
|
||||
--head none keep the tied BF16 head (body-only variant)
|
||||
--embed int8 replace model.embed_tokens.weight by INT8 + per-row scales, config group for it
|
||||
|
||||
Non-weight files (tokenizer, chat template, generation_config, LICENSE, Liquid's code) come from the
|
||||
original model folder, so the result serves like the original.
|
||||
|
||||
python3 assemble.py SRC_MODEL BODY_DIR BAKE_DIR OUT_DIR --head gptq --embed int8
|
||||
"""
|
||||
import argparse, copy, glob, json, os, shutil
|
||||
from safetensors import safe_open
|
||||
from safetensors.torch import load_file, save_file
|
||||
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument("src"); ap.add_argument("body"); ap.add_argument("bake"); ap.add_argument("out")
|
||||
ap.add_argument("--head", choices=["gptq", "rtn", "none"], required=True)
|
||||
ap.add_argument("--embed", choices=["int8", "none"], required=True)
|
||||
a = ap.parse_args()
|
||||
if os.path.exists(a.out) and os.listdir(a.out):
|
||||
raise SystemExit(f"{a.out} exists and is not empty")
|
||||
os.makedirs(a.out, exist_ok=True)
|
||||
|
||||
tensors = {}
|
||||
for f in sorted(glob.glob(f"{a.body}/*.safetensors")):
|
||||
tensors.update(load_file(f))
|
||||
assert "lm_head.weight" not in tensors, "body checkpoint is expected tied (no lm_head.weight)"
|
||||
|
||||
cfg = json.load(open(f"{a.body}/config.json"))
|
||||
qc = cfg["quantization_config"]
|
||||
body_group = next(g for g in qc["config_groups"].values() if "Linear" in g["targets"])
|
||||
if a.head != "none":
|
||||
tensors.update(load_file(f"{a.bake}/head_{a.head}.safetensors"))
|
||||
cfg["tie_word_embeddings"] = False
|
||||
qc["ignore"] = [x for x in qc["ignore"] if x != "lm_head"]
|
||||
head_group = copy.deepcopy(body_group)
|
||||
head_group["targets"] = ["lm_head"]
|
||||
qc["config_groups"]["lm_head"] = head_group
|
||||
if a.embed == "int8":
|
||||
del tensors["model.embed_tokens.weight"]
|
||||
tensors.update(load_file(f"{a.bake}/embed_int8.safetensors"))
|
||||
emb_group = copy.deepcopy(body_group)
|
||||
emb_group["targets"] = ["model.embed_tokens"]
|
||||
emb_group["weights"].update({"num_bits": 8, "strategy": "channel", "group_size": None,
|
||||
"block_structure": None, "actorder": None})
|
||||
qc["config_groups"]["embed_tokens"] = emb_group
|
||||
if a.head == "none":
|
||||
raise SystemExit("INT8 embedding needs an untied head (the tied head would read the INT8 codes)")
|
||||
|
||||
save_file(tensors, f"{a.out}/model.safetensors", metadata={"format": "pt"})
|
||||
json.dump(cfg, open(f"{a.out}/config.json", "w"), indent=2)
|
||||
skip = {"config.json", "model.safetensors", "README.md", ".gitattributes"}
|
||||
for f in os.listdir(a.src):
|
||||
p = f"{a.src}/{f}"
|
||||
if os.path.isfile(p) and f not in skip and not f.endswith(".safetensors"):
|
||||
shutil.copy2(p, f"{a.out}/{f}")
|
||||
for f in ["quant_run.json"]:
|
||||
shutil.copy2(f"{a.body}/{f}", f"{a.out}/{f}")
|
||||
manifest = json.load(open(f"{a.bake}/bake_manifest.json"))
|
||||
bake = {"head": a.head, "embed": a.embed, "body": json.load(open(f"{a.body}/quant_run.json")),
|
||||
"bake": {k: v for k, v in manifest.items() if not k.startswith("head_") or k == f"head_{a.head}"}}
|
||||
if a.embed == "none":
|
||||
bake["bake"].pop("embed_int8", None)
|
||||
json.dump(bake, open(f"{a.out}/BAKE.json", "w"), indent=1)
|
||||
with safe_open(f"{a.out}/model.safetensors", "pt") as sf:
|
||||
n = len(list(sf.keys()))
|
||||
size = os.path.getsize(f"{a.out}/model.safetensors")
|
||||
print(f"{a.out}: {n} tensors, model.safetensors {size / 1e9:.3f} GB, head={a.head} embed={a.embed}")
|
||||
@@ -0,0 +1,212 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Bake an INT4 lm_head (GPTQ and RTN) and an INT8 embedding for LFM3-1.7B, after the B65 head bake
|
||||
(github.com/launch80/B65, bake/bake_quant.py + bake_gptq_resume.py, MIT; as adapted by Wrapzii).
|
||||
|
||||
- Activations: the lm_head input = output of the final norm (`embedding_norm`) of the model whose body
|
||||
is the GPTQ INT4 checkpoint (weights dequantized exactly as served), over the calibration set.
|
||||
- Hessian H = sum x^T x (fp32); every 64th row is held out (max 8192): half of them pick the GPTQ
|
||||
setting from a small grid (damp, static act-order, MSE-clipped scales), the other half are reported.
|
||||
- GPTQ: symmetric int4, group 128 (contiguous groups, no runtime g_idx), lazy block 128 = group,
|
||||
output rows in chunks. B65's setting is damp 1%, natural column order, scale = absmax/7 of the
|
||||
error-compensated group; the grid adds damp 0.1-10%, static act-order and clip-searched scales.
|
||||
Scales are rounded to BF16 *before* choosing codes (the stored scale is what vLLM dequantizes with).
|
||||
- RTN: same scale rule on the original weights, no error propagation.
|
||||
- Embedding: INT8 symmetric, one BF16 scale per row (absmax/127, rounded before coding).
|
||||
Everything is written in compressed-tensors pack-quantized layout (weight_packed int32 packed along
|
||||
the input dim, weight_scale, weight_shape), i.e. what vLLM's CompressedTensorsWNA16 (lm_head) and
|
||||
CompressedTensorsEmbeddingWNA16Int (embedding) load.
|
||||
|
||||
python3 bake_head_embed.py MODEL_DIR BODY_DIR CALIB.pt OUT_DIR [DEVICE=xpu]
|
||||
-> OUT_DIR/{head_gptq,head_rtn,embed_int8}.safetensors, bake_manifest.json
|
||||
"""
|
||||
import glob, json, sys, time
|
||||
import torch
|
||||
from compressed_tensors.compressors.pack_quantized.helpers import pack_to_int32, unpack_from_int32
|
||||
from safetensors import safe_open
|
||||
from safetensors.torch import save_file
|
||||
from transformers import AutoModelForCausalLM
|
||||
|
||||
model_dir, body_dir, calib, out_dir = sys.argv[1:5]
|
||||
dev = sys.argv[5] if len(sys.argv) > 5 else "xpu"
|
||||
G, DAMP, EVERY, EVAL_CAP, CHUNK = 128, 0.01, 64, 8192, 8192
|
||||
torch.manual_seed(0)
|
||||
|
||||
model = AutoModelForCausalLM.from_pretrained(model_dir, dtype=torch.bfloat16, trust_remote_code=True)
|
||||
|
||||
|
||||
def dequant(packed, scale, shape):
|
||||
q = unpack_from_int32(packed, 4, torch.Size(shape.tolist()), packed_dim=1).float()
|
||||
return (q.view(q.shape[0], -1, G) * scale.float()[:, :, None]).view(q.shape)
|
||||
|
||||
|
||||
# body weights exactly as the INT4 checkpoint stores them
|
||||
mods = dict(model.named_modules())
|
||||
n_body = 0
|
||||
for f in sorted(glob.glob(f"{body_dir}/*.safetensors")):
|
||||
with safe_open(f, "pt") as sf:
|
||||
for k in sf.keys():
|
||||
if k.endswith(".weight_packed"):
|
||||
base = k[: -len(".weight_packed")]
|
||||
w = dequant(sf.get_tensor(k), sf.get_tensor(base + ".weight_scale"),
|
||||
sf.get_tensor(base + ".weight_shape"))
|
||||
mods[base].weight.data.copy_(w.to(torch.bfloat16))
|
||||
n_body += 1
|
||||
print(f"loaded {n_body} INT4 body linears from {body_dir}", flush=True)
|
||||
model.to(dev).eval()
|
||||
|
||||
# --- Hessian of the lm_head input
|
||||
K = model.config.hidden_size
|
||||
H = torch.zeros(K, K, dtype=torch.float32, device=dev)
|
||||
held, rows, row_id = [], 0, 0
|
||||
samples = torch.load(calib)
|
||||
t0 = time.time()
|
||||
with torch.no_grad():
|
||||
for s in samples:
|
||||
x = model.model(input_ids=s.to(dev)).last_hidden_state[0].float() # final-norm output
|
||||
idx = torch.arange(row_id, row_id + x.shape[0], device=dev)
|
||||
row_id += x.shape[0]
|
||||
is_held = idx % EVERY == 0
|
||||
H += x[~is_held].T @ x[~is_held]
|
||||
rows += int((~is_held).sum())
|
||||
if sum(h.shape[0] for h in held) < EVAL_CAP:
|
||||
held.append(x[is_held])
|
||||
Xe = torch.cat(held)[:EVAL_CAP]
|
||||
print(f"Hessian from {rows} rows, {Xe.shape[0]} held out, {time.time() - t0:.0f} s", flush=True)
|
||||
|
||||
W = model.model.embed_tokens.weight.detach().float() # tied: lm_head == embed_tokens (V, K)
|
||||
V = W.shape[0]
|
||||
|
||||
|
||||
def scale_of(block, qmax):
|
||||
return (block.abs().amax(-1) / qmax).clamp_min(1e-8).to(torch.bfloat16).float()
|
||||
|
||||
|
||||
CLIP = [1.0, 0.95, 0.9, 0.85, 0.8, 0.75]
|
||||
|
||||
|
||||
def mse_scale(Wg):
|
||||
"""Per-(row, group) int4 scale: absmax/7 shrunk by the clip factor with the lowest squared error."""
|
||||
best, best_err = None, None
|
||||
for c in CLIP:
|
||||
s = scale_of(Wg, 7 / c)
|
||||
err = ((Wg - torch.clamp(torch.round(Wg / s[..., None]), -8, 7) * s[..., None]) ** 2).sum(-1)
|
||||
if best is None:
|
||||
best, best_err = s, err
|
||||
else:
|
||||
better = err < best_err
|
||||
best, best_err = torch.where(better, s, best), torch.where(better, err, best_err)
|
||||
return best
|
||||
|
||||
|
||||
def rtn_int4(W):
|
||||
Wg = W.view(W.shape[0], -1, G)
|
||||
s = scale_of(Wg, 7)
|
||||
return torch.clamp(torch.round(Wg / s[..., None]), -8, 7).view(W.shape), s
|
||||
|
||||
|
||||
def gptq_int4(W, H, damp=DAMP, actorder=False, mse=False):
|
||||
"""GPTQ, symmetric int4, contiguous groups of G (no runtime g_idx).
|
||||
actorder=False: columns in natural order, each group's scale from the error-compensated block (B65).
|
||||
actorder=True ("static" act-order): columns processed by descending diag(H), group scales fixed up
|
||||
front from the original weights (as llm-compressor's actorder="static").
|
||||
mse: clip-searched scales instead of plain absmax/7."""
|
||||
H = H.clone()
|
||||
dead = torch.diag(H) == 0
|
||||
H[dead, dead] = 1
|
||||
H += torch.eye(K, device=H.device) * damp * torch.diag(H).mean()
|
||||
perm = torch.argsort(torch.diag(H), descending=True) if actorder else torch.arange(K, device=H.device)
|
||||
H = H[perm][:, perm]
|
||||
Hinv = torch.cholesky_inverse(torch.linalg.cholesky(H))
|
||||
Hinv = torch.linalg.cholesky(Hinv, upper=True)
|
||||
group_of = perm // G # original group of each processed column
|
||||
codes = torch.empty_like(W)
|
||||
scales = torch.empty(W.shape[0], K // G, device=W.device)
|
||||
for n0 in range(0, W.shape[0], CHUNK):
|
||||
Wc = W[n0:n0 + CHUNK].clone()
|
||||
Wc[:, dead] = 0
|
||||
if actorder:
|
||||
Wg = Wc.view(Wc.shape[0], -1, G)
|
||||
scales[n0:n0 + CHUNK] = mse_scale(Wg) if mse else scale_of(Wg, 7)
|
||||
Wc = Wc[:, perm]
|
||||
Q = torch.empty_like(Wc)
|
||||
for i0 in range(0, K, G):
|
||||
i1 = i0 + G
|
||||
W1, Hi = Wc[:, i0:i1].clone(), Hinv[i0:i1, i0:i1]
|
||||
E1 = torch.zeros_like(W1)
|
||||
if not actorder:
|
||||
s_blk = mse_scale(W1[:, None, :])[:, 0] if mse else scale_of(W1, 7)
|
||||
scales[n0:n0 + CHUNK, i0 // G] = s_blk
|
||||
for j in range(G):
|
||||
s = scales[n0:n0 + CHUNK, group_of[i0 + j]]
|
||||
q = torch.clamp(torch.round(W1[:, j] / s), -8, 7)
|
||||
Q[:, i0 + j] = q
|
||||
err = (W1[:, j] - q * s) / Hi[j, j]
|
||||
W1[:, j:] -= err[:, None] * Hi[j, j:][None, :]
|
||||
E1[:, j] = err
|
||||
Wc[:, i1:] -= E1 @ Hinv[i0:i1, i1:]
|
||||
codes[n0:n0 + CHUNK, perm] = Q
|
||||
return codes, scales
|
||||
|
||||
|
||||
def deq4(codes, s):
|
||||
return (codes.view(codes.shape[0], -1, G) * s[..., None]).view(codes.shape)
|
||||
|
||||
|
||||
def rel(a, b):
|
||||
return ((a - b).norm() / b.norm()).item()
|
||||
|
||||
|
||||
def head_errors(codes, s, X):
|
||||
Wq = deq4(codes, s)
|
||||
out, ref = X @ Wq.T, X @ W.T
|
||||
return {"out_err": rel(out, ref), "weight_err": rel(Wq, W),
|
||||
"heldout_top1_agree": (out.argmax(1) == ref.argmax(1)).float().mean().item()}
|
||||
|
||||
|
||||
# held-out rows: even ones pick the GPTQ setting, odd ones are reported (not used for the choice)
|
||||
Xsel, Xrep = Xe[0::2], Xe[1::2]
|
||||
manifest = {"K": K, "N": V, "hessian_rows": rows, "heldout_rows": int(Xe.shape[0]), "heldout_stride": EVERY,
|
||||
"heldout_split": "even rows select the GPTQ setting, odd rows are reported",
|
||||
"group_size": G, "sym": True, "column_chunk": CHUNK,
|
||||
"calibration": "quant/calib/calib_256x2048.json (256 x 2048 tokens, EN/DE/tools/code)",
|
||||
"activations": "final-norm output of the INT4-body model (weights dequantized from BODY_DIR)",
|
||||
"grid": {}}
|
||||
t0 = time.time()
|
||||
best = None
|
||||
for damp in [0.001, 0.003, 0.01, 0.03, 0.1]:
|
||||
for actorder in [False, True]:
|
||||
for mse in [False, True]:
|
||||
key = f"damp={damp},actorder={'static' if actorder else 'none'},mse={mse}"
|
||||
codes, s = gptq_int4(W, H, damp, actorder, mse)
|
||||
e = head_errors(codes, s, Xsel)["out_err"]
|
||||
manifest["grid"][key] = e
|
||||
print(f" {key}: select out_err {e:.4%} ({time.time() - t0:.0f} s)", flush=True)
|
||||
if best is None or e < best[0]:
|
||||
best = (e, key, codes, s)
|
||||
manifest["gptq_setting"] = best[1]
|
||||
results = {"gptq": best[2:], "rtn": rtn_int4(W)}
|
||||
for name, (codes, s) in results.items():
|
||||
manifest[f"head_{name}"] = head_errors(codes, s, Xrep)
|
||||
packed = pack_to_int32(codes.to(torch.int8).cpu(), 4, packed_dim=1)
|
||||
assert torch.equal(unpack_from_int32(packed, 4, codes.shape, packed_dim=1), codes.to(torch.int8).cpu())
|
||||
save_file({"lm_head.weight_packed": packed,
|
||||
"lm_head.weight_scale": s.to(torch.bfloat16).cpu().contiguous(),
|
||||
"lm_head.weight_shape": torch.tensor([V, K], dtype=torch.int64)},
|
||||
f"{out_dir}/head_{name}.safetensors")
|
||||
print(f"head {name}: {manifest[f'head_{name}']} ({time.time() - t0:.0f} s)", flush=True)
|
||||
|
||||
# --- INT8 embedding, per-row scale
|
||||
s8 = scale_of(W, 127)
|
||||
c8 = torch.clamp(torch.round(W / s8[:, None]), -128, 127)
|
||||
We = c8 * s8[:, None]
|
||||
tok_ids = torch.cat([s[0] for s in samples])[::EVERY][:EVAL_CAP].to(dev) # embedding rows as looked up
|
||||
manifest["embed_int8"] = {"weight_err": rel(We, W), "lookup_err_heldout_tokens": rel(We[tok_ids], W[tok_ids]),
|
||||
"scheme": "per-row absmax/127, BF16 scales, codes from the rounded scale"}
|
||||
packed8 = pack_to_int32(c8.to(torch.int8).cpu(), 8, packed_dim=1)
|
||||
assert torch.equal(unpack_from_int32(packed8, 8, c8.shape, packed_dim=1), c8.to(torch.int8).cpu())
|
||||
save_file({"model.embed_tokens.weight_packed": packed8,
|
||||
"model.embed_tokens.weight_scale": s8[:, None].to(torch.bfloat16).cpu().contiguous(),
|
||||
"model.embed_tokens.weight_shape": torch.tensor([V, K], dtype=torch.int64)},
|
||||
f"{out_dir}/embed_int8.safetensors")
|
||||
print(f"embed int8: {manifest['embed_int8']}", flush=True)
|
||||
json.dump(manifest, open(f"{out_dir}/bake_manifest.json", "w"), indent=1)
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Check that llm-compressor's traced sequential pipeline (what quantize_body.py calibrates with) is the
|
||||
same function as the plain LFM3 forward: trace the BF16 model with the same sequential targets and
|
||||
tracing_ignore, run the 25 subgraphs one after another on a 1000-token calibration sample (as
|
||||
quant/check_patch.py in round 4) and compare the logits with model(x).logits.
|
||||
|
||||
python3 check_body.py MODEL_DIR CALIB.pt [DEVICE=xpu]
|
||||
"""
|
||||
import sys
|
||||
import torch
|
||||
from llmcompressor.args.dataset_arguments import DatasetArguments
|
||||
from llmcompressor.pipelines.sequential.helpers import trace_subgraphs
|
||||
from transformers import AutoModelForCausalLM
|
||||
|
||||
model_dir, calib = sys.argv[1:3]
|
||||
dev = sys.argv[3] if len(sys.argv) > 3 else "xpu"
|
||||
model = AutoModelForCausalLM.from_pretrained(model_dir, dtype=torch.bfloat16, trust_remote_code=True).to(dev).eval()
|
||||
x = torch.load(calib)[3][:, :1000].to(dev)
|
||||
inputs = {"input_ids": x}
|
||||
with torch.no_grad():
|
||||
ref = model(**inputs).logits.float()
|
||||
subgraphs = trace_subgraphs(model, inputs, ["Lfm3DecoderLayer"],
|
||||
DatasetArguments().tracing_ignore + ["create_masks_by_layer_type"])
|
||||
acts = dict(inputs)
|
||||
for sg in subgraphs:
|
||||
acts.update(sg.forward(model, **{k: acts[k] for k in sg.input_names if k in acts}))
|
||||
out = next(v for v in acts.values() if torch.is_tensor(v) and v.shape[-1] == ref.shape[-1]).float()
|
||||
print(f"{len(subgraphs)} subgraphs; max |dlogit| {(out - ref).abs().max().item()}, "
|
||||
f"top1 agree {(out.argmax(-1) == ref.argmax(-1)).float().mean().item()}")
|
||||
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env python3
|
||||
"""GPTQ W4A16 body for LFM3-1.7B with llm-compressor (compressed-tensors pack-quantized: int4, sym,
|
||||
group 128, static activation order = no runtime g_idx). Quantizes the same 142 decoder-block linears as
|
||||
round 4 (attn q/k/v/o, conv in/out, MLP w1/w2/w3); self_attn.gate_proj (BF16 in our vLLM plugin), the
|
||||
tied embedding / lm_head, the conv kernels (nn.Conv1d) and norms stay BF16. lm_head and the INT8
|
||||
embedding are added afterwards by bake_head_embed.py + assemble.py.
|
||||
|
||||
llm-compressor's sequential pipeline traces Lfm3Model.forward and feeds every decoder layer the RoPE
|
||||
table and mask of its own type, so round 4's per-layer replay patch (AutoRound) is not needed here;
|
||||
check_body.py verifies the traced pipeline against the plain model.
|
||||
|
||||
python3 quantize_body.py MODEL_DIR CALIB.pt OUT_DIR [DAMP=0.05]
|
||||
"""
|
||||
import json, sys, time
|
||||
import torch
|
||||
from datasets import Dataset
|
||||
from llmcompressor import oneshot
|
||||
from llmcompressor.args.dataset_arguments import DatasetArguments
|
||||
from llmcompressor.modifiers.quantization import GPTQModifier
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
|
||||
model_dir, calib, out_dir = sys.argv[1:4]
|
||||
damp = float(sys.argv[4]) if len(sys.argv) > 4 else 0.05
|
||||
|
||||
tok = AutoTokenizer.from_pretrained(model_dir)
|
||||
model = AutoModelForCausalLM.from_pretrained(model_dir, dtype=torch.bfloat16, trust_remote_code=True)
|
||||
samples = torch.load(calib)
|
||||
ds = Dataset.from_dict({"input_ids": [s[0].tolist() for s in samples]})
|
||||
|
||||
linears = [n for n, m in model.named_modules() if isinstance(m, torch.nn.Linear)]
|
||||
ignore = ["lm_head", "re:.*self_attn\\.gate_proj$"]
|
||||
to_quant = [n for n in linears if n.startswith("model.layers.") and not n.endswith("self_attn.gate_proj")]
|
||||
print(f"{len(linears)} nn.Linear total; quantizing {len(to_quant)}; ignore {ignore}", flush=True)
|
||||
|
||||
recipe = GPTQModifier(targets="Linear", scheme="W4A16", ignore=ignore, block_size=128,
|
||||
dampening_frac=damp, actorder="static")
|
||||
t0 = time.time()
|
||||
oneshot(model=model, dataset=ds, recipe=recipe, max_seq_length=samples[0].shape[-1],
|
||||
num_calibration_samples=len(samples), pipeline="sequential", trust_remote_code_model=True,
|
||||
sequential_targets=["Lfm3DecoderLayer"],
|
||||
tracing_ignore=DatasetArguments().tracing_ignore + ["create_masks_by_layer_type"])
|
||||
dt = time.time() - t0
|
||||
model.save_pretrained(out_dir, save_compressed=True)
|
||||
tok.save_pretrained(out_dir)
|
||||
json.dump({"tool": "llm-compressor 0.15.0 (compressed-tensors 0.20.1)", "scheme": "W4A16", "bits": 4,
|
||||
"group_size": 128, "sym": True, "actorder": "static", "dampening_frac": damp, "block_size": 128,
|
||||
"nsamples": len(samples), "seqlen": int(samples[0].shape[-1]), "seconds": round(dt),
|
||||
"quantized_linears": len(to_quant), "ignore": ignore},
|
||||
open(f"{out_dir}/quant_run.json", "w"), indent=1)
|
||||
print(f"done in {dt/60:.1f} min -> {out_dir}")
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"head": "gptq",
|
||||
"embed": "int8",
|
||||
"body": {
|
||||
"tool": "llm-compressor 0.15.0 (compressed-tensors 0.20.1)",
|
||||
"scheme": "W4A16",
|
||||
"bits": 4,
|
||||
"group_size": 128,
|
||||
"sym": true,
|
||||
"actorder": "static",
|
||||
"dampening_frac": 0.05,
|
||||
"block_size": 128,
|
||||
"nsamples": 256,
|
||||
"seqlen": 2048,
|
||||
"seconds": 497,
|
||||
"quantized_linears": 142,
|
||||
"ignore": [
|
||||
"lm_head",
|
||||
"re:.*self_attn\\.gate_proj$"
|
||||
]
|
||||
},
|
||||
"bake": {
|
||||
"K": 2048,
|
||||
"N": 128000,
|
||||
"hessian_rows": 516096,
|
||||
"heldout_rows": 8192,
|
||||
"heldout_stride": 64,
|
||||
"heldout_split": "even rows select the GPTQ setting, odd rows are reported",
|
||||
"group_size": 128,
|
||||
"sym": true,
|
||||
"column_chunk": 8192,
|
||||
"calibration": "quant/calib/calib_256x2048.json (256 x 2048 tokens, EN/DE/tools/code)",
|
||||
"activations": "final-norm output of the INT4-body model (weights dequantized from BODY_DIR)",
|
||||
"grid": {
|
||||
"damp=0.001,actorder=none,mse=False": 0.05986291542649269,
|
||||
"damp=0.001,actorder=none,mse=True": 0.05176536366343498,
|
||||
"damp=0.001,actorder=static,mse=False": 0.059399478137493134,
|
||||
"damp=0.001,actorder=static,mse=True": 0.05138346180319786,
|
||||
"damp=0.003,actorder=none,mse=False": 0.059860099107027054,
|
||||
"damp=0.003,actorder=none,mse=True": 0.05176542326807976,
|
||||
"damp=0.003,actorder=static,mse=False": 0.05940239503979683,
|
||||
"damp=0.003,actorder=static,mse=True": 0.0513802245259285,
|
||||
"damp=0.01,actorder=none,mse=False": 0.05985476076602936,
|
||||
"damp=0.01,actorder=none,mse=True": 0.05176861211657524,
|
||||
"damp=0.01,actorder=static,mse=False": 0.05940958857536316,
|
||||
"damp=0.01,actorder=static,mse=True": 0.05138394609093666,
|
||||
"damp=0.03,actorder=none,mse=False": 0.059855833649635315,
|
||||
"damp=0.03,actorder=none,mse=True": 0.051782816648483276,
|
||||
"damp=0.03,actorder=static,mse=False": 0.059424638748168945,
|
||||
"damp=0.03,actorder=static,mse=True": 0.0513840951025486,
|
||||
"damp=0.1,actorder=none,mse=False": 0.05993962660431862,
|
||||
"damp=0.1,actorder=none,mse=True": 0.05188874900341034,
|
||||
"damp=0.1,actorder=static,mse=False": 0.05954768881201744,
|
||||
"damp=0.1,actorder=static,mse=True": 0.051495276391506195
|
||||
},
|
||||
"gptq_setting": "damp=0.003,actorder=static,mse=True",
|
||||
"head_gptq": {
|
||||
"out_err": 0.05072252079844475,
|
||||
"weight_err": 0.12768974900245667,
|
||||
"heldout_top1_agree": 0.9638671875
|
||||
},
|
||||
"embed_int8": {
|
||||
"weight_err": 0.010053656063973904,
|
||||
"lookup_err_heldout_tokens": 0.008669974282383919,
|
||||
"scheme": "per-row absmax/127, BF16 scales, codes from the rounded scale"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
---
|
||||
license: other
|
||||
license_name: lfm1.0
|
||||
license_link: LICENSE
|
||||
base_model: LiquidAI/LFM3-1.7B
|
||||
base_model_relation: quantized
|
||||
library_name: vllm
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- lfm3
|
||||
- liquid
|
||||
- gptq
|
||||
- int4
|
||||
- int8-embedding
|
||||
- compressed-tensors
|
||||
- intel-xpu
|
||||
- quantized
|
||||
---
|
||||
|
||||
# LFM3-1.7B — GPTQ INT4, baked INT4 lm_head + INT8 embedding
|
||||
|
||||
A 1.155 GB single-file quantization of [LiquidAI/LFM3-1.7B](https://huggingface.co/LiquidAI/LFM3-1.7B)
|
||||
(BF16: 3.46 GB) for vLLM on Intel Arc (tested: one Arc Pro B65 32 GB, vLLM 0.32.0 XPU). Everything that is
|
||||
quantized is quantized **on disk** ("baked"): nothing is re-quantized when the server starts.
|
||||
|
||||
| part | format | kernel in vLLM 0.32 XPU |
|
||||
|---|---|---|
|
||||
| 142 body linears (attn q/k/v/o, conv in/out, MLP w1/w2/w3) | GPTQ INT4, symmetric, group 128 | `XPUwNa16LinearKernel` (oneDNN `int4_gemm_w4a16`) |
|
||||
| `lm_head` (untied, 128,000 × 2,048) | GPTQ INT4, symmetric, group 128, Hessian from the final-norm activations | same kernel |
|
||||
| `embed_tokens` | INT8 symmetric, one BF16 scale per row | `CompressedTensorsEmbeddingWNA16Int` (gathers and dequantizes only the looked-up rows) |
|
||||
| `self_attn.gate_proj` (11 × 16 × 2,048), conv kernels, norms | BF16 | — |
|
||||
|
||||
Format: compressed-tensors `pack-quantized` (one `model.safetensors`, `quantization_config` in `config.json`),
|
||||
`tie_word_embeddings: false`. The body and the head use the same scheme, so they run on the same kernel.
|
||||
|
||||
**Runtime:** vLLM has no LFM3 support upstream yet. This checkpoint needs the out-of-tree LFM3 plugin from
|
||||
`xpu-llm-ports` (`lfm3/`, image `lfm3-vllm-xpu:v0.32.0-lfm3-baked`). The plugin passes `quant_config` to the
|
||||
token embedding; everything else is stock vLLM.
|
||||
|
||||
## Recipe
|
||||
|
||||
Recipe modelled on [Launch80/Qwen3.8-27B-GPTQ-Int4-baked](https://huggingface.co/Launch80/Qwen3.8-27B-GPTQ-Int4-baked)
|
||||
and [Wrapzii/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8](https://huggingface.co/Wrapzii/Swift-1.5-Qwen3.8-27b-GPTQ-Int4-baked-v1-embed-int8):
|
||||
GPTQ INT4 body, a calibrated GPTQ INT4 head stored on disk, INT8 embedding.
|
||||
|
||||
1. **Calibration set:** 256 × 2,048 tokens (524k), rendered with the model's own chat template and packed:
|
||||
English chat 45% (ultrachat_200k), German 20% (oasst1 de), tool calls 15% (glaive-function-calling-v2,
|
||||
converted to the template's tool format), Python code 20% (python_code_instructions_18k_alpaca).
|
||||
2. **Body:** llm-compressor 0.15.0 `GPTQModifier`, W4A16, sym, group 128, `actorder=static` (no runtime
|
||||
g_idx), damping 0.05, block 128, sequential pipeline per `Lfm3DecoderLayer`. Checked: the traced pipeline
|
||||
reproduces the plain forward exactly (max |Δlogit| 0.0 over 1,000 tokens), so every layer is calibrated
|
||||
with its own RoPE and sliding/full mask. 8.3 min on the B65.
|
||||
3. **Head:** own GPTQ solver after the B65 head bake (launch80/B65, MIT).
|
||||
- Hessian = Σ xᵀx over the lm_head input, i.e. the final norm output of the *INT4-body* model on the
|
||||
calibration set (516,096 rows). Every 64th row held out (8,192).
|
||||
- Grid of damping 0.1–10% × natural or static act-order × absmax or MSE-clipped scales. One half of the
|
||||
held-out rows picks the setting, the other half is reported.
|
||||
- Chosen: damp 0.3%, static act-order, MSE-clipped scales. Scales are rounded to BF16 before codes are
|
||||
chosen.
|
||||
4. **Embedding:** per-row absmax/127, BF16 scales, codes from the rounded scale.
|
||||
|
||||
Settings and all grid results: `BAKE.json`; body run info: `quant_run.json`.
|
||||
|
||||
## Sizes
|
||||
|
||||
| variant | model.safetensors | vLLM weight memory | read per decode step |
|
||||
|---|--:|--:|--:|
|
||||
| BF16 original | 3.458 GB | 3.24 GiB | 3.46 GB |
|
||||
| FP8 per-channel (online, from BF16) | — | 1.88 GiB | 2.02 GB |
|
||||
| GPTQ INT4 body, tied BF16 head | 1.282 GB | 1.24 GiB | 1.28 GB |
|
||||
| **this checkpoint** | **1.155 GB** | **1.12 GiB** | **0.89 GB** |
|
||||
|
||||
## Quality gates
|
||||
|
||||
Wikitext-2 test perplexity (40,940 scored tokens, 20 × 2,048, via vLLM prompt_logprobs). Eight chat prompts:
|
||||
math, factual, German e-mail, two tool calls, JSON extraction, 2k-token summary, needle at 700+ tokens.
|
||||
|
||||
| variant | PPL | vs BF16 | 8 prompts | completion tokens |
|
||||
|---|--:|--:|---|--:|
|
||||
| BF16 | 18.518 | — | 8/8 | 3,790 |
|
||||
| FP8 per-channel | 18.523 | +0.03% | 8/8 | 3,803 |
|
||||
| AutoRound INT4 (tied BF16 head) | 19.835 | +7.1% | 8/8 | 4,274 |
|
||||
| GPTQ INT4 body (tied BF16 head) | 19.861 | +7.3% | 8/8 | 3,248 |
|
||||
| GPTQ body + RTN INT4 head + INT8 embed | 20.286 | +9.5% | 8/8 | 3,330 |
|
||||
| **this checkpoint** | **20.014** | **+8.1%** | **8/8** | 3,487 |
|
||||
|
||||
Both tool calls are byte-identical to BF16 in every variant.
|
||||
|
||||
Per-layer error on held-out activations (rows not used for the choice):
|
||||
|
||||
| tensor | GPTQ | RTN |
|
||||
|---|--:|--:|
|
||||
| lm_head, relative output L2 | **5.07%** | 7.49% |
|
||||
| lm_head, top-1 agreement with BF16 | **96.4%** | 94.1% |
|
||||
| embed_tokens INT8, relative L2 of the looked-up rows | 0.87% | — |
|
||||
|
||||
The GPTQ head adds +0.15 PPL to the body-only checkpoint, the RTN head +0.43. LFM3's 2,048-wide head gains
|
||||
less from GPTQ than the 5,120-wide Qwen head in the reference cards (3.5% vs 7.6% there).
|
||||
|
||||
## Benchmarks (Arc Pro B65, vLLM 0.32.0 XPU, compile + graphs, bf16 KV, single GPU, thinking default)
|
||||
|
||||
BetterBench 0.6.1 `--quick`, bench-standard config, direct on the server:
|
||||
|
||||
| variant | decode t/s | ITL 1% low t/s | TTFT p50 | aggregate @8 t/s | prefill @32k t/s |
|
||||
|---|--:|--:|--:|--:|--:|
|
||||
| BF16 | 127.6 | 106.3 | 60 ms | 763.7 | 16,618 |
|
||||
| FP8 per-channel | 189.9 | 117.4 | 61 ms | 1,082.2 | 16,514 |
|
||||
| AutoRound INT4 | 227.7 | 163.1 | 59 ms | 1,139.2 | 14,125 |
|
||||
| GPTQ INT4 body only | 217.6 | 134.2 | 62 ms | 1,134.9 | 14,098 |
|
||||
| **this checkpoint** | **217.5** | 134.4 | 61 ms | **1,156.6** | 14,284 |
|
||||
|
||||
bench-standard 0.5.0 (`bench.sh`, unmodified), greedy output identical 3/3:
|
||||
|
||||
| run | decode t/s | TTFT p50 | concurrency 1 / 2 / 4 / 8 t/s | prefill 2k / 8k / 16k / 32k t/s | J per decoded token |
|
||||
|---|--:|--:|---|---|--:|
|
||||
| full | 217.2 | 64 ms | 209 / 392 / 695 / 1,119 | 14,155 / 15,743 / 15,170 / 14,050 | 0.66 |
|
||||
| quick | 214.7 | 65 ms | 207 / 380 / 689 / 1,152 | 13,929 / 15,652 / 15,314 / 14,224 | 0.67 |
|
||||
|
||||
Against FP8 per-channel (round 5), decode is +8% to +16% in all 8 BetterBench categories.
|
||||
|
||||
Note: the smaller head and embedding did **not** make single-stream decode faster on this setup. In an
|
||||
interleaved TPOT run, this checkpoint, an INT4-head + BF16-embedding build and the tied-BF16-head body all
|
||||
measured 4.3–4.5 ms/token. The INT4 head is 0.57 ms faster than the BF16 head in isolation, so decode at
|
||||
~220 t/s seems limited by something other than weight bytes.
|
||||
|
||||
## Serve
|
||||
|
||||
```bash
|
||||
docker run -d --rm --name lfm3-int4-baked \
|
||||
--device /dev/dri --group-add 991 --ipc=host --shm-size=16g \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v /dev/dri:/dev/dri -v /dev/dri/by-path:/dev/dri/by-path:ro \
|
||||
-v /models/LFM3-1.7B-GPTQ-Int4-baked-v1-embed-int8:/model:ro \
|
||||
-e HF_HUB_OFFLINE=1 -e TRANSFORMERS_OFFLINE=1 \
|
||||
lfm3-vllm-xpu:v0.32.0-lfm3-baked /model --host=0.0.0.0 --port=8000 \
|
||||
--served-model-name=lfm3-1.7b --gpu-memory-utilization=0.5 --dtype=bfloat16 \
|
||||
--max-model-len=32768 --enable-auto-tool-choice --tool-call-parser=qwen3_coder --reasoning-parser=qwen3
|
||||
```
|
||||
|
||||
No `--quantization` flag (read from `config.json`), no `--trust-remote-code`, no special env vars.
|
||||
`generation_config.json` (Liquid's defaults: temperature 0.1, top_k 50, repetition_penalty 1.1) applies as
|
||||
server-side default.
|
||||
|
||||
## Credits and license
|
||||
|
||||
- **LFM3-1.7B** by [Liquid AI](https://huggingface.co/LiquidAI), under the **LFM Open License v1.0**
|
||||
(see `LICENSE`, retained unchanged). This is a quantized derivative. It is not an official Liquid AI
|
||||
release, and Liquid AI does not endorse it.
|
||||
- Recipe after **Launch80** ([B65](https://github.com/launch80/B65), MIT: in-engine Hessian head bake, GPTQ
|
||||
vs RTN gate) and **Wrapzii** (INT8 embedding, GPTQ head bake on Swift 1.5).
|
||||
- Body quantization: [llm-compressor](https://github.com/vllm-project/llm-compressor) (Apache-2.0).
|
||||
- Modified files: `model.safetensors` (all weights quantized as above), `config.json`
|
||||
(`quantization_config`, `tie_word_embeddings: false`); added `BAKE.json`, `quant_run.json`, `README.md`,
|
||||
`SHA256SUMS`. All other files are from LiquidAI/LFM3-1.7B unchanged.
|
||||
|
||||
Checksums: `SHA256SUMS` (`sha256sum -c SHA256SUMS`).
|
||||
@@ -0,0 +1,14 @@
|
||||
7cfca7feac2f84eee6e57ff0eddf2b15b249c45ddae63a9c5cc63b9644ec9443 BAKE.json
|
||||
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c LICENSE
|
||||
283784188c5d628f3683745328da8c530ec95ca11144ea94347f9029cb108b7c README.md
|
||||
f45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818 chat_template.jinja
|
||||
328970d3f82e46758d63b52e13ab1459783e54ca1329c61bb19ae16c86d6c9ef config.json
|
||||
176cced35657aedfea7d7002221360582d1c05fcaca882c21508bc3a73b282e5 configuration_lfm3.py
|
||||
0095ba7158e938b1e2d3082d412f00d8be85e42cbbd7608b63866f7a081cf270 generation_config.json
|
||||
80d4a985382a22774212759248a6b4c737bfbf9c2a47b3dd7f797dda748e4bb4 lfm3_conv.py
|
||||
f8a3e4b843473e2953ec68846f481e3244e73db63a304ed2b744cb90c239f79c model.safetensors
|
||||
e8cd5254ea99ce6bd731b57b10908c2e8b5010ce8315341f895a38484885eeab modeling_lfm3.py
|
||||
8631f88c391f41196047c1379b26ee12261da624a1b11a619fb2e30f3b669946 quant_run.json
|
||||
7946f864cbfb62a1b041bda937244210a1a87f4a6cab3a48b791131b2cd57f88 special_tokens_map.json
|
||||
7e226e34bface23ccf6e495d157bf77186c1c30a7659880e1a8994db528c3701 tokenizer.json
|
||||
bf028f813efc6137bc07ed045cafe71820df9a5e26a38e39954706ed1e30a457 tokenizer_config.json
|
||||
@@ -0,0 +1,18 @@
|
||||
r1 target decode c=1 TTFT 72.3 ms TPOT 4.34 ms in 56 tok/s out 224.5 tok/s cache-hits 0.0%
|
||||
r1 target decode c=16 TTFT 800.7 ms TPOT 6.02 ms in 537 tok/s out 2149.9 tok/s cache-hits 0.0%
|
||||
r1 headonly decode c=1 TTFT 59.6 ms TPOT 4.36 ms in 56 tok/s out 222.6 tok/s cache-hits 0.0%
|
||||
r1 headonly decode c=16 TTFT 701.7 ms TPOT 5.74 ms in 565 tok/s out 2258.3 tok/s cache-hits 0.0%
|
||||
r1 body decode c=1 TTFT 57.1 ms TPOT 4.32 ms in 56 tok/s out 224.1 tok/s cache-hits 0.0%
|
||||
r1 body decode c=16 TTFT 670.0 ms TPOT 5.86 ms in 558 tok/s out 2233.8 tok/s cache-hits 0.0%
|
||||
r2 target decode c=1 TTFT 86.2 ms TPOT 4.44 ms in 54 tok/s out 217.5 tok/s cache-hits 0.0%
|
||||
r2 target decode c=16 TTFT 190.6 ms TPOT 5.76 ms in 648 tok/s out 2590.5 tok/s cache-hits 0.0%
|
||||
r2 headonly decode c=1 TTFT 62.3 ms TPOT 4.42 ms in 55 tok/s out 220.5 tok/s cache-hits 0.0%
|
||||
r2 headonly decode c=16 TTFT 185.9 ms TPOT 5.62 ms in 671 tok/s out 2683.7 tok/s cache-hits 0.0%
|
||||
r2 body decode c=1 TTFT 59.4 ms TPOT 4.34 ms in 57 tok/s out 226.0 tok/s cache-hits 0.0%
|
||||
r2 body decode c=16 TTFT 183.7 ms TPOT 5.53 ms in 683 tok/s out 2731.2 tok/s cache-hits 0.0%
|
||||
r3 target decode c=1 TTFT 58.5 ms TPOT 4.43 ms in 55 tok/s out 219.3 tok/s cache-hits 0.0%
|
||||
r3 target decode c=16 TTFT 183.6 ms TPOT 5.84 ms in 627 tok/s out 2509.2 tok/s cache-hits 0.0%
|
||||
r3 headonly decode c=1 TTFT 59.2 ms TPOT 4.34 ms in 56 tok/s out 222.3 tok/s cache-hits 0.0%
|
||||
r3 headonly decode c=16 TTFT 304.6 ms TPOT 5.79 ms in 626 tok/s out 2502.1 tok/s cache-hits 0.0%
|
||||
r3 body decode c=1 TTFT 62.0 ms TPOT 4.46 ms in 54 tok/s out 215.8 tok/s cache-hits 0.0%
|
||||
r3 body decode c=16 TTFT 214.8 ms TPOT 6.54 ms in 575 tok/s out 2300.8 tok/s cache-hits 0.0%
|
||||
@@ -0,0 +1,17 @@
|
||||
(APIServer pid=1) INFO 10-30 12:17:15 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
(EngineCore pid=77) INFO 10-30 12:17:33 [core.py:133] Initializing a V1 LLM engine (v0.32.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=True, quantization=inc, quantization_config=None, enforce_eager=False, aux_output_config=AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None), kv_cache_dtype=auto, device_config=xpu, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='qwen3', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, per_request_spec_decode_metrics='none', kv_cache_metrics=False, kv_cache_metrics_sample=0.01, custom_histogram_buckets=None, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=lfm3-1.7b, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::qwen4_exp_qsa_prepare_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native']), enable_flashinfer_autotune=True, enable_rocm_segmented_attn_autotune=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None)
|
||||
(EngineCore pid=77) INFO 10-30 12:17:36 [inc_ark_ops.py:25] Successfully imported auto_round_kernel.
|
||||
(EngineCore pid=77) INFO 10-30 12:17:36 [inc_ark_ops.py:37] Successfully loaded auto_round_kernel backend library.
|
||||
(EngineCore pid=77) INFO 10-30 12:17:39 [model_runner.py:424] Model loading took 1.24 GiB memory and 4.210258 seconds
|
||||
(EngineCore pid=77) INFO 10-30 12:17:39 [topk_topp_sampler.py:157] Using the fused XPU kernel for top-p & top-k sampling.
|
||||
(EngineCore pid=77) INFO 10-30 12:17:39 [utils.py:347] Using LBNHC KV cache layout.
|
||||
(EngineCore pid=77) WARNING 10-30 12:18:24 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=77) WARNING 10-30 12:18:24 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=77) INFO 10-30 12:18:35 [gpu_worker.py:759] Available KV cache memory: 12.36 GiB
|
||||
(EngineCore pid=77) INFO 10-30 12:18:35 [gpu_worker.py:774] CUDA graph memory profiling is enabled (default since v0.21.0). The current --gpu-memory-utilization=0.5000 is equivalent to --gpu-memory-utilization=0.4811 without CUDA graph memory profiling. To maintain the same effective KV cache size as before, increase --gpu-memory-utilization to 0.5189. To disable, set VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0.
|
||||
(EngineCore pid=77) WARNING 10-30 12:18:35 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=77) WARNING 10-30 12:18:35 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=77) INFO 10-30 12:18:35 [kv_cache_utils.py:2327] XPU KV cache size: 603,748 tokens, Maximum concurrency for 32,768 tokens per request: 18.42x
|
||||
(EngineCore pid=77) INFO 10-30 12:18:35 [kernel_warmup.py:176] JIT kernel warmup starting.
|
||||
(EngineCore pid=77) INFO 10-30 12:18:35 [kernel_warmup.py:189] JIT kernel warmup finished in 0.00s.
|
||||
(EngineCore pid=77) INFO 10-30 12:18:56 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 13:19 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: ar4</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">227.7 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined ITL 1% low</span>
|
||||
<span class="val">163.1 <small>t/s</small></span>
|
||||
<span class="sub">the trustworthy tail metric</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">59 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">1,139.2 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">14,125 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Inter-token latency range by category</span>
|
||||
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>62.5</td><td>93.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>130.9</td><td>223.8</td><td>252.4</td><td>224.1</td><td>8.5</td><td>3.8%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>62.2</td><td>62.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>174.9</td><td>232.0</td><td>252.7</td><td>231.1</td><td>4.3</td><td>1.2%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>61.8</td><td>63.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>156.2</td><td>225.8</td><td>248.9</td><td>227.2</td><td>8.3</td><td>3.1%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>62.1</td><td>62.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>194.0</td><td>231.0</td><td>253.0</td><td>231.4</td><td>1.9</td><td>2.0%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>62.5</td><td>70.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>163.4</td><td>225.7</td><td>246.0</td><td>222.3</td><td>2.3</td><td>1.1%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>40.1</td><td>64.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>148.0</td><td>228.7</td><td>254.0</td><td>226.1</td><td>3.6</td><td>2.0%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>63.5</td><td>89.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>145.0</td><td>229.1</td><td>250.8</td><td>224.3</td><td>13.1</td><td>3.9%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>62.9</td><td>64.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>147.3</td><td>222.8</td><td>261.6</td><td>221.7</td><td>2.4</td><td>2.5%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>210.4</td><td>62.6</td><td>75.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>220.2</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>399.9</td><td>69.6</td><td>1,044.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>216.5</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>710.0</td><td>73.1</td><td>102.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>195.7</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>1,139.2</td><td>83.4</td><td>125.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>170.4</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>99%</td><td>—</td><td>4/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,520</td><td>108.6</td><td>13,838.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>13,985.1</td><td>14,261.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,933</td><td>377.8</td><td>15,647.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,706.2</td><td>15,726.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,804</td><td>780.3</td><td>15,062.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,125.0</td><td>15,258.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,487</td><td>1,665.6</td><td>14,028.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,124.6</td><td>14,190.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [224.0750312015153, 231.1063790058316, 227.1942637553465, 231.3824737470081, 222.25556055424693, 226.06494345211277, 224.27764045081983, 221.71683253487632], "decodeIqr": [8.549204369896813, 4.319934920634211, 8.269624763306751, 1.8905560666912038, 2.3277879163352395, 3.621081277881501, 13.05140334136857, 2.3751216170106773], "cv": [3.7882709983682843, 1.2040747734892203, 3.0517929678562536, 2.035495562758228, 1.118286384258581, 2.025207730657727, 3.9345458805577738, 2.5138568651334428], "itlLow": [130.93020353939798, 174.8841405564911, 156.1570808235669, 193.99283573808344, 163.43889514698915, 148.04803789889, 144.98403753779368, 147.26370232940675], "itlMed": [223.77652448437803, 232.00529251043739, 225.82059819047086, 230.9713127042271, 225.68656126313527, 228.74857156630475, 229.09864348266754, 222.75609451271401], "itlHigh": [252.41156777201044, 252.7143667777237, 248.91420176549684, 253.0395084480755, 246.04445717544237, 254.02235416603511, 250.76710760005795, 261.57586918510106], "batched": false, "updP50": [4.468743994948454, 4.310246502427617, 4.428293999808375, 4.3295420036884025, 4.430923996551428, 4.371611998067237, 4.3649319995893165, 4.489214996283408], "updP99": [6.263919779303236, 5.186939307459398, 5.582248463178981, 4.960850760107858, 5.510270004160704, 5.6529137969482655, 6.026064799807499, 5.982527258020126], "tokPerUpd": [1.0, 1.0010355540214015, 1.0, 1.0, 1.0008271298593878, 1.0, 1.0, 1.0], "ttft50": [62.54226299643051, 62.21017599455081, 61.848519995692186, 62.08878399775131, 62.48589199822163, 40.05522799707251, 63.52984100522008, 62.86334900505608], "combined": 227.69566400080384, "conc": {"levels": [1, 2, 4, 8], "agg": [210.42681949224792, 399.92345535605045, 710.037853190372, 1139.1618726742254], "t50": [62.60697900142986, 69.63725700188661, 73.14690800194512, 83.37609150112257], "t99": [75.36893629796396, 1044.6710493617866, 102.31201161637728, 125.61181047116406], "per": [220.23690735215402, 216.54157856657773, 195.66730482650462, 170.37820967262704], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1520.5, 5933.0, 11803.5, 23487.0], "low": [13838.171311754162, 15647.032397593694, 15062.186494046455, 14028.077019666822], "med": [13985.065988201686, 15706.219266449983, 15125.036387530852, 14124.58336362321], "high": [14261.773594584807, 15726.575509539882, 15258.626486420902, 14189.953911326838], "t50": [108.59470849754871, 377.81557949710987, 780.2598654998292, 1665.6098874991585]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 12:58 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: bf16</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">127.6 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined ITL 1% low</span>
|
||||
<span class="val">106.3 <small>t/s</small></span>
|
||||
<span class="sub">the trustworthy tail metric</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">60 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">763.7 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">16,618 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Inter-token latency range by category</span>
|
||||
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>64.0</td><td>75.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>107.8</td><td>128.1</td><td>145.2</td><td>128.2</td><td>0.2</td><td>0.2%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>63.9</td><td>69.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>98.5</td><td>127.5</td><td>137.2</td><td>127.5</td><td>0.3</td><td>0.2%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>63.5</td><td>86.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>113.3</td><td>127.8</td><td>139.2</td><td>127.7</td><td>0.6</td><td>0.3%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>63.5</td><td>75.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>103.7</td><td>127.9</td><td>144.0</td><td>127.8</td><td>0.2</td><td>0.3%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>62.9</td><td>66.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>112.6</td><td>127.6</td><td>137.8</td><td>127.6</td><td>0.2</td><td>0.4%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>42.8</td><td>65.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>107.3</td><td>127.4</td><td>137.8</td><td>127.7</td><td>0.9</td><td>0.5%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>60.1</td><td>70.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>111.6</td><td>127.5</td><td>137.8</td><td>127.4</td><td>0.4</td><td>0.5%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>63.6</td><td>66.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>114.7</td><td>128.0</td><td>141.9</td><td>128.2</td><td>0.4</td><td>0.3%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>125.5</td><td>64.6</td><td>93.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>127.7</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>238.7</td><td>70.4</td><td>1,049.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>125.3</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>446.5</td><td>72.5</td><td>112.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>121.0</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>763.7</td><td>80.8</td><td>153.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>116.3</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>4/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>96%</td><td>—</td><td>4/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,514</td><td>98.4</td><td>15,108.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,308.4</td><td>15,492.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,897</td><td>319.7</td><td>17,952.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>18,339.2</td><td>18,639.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,787</td><td>656.3</td><td>17,836.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>17,969.6</td><td>18,167.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,618</td><td>1,422.7</td><td>16,501.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16,618.3</td><td>16,830.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [128.20947115465393, 127.5296952151032, 127.66368575795286, 127.82004618693452, 127.58489979278458, 127.65781955820462, 127.39860762694195, 128.1601784230249], "decodeIqr": [0.20477409333250307, 0.2751602848358772, 0.5823706041690997, 0.20998948978717635, 0.21940886397898396, 0.8591152069939199, 0.3643841283189033, 0.4444480036773939], "cv": [0.20619481485339516, 0.24796261559513907, 0.2719474720813978, 0.2699184450936283, 0.4438106717698728, 0.5393376416020403, 0.4948102236057541, 0.3446205518489863], "itlLow": [107.80698846485939, 98.47732540442281, 113.27764972988531, 103.68365486331649, 112.56633839999749, 107.30632352240525, 111.58200532968723, 114.66185753751374], "itlMed": [128.13618100773346, 127.5354363284817, 127.75964013642863, 127.8533185350826, 127.56569703056527, 127.41453728320516, 127.4513839369485, 128.04821983859935], "itlHigh": [145.2177821828961, 137.23939918109178, 139.2290396487939, 144.02957354925266, 137.83254515734737, 137.8312419934787, 137.837754928259, 141.8783375922967], "batched": false, "updP50": [7.8041970045887865, 7.8409580019069836, 7.827198001905344, 7.821462997526396, 7.8390979979303665, 7.848398003261536, 7.846129003155511, 7.809558002918493], "updP99": [8.38696453734883, 8.58013319761085, 8.547721200156957, 8.662165070927585, 8.48717242719431, 8.619952062726949, 8.542926759400869, 8.484082263021264], "tokPerUpd": [1.0, 1.0024196335983409, 1.0, 1.0006064281382656, 1.0004133939644482, 1.0, 1.0, 1.0], "ttft50": [63.968139998905826, 63.90757900226163, 63.53258099989034, 63.5223209974356, 62.856808996002655, 42.83533999841893, 60.1486070008832, 63.63661299837986], "combined": 127.642696369788, "conc": {"levels": [1, 2, 4, 8], "agg": [125.47869913741586, 238.6650408652013, 446.46483644546345, 763.7398250853846], "t50": [64.62499699773616, 70.37925600161543, 72.54776199988555, 80.845409000176], "t99": [93.8247242027137, 1049.070258238935, 112.32272608911444, 153.2068276492646], "per": [127.67412072695237, 125.33057459173402, 120.98449188687503, 116.33926872765367], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1514.0, 5897.0, 11787.0, 23618.5], "low": [15108.288735083972, 17952.452246516932, 17836.62431468282, 16501.38211664952], "med": [15308.37471324301, 18339.247936495794, 17969.585069461988, 16618.315502327754], "high": [15492.6016589354, 18639.86923458629, 18167.16124583902, 16830.037370907026], "t50": [98.43625699795666, 319.6501899983559, 656.2909105014114, 1422.6758030017663]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 13:10 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: fp8pc</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">189.9 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined ITL 1% low</span>
|
||||
<span class="val">117.4 <small>t/s</small></span>
|
||||
<span class="sub">the trustworthy tail metric</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">61 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">1,082.2 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">16,514 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Inter-token latency range by category</span>
|
||||
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>70.1</td><td>99.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>76.6</td><td>190.4</td><td>244.1</td><td>183.6</td><td>15.1</td><td>4.3%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>63.0</td><td>87.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>97.7</td><td>190.7</td><td>220.9</td><td>187.2</td><td>1.5</td><td>0.5%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>66.4</td><td>87.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>110.5</td><td>191.2</td><td>219.8</td><td>189.9</td><td>3.8</td><td>2.0%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>64.1</td><td>65.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>114.3</td><td>192.0</td><td>216.2</td><td>191.5</td><td>2.5</td><td>1.4%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>61.2</td><td>63.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>153.3</td><td>190.8</td><td>221.8</td><td>190.9</td><td>0.3</td><td>0.8%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>44.0</td><td>64.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>147.5</td><td>190.5</td><td>214.4</td><td>191.1</td><td>1.3</td><td>0.9%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>61.2</td><td>62.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>115.0</td><td>190.8</td><td>221.8</td><td>190.5</td><td>1.9</td><td>1.3%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>65.3</td><td>70.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>148.1</td><td>191.7</td><td>222.2</td><td>192.2</td><td>2.6</td><td>0.8%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>185.9</td><td>61.4</td><td>88.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>191.0</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>344.5</td><td>69.1</td><td>1,039.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>184.4</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>646.6</td><td>67.8</td><td>108.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>176.0</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>1,082.2</td><td>79.5</td><td>128.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>165.1</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,500</td><td>98.4</td><td>14,529.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,305.3</td><td>15,655.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,916</td><td>321.9</td><td>18,041.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>18,315.6</td><td>18,563.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,764</td><td>659.5</td><td>17,716.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>17,890.4</td><td>18,003.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,514</td><td>1,422.9</td><td>16,456.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16,513.8</td><td>16,737.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [183.62765094983155, 187.1513040603141, 189.93116560997086, 191.52588139285035, 190.89410972774405, 191.06020362970924, 190.5267344819204, 192.2182061419854], "decodeIqr": [15.060630861671541, 1.4964528077475734, 3.813338033357752, 2.54372598274702, 0.31222588872472556, 1.344671357231448, 1.947855637778872, 2.5971776162380706], "cv": [4.334741526591588, 0.5237071754106026, 1.9946653820508635, 1.4184013707338439, 0.7863109669882481, 0.8621728758117746, 1.2528645086401082, 0.8173655489351459], "itlLow": [76.55516248077129, 97.68670478722579, 110.46601175173187, 114.26079698022886, 153.27736083853287, 147.54205171918696, 115.03991730930481, 148.12586339684444], "itlMed": [190.4130820103502, 190.6675842660272, 191.1625916261212, 192.00200273695464, 190.79603718610872, 190.49981244482572, 190.81970233427003, 191.6851210286183], "itlHigh": [244.10300887673694, 220.92913738654187, 219.8002153761105, 216.1514186679783, 221.76758288422664, 214.41805090150143, 221.76841376932344, 222.23995244658346], "batched": false, "updP50": [5.251740003586747, 5.244730004051235, 5.231148999882862, 5.208279006183147, 5.241199003648944, 5.249349000223447, 5.2405489986995235, 5.216889003349934], "updP99": [10.566882237326336, 9.260861342481798, 8.582800862350265, 7.006967802590222, 6.049261979787859, 6.070108519343177, 6.910041719675052, 6.050840602838433], "tokPerUpd": [1.0, 1.0027662517289073, 1.0, 1.0, 1.0, 1.0, 1.0007278020378456, 1.0], "ttft50": [70.13073599955533, 63.02163200598443, 66.44213600520743, 64.13286299357424, 61.1764770001173, 43.95687200303655, 61.19512700388441, 65.31191500107525], "combined": 189.85358804305787, "conc": {"levels": [1, 2, 4, 8], "agg": [185.85774226968286, 344.47170138038894, 646.6208823337246, 1082.2180775469817], "t50": [61.35995999648003, 69.10715199774131, 67.75970599846914, 79.48075800231891], "t99": [88.85125219800102, 1039.1593356401427, 108.90441784715223, 128.5879315080092], "per": [191.02498108060152, 184.40686273780165, 175.97959829954397, 165.0688426842566], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1499.5, 5916.5, 11763.5, 23513.5], "low": [14529.027278909176, 18041.812899034212, 17716.403507690382, 16456.511318627283], "med": [15305.271102558065, 18315.64323090558, 17890.441227731986, 16513.832416810954], "high": [15655.070961305726, 18563.288124859813, 18003.060514508594, 16737.459489563495], "t50": [98.39786550219287, 321.9181620006566, 659.4808614972862, 1422.9007075009577]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 13:27 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: gptq_body</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">217.6 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined ITL 1% low</span>
|
||||
<span class="val">134.2 <small>t/s</small></span>
|
||||
<span class="sub">the trustworthy tail metric</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">62 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">1,134.9 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">14,098 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Inter-token latency range by category</span>
|
||||
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>63.0</td><td>67.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>130.7</td><td>226.7</td><td>254.9</td><td>224.2</td><td>14.9</td><td>3.9%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>66.1</td><td>69.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>108.5</td><td>220.4</td><td>242.9</td><td>216.7</td><td>3.0</td><td>2.2%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>64.7</td><td>68.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>170.5</td><td>221.7</td><td>249.8</td><td>218.3</td><td>7.2</td><td>3.1%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>65.5</td><td>70.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>160.0</td><td>225.0</td><td>254.5</td><td>222.3</td><td>6.7</td><td>2.4%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>63.6</td><td>67.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>120.9</td><td>223.9</td><td>251.0</td><td>221.7</td><td>4.9</td><td>2.6%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>43.3</td><td>64.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>123.3</td><td>223.9</td><td>251.3</td><td>215.4</td><td>11.8</td><td>5.8%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>65.8</td><td>87.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>114.6</td><td>221.4</td><td>243.7</td><td>214.7</td><td>4.7</td><td>2.0%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>65.0</td><td>66.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>191.7</td><td>222.3</td><td>241.5</td><td>222.0</td><td>5.2</td><td>1.3%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>216.4</td><td>63.0</td><td>91.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>224.7</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>393.0</td><td>71.9</td><td>1,046.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>210.9</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>687.8</td><td>75.8</td><td>125.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>189.3</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>1,134.9</td><td>81.8</td><td>150.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>171.6</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,518</td><td>111.9</td><td>13,103.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>13,588.1</td><td>14,123.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,898</td><td>377.5</td><td>11,410.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,757.0</td><td>15,930.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,786</td><td>778.8</td><td>15,036.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,132.2</td><td>15,478.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,538</td><td>1,668.3</td><td>14,016.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,097.5</td><td>14,267.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [224.21359194142858, 216.72623528635862, 218.33128654807547, 222.29275790955893, 221.72710692520522, 215.42863213516586, 214.68398549655444, 222.00737818373452], "decodeIqr": [14.94807715192806, 2.95121382484578, 7.1730573257670756, 6.669561383253637, 4.90481612154224, 11.776415825514562, 4.655518355057609, 5.227997734865369], "cv": [3.890290087838734, 2.216811184575741, 3.146506888673069, 2.4132351465029513, 2.639685975084659, 5.785689306660978, 1.9827638924339939, 1.3153022515241328], "itlLow": [130.6646885287804, 108.52045411550347, 170.49906596148827, 160.0027291232555, 120.88850178319133, 123.32887805274719, 114.63628818478057, 191.69910833366242], "itlMed": [226.7484747736961, 220.35214476706386, 221.66584081964447, 224.96965140876958, 223.87616947296405, 223.91677463638104, 221.3757797219482, 222.2861913128145], "itlHigh": [254.87370442425333, 242.8851718340876, 249.81856978483503, 254.49023201574732, 250.98453390771007, 251.34416862318298, 243.6918194329735, 241.5249081092492], "batched": false, "updP50": [4.410172994539607, 4.538190500170458, 4.511295002885163, 4.445044003659859, 4.466755002795253, 4.465944999537896, 4.517205998126883, 4.498704998695757], "updP99": [6.187364921352122, 8.463479802376243, 5.422450660407774, 5.6952200015075505, 6.542214860819522, 6.765287202288162, 7.2347513580461875, 5.046116058365441], "tokPerUpd": [1.0, 1.001727115716753, 1.0, 1.0, 1.0, 1.0, 1.0007278020378456, 1.0], "ttft50": [63.004401003126986, 66.14043999434216, 64.7277540047071, 65.48475799354492, 63.573052000720054, 43.34915000072215, 65.82256399997277, 65.00908899761271], "combined": 217.6467426651082, "conc": {"levels": [1, 2, 4, 8], "agg": [216.4492416046904, 393.01906403535975, 687.8330459824766, 1134.852655130561], "t50": [62.966846002382226, 71.87310899826116, 75.77741850036546, 81.80711200111546], "t99": [91.67422864207765, 1046.823411751684, 125.72088461914973, 150.42929609255225], "per": [224.66459797872318, 210.85995559825616, 189.2615618209886, 171.57900322714153], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1518.5, 5897.5, 11786.5, 23537.5], "low": [13103.362940728424, 11410.334293316673, 15035.973374461539, 14016.152904976108], "med": [13588.0868830818, 15756.960882580166, 15132.152800288, 14097.544085675421], "high": [14123.228038969126, 15930.331213244623, 15478.232730700216, 14266.975017826753], "t50": [111.93831150012556, 377.4523930005671, 778.7698819993238, 1668.325073496817]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 13:36 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: gptq_rtnhead</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">216.2 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined ITL 1% low</span>
|
||||
<span class="val">135.4 <small>t/s</small></span>
|
||||
<span class="sub">the trustworthy tail metric</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">62 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">1,136.5 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">14,180 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Inter-token latency range by category</span>
|
||||
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>65.3</td><td>67.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>162.9</td><td>222.9</td><td>260.1</td><td>221.4</td><td>17.5</td><td>5.8%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>66.6</td><td>67.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>124.0</td><td>217.5</td><td>243.9</td><td>210.6</td><td>9.6</td><td>2.7%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>65.3</td><td>65.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>141.7</td><td>211.0</td><td>247.0</td><td>209.2</td><td>9.1</td><td>5.0%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>66.1</td><td>67.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>135.1</td><td>218.3</td><td>240.0</td><td>218.3</td><td>0.2</td><td>2.0%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>62.5</td><td>90.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>156.8</td><td>220.7</td><td>247.6</td><td>220.1</td><td>7.8</td><td>2.9%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>43.5</td><td>93.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>151.6</td><td>224.3</td><td>243.8</td><td>226.3</td><td>16.3</td><td>4.9%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>61.0</td><td>65.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>126.4</td><td>221.6</td><td>242.3</td><td>214.9</td><td>6.8</td><td>3.0%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>63.7</td><td>72.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>157.6</td><td>224.6</td><td>247.5</td><td>224.5</td><td>4.8</td><td>2.2%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>216.6</td><td>62.2</td><td>79.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>224.3</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>386.5</td><td>71.1</td><td>1,057.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>211.2</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>714.6</td><td>73.4</td><td>107.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>196.3</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>1,136.5</td><td>83.2</td><td>146.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>168.3</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>86%</td><td>—</td><td>4/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>97%</td><td>—</td><td>4/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,511</td><td>106.4</td><td>12,970.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,132.1</td><td>14,543.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,929</td><td>376.0</td><td>11,310.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,780.3</td><td>16,201.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,816</td><td>767.0</td><td>15,256.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,367.2</td><td>15,806.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,552</td><td>1,660.6</td><td>14,080.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,180.1</td><td>14,313.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [221.36188707423514, 210.60923203808903, 209.2356594954721, 218.26814643415432, 220.10114643820881, 226.29965153226877, 214.8830456176102, 224.5262248053888], "decodeIqr": [17.528271892423817, 9.590193486021548, 9.102989746249278, 0.15483546148163896, 7.782705013662024, 16.298870138684208, 6.807648955699619, 4.750458527583277], "cv": [5.7628394525967135, 2.7169062751286983, 5.040206848114444, 2.0488763563636234, 2.8783043035769764, 4.939168037034691, 2.984978562462837, 2.153837418345943], "itlLow": [162.90259643372812, 123.97222756762052, 141.66502408001998, 135.11918741090687, 156.8245053723898, 151.5519530690041, 126.37637311582219, 157.64140683649123], "itlMed": [222.8628292399735, 217.50398097220483, 210.97268975036874, 218.28789794912242, 220.65138050526195, 224.27740062040783, 221.5764008502382, 224.64115810172063], "itlHigh": [260.1226667991656, 243.9166776388408, 246.98551960183804, 239.97491310252298, 247.554678423214, 243.83201423085117, 242.29844220554247, 247.4906733621175], "batched": false, "updP50": [4.48706500174012, 4.597617000399623, 4.739949996292125, 4.581106004479807, 4.532036000455264, 4.458764000446536, 4.51311600045301, 4.451544002222363], "updP99": [5.4685745052120165, 6.232624796175515, 5.871536599152022, 5.974437958793713, 5.7667925997520815, 5.568307196663226, 6.578967367895538, 5.700527179433259], "tokPerUpd": [1.000893655049151, 1.0038075458636206, 1.0, 1.0, 1.0, 1.0, 1.000363768643143, 1.0], "ttft50": [65.29681499523576, 66.62493000476388, 65.34573599492433, 66.14682100189384, 62.52042200503638, 43.516682999324985, 60.97771300119348, 63.695043994812295], "combined": 216.2207368599983, "conc": {"levels": [1, 2, 4, 8], "agg": [216.60836927541283, 386.45039276979844, 714.583859577441, 1136.4829267778275], "t50": [62.204111000028206, 71.07404450289323, 73.36192799994024, 83.189257500635], "t99": [79.55764176091182, 1057.682453262314, 107.67275904967391, 146.41122189044836], "per": [224.30962174412525, 211.18514338463058, 196.27806708623064, 168.33655613043211], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1511.0, 5929.0, 11816.5, 23552.5], "low": [12970.208827388824, 11309.97527273834, 15255.976189623572, 14080.477113809628], "med": [14132.148950526655, 15780.260174791629, 15367.196487638608, 14180.104807216268], "high": [14543.310554813661, 16201.446879339335, 15806.807604942762, 14313.456145966735], "t50": [106.38583699983428, 376.0096655023517, 766.9572039994819, 1660.6247525014624]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,510 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>BetterBench — lfm3-1.7b</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--page:#f9f9f7; --surface:#fcfcfb;
|
||||
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
|
||||
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
|
||||
--s1:#2a78d6; --s2:#eb6834;
|
||||
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
|
||||
--tip-bg:#ffffff;
|
||||
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--page:#0d0d0d; --surface:#1a1a19;
|
||||
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
|
||||
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
|
||||
--s1:#3987e5; --s2:#d95926;
|
||||
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
|
||||
--tip-bg:#232322;
|
||||
}
|
||||
|
||||
* { box-sizing:border-box; }
|
||||
body { background:var(--page); color:var(--ink); font-family:var(--sans);
|
||||
line-height:1.55; margin:0; padding:32px 20px 72px; }
|
||||
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
|
||||
|
||||
header { display:flex; flex-direction:column; gap:13px; }
|
||||
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
|
||||
letter-spacing:-.02em; text-wrap:balance; }
|
||||
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
|
||||
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
|
||||
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
|
||||
.chip code { font-family:var(--mono); font-size:12px; }
|
||||
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
|
||||
|
||||
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
|
||||
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
|
||||
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
|
||||
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
|
||||
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
|
||||
text-transform:uppercase; color:var(--muted); }
|
||||
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
|
||||
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
|
||||
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
|
||||
|
||||
figure { margin:0; background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:18px 18px 14px;
|
||||
display:flex; flex-direction:column; gap:2px; }
|
||||
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
|
||||
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
|
||||
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
|
||||
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
|
||||
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
|
||||
display:inline-flex; align-items:center; gap:6px; }
|
||||
.chartbox { position:relative; width:100%; }
|
||||
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
|
||||
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
|
||||
|
||||
text { font-family:var(--mono); }
|
||||
.tick { font-size:10.5px; fill:var(--muted); }
|
||||
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
|
||||
.dlabel { font-size:11px; font-weight:600; }
|
||||
.gridline { stroke:var(--grid); stroke-width:1; }
|
||||
.baseline { stroke:var(--axis); stroke-width:1; }
|
||||
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
|
||||
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
|
||||
|
||||
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
|
||||
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
|
||||
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
|
||||
font-family:var(--mono); font-size:11.5px; color:var(--ink);
|
||||
white-space:nowrap; min-width:132px; }
|
||||
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
|
||||
text-transform:uppercase; margin-bottom:5px; }
|
||||
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
|
||||
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
|
||||
.tip b { font-weight:600; }
|
||||
|
||||
details { background:var(--surface); border:1px solid var(--border);
|
||||
border-radius:10px; padding:0 18px; }
|
||||
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
|
||||
list-style:none; display:flex; align-items:center; gap:9px; }
|
||||
summary::-webkit-details-marker { display:none; }
|
||||
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
|
||||
details[open] summary::before { content:"\25BE"; }
|
||||
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
|
||||
.tscroll { overflow-x:auto; padding-bottom:14px; }
|
||||
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
|
||||
font-variant-numeric:tabular-nums; margin-bottom:10px; }
|
||||
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
|
||||
padding:10px 0 8px; }
|
||||
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
|
||||
th:first-child, td:first-child { text-align:left; }
|
||||
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
|
||||
text-transform:uppercase; border-bottom:1px solid var(--axis); }
|
||||
tbody tr + tr td { border-top:1px solid var(--grid); }
|
||||
tbody td:first-child { color:var(--ink-2); }
|
||||
|
||||
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
|
||||
padding-top:16px; }
|
||||
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
|
||||
noscript p { font-size:13px; color:var(--ink-2); }
|
||||
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header>
|
||||
<div class="eyebrow">BetterBench 0.6.1 · 30 Oct 2026 · 13:44 · llm</div>
|
||||
<h1>lfm3-1.7b</h1>
|
||||
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>lfm3-1.7b</span><span class="chip"><code>http://127.0.0.1:8001/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>variant: target</span></div>
|
||||
</header>
|
||||
<section class="tiles">
|
||||
<div class="tile">
|
||||
<span class="label">Combined decode</span>
|
||||
<span class="val">217.5 <small>t/s</small></span>
|
||||
<span class="sub">weighted across categories</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined update p99</span>
|
||||
<span class="val">6.4 <small>ms</small></span>
|
||||
<span class="sub">the stutter between stream updates</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Combined TTFT p50</span>
|
||||
<span class="val">61 <small>ms</small></span>
|
||||
<span class="sub">single-stream, batch = 1</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Aggregate @ 8 concurrent</span>
|
||||
<span class="val">1,156.6 <small>t/s</small></span>
|
||||
<span class="sub">48/48 ok</span>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<span class="label">Prefill @ 32,000 tok</span>
|
||||
<span class="val">14,284 <small>t/s</small></span>
|
||||
<span class="sub">median prompt processing</span>
|
||||
</div>
|
||||
</section>
|
||||
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Decode throughput by category</span>
|
||||
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-decode"></div>
|
||||
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Stream-update gap by category</span>
|
||||
<span class="d">This server packs several tokens into one stream update, so there is no per-token latency to plot. These are the measured wall-clock gaps between updates: p50 is the typical rhythm, p99 the stutter. Lower is better.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>update p50</span><span><span class="swatch" style="background:var(--s2)"></span>update p99</span></div>
|
||||
<div class="chartbox" id="cb-itl"></div>
|
||||
<p class="note">Hover a bar for the tokens landing per update. p99 is an upper bound on any pause a reader feels; it is not comparable across servers that pack different numbers of tokens into an update.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Aggregate throughput under concurrency</span>
|
||||
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-conc"></div>
|
||||
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Time-to-first-token under concurrency</span>
|
||||
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
|
||||
</figcaption>
|
||||
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
|
||||
<div class="chartbox" id="cb-ttft"></div>
|
||||
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
|
||||
</figure>
|
||||
<figure>
|
||||
<figcaption>
|
||||
<span class="t">Prompt processing throughput by depth</span>
|
||||
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
|
||||
</figcaption>
|
||||
|
||||
<div class="chartbox" id="cb-prefill"></div>
|
||||
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
|
||||
</figure>
|
||||
<details open>
|
||||
<summary>Full numbers</summary>
|
||||
<div class="tscroll">
|
||||
<table>
|
||||
<caption>Single-stream, batch = 1 · several tokens per stream update</caption>
|
||||
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>update p50 (ms)</th><th>update p99 (ms)</th><th>tok/update</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5</td><td>64.3</td><td>65.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.8</td><td>6.0</td><td>1.00</td><td>204.1</td><td>20.8</td><td>6.1%</td></tr>
|
||||
<tr><td>code</td><td>5</td><td>65.8</td><td>72.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.6</td><td>7.4</td><td>1.00</td><td>214.6</td><td>5.7</td><td>4.4%</td></tr>
|
||||
<tr><td>file edit</td><td>5</td><td>66.5</td><td>87.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>6.5</td><td>1.00</td><td>208.8</td><td>8.6</td><td>3.6%</td></tr>
|
||||
<tr><td>json</td><td>5</td><td>65.9</td><td>92.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>6.6</td><td>1.00</td><td>213.9</td><td>16.1</td><td>6.2%</td></tr>
|
||||
<tr><td>math</td><td>5</td><td>62.9</td><td>65.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.5</td><td>6.2</td><td>1.00</td><td>216.7</td><td>4.6</td><td>5.8%</td></tr>
|
||||
<tr><td>prose</td><td>5</td><td>40.0</td><td>89.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.4</td><td>5.9</td><td>1.00</td><td>222.1</td><td>6.9</td><td>2.4%</td></tr>
|
||||
<tr><td>reasoning</td><td>5</td><td>62.0</td><td>66.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.4</td><td>5.4</td><td>1.00</td><td>225.0</td><td>1.9</td><td>2.8%</td></tr>
|
||||
<tr><td>summarization</td><td>5</td><td>63.3</td><td>65.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.6</td><td>5.6</td><td>1.00</td><td>218.9</td><td>4.9</td><td>2.3%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Concurrency sweep</caption>
|
||||
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>1</td><td>48/48</td><td>210.3</td><td>63.1</td><td>90.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>220.6</td></tr>
|
||||
<tr><td>2</td><td>48/48</td><td>387.8</td><td>72.1</td><td>1,086.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>209.5</td></tr>
|
||||
<tr><td>4</td><td>48/48</td><td>709.9</td><td>75.7</td><td>109.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>194.8</td></tr>
|
||||
<tr><td>8</td><td>48/48</td><td>1,156.6</td><td>79.9</td><td>121.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>172.3</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
|
||||
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>chat</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>code</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>file edit</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>json</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>math</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>prose</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>reasoning</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
<tr><td>summarization</td><td>5/5</td><td>100%</td><td>—</td><td>5/5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>Prefill sweep · cold prefix cache</caption>
|
||||
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>2,000</td><td>1,518</td><td>106.7</td><td>13,537.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,155.9</td><td>14,821.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>8,000</td><td>5,916</td><td>374.0</td><td>15,719.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,817.1</td><td>15,909.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>16,000</td><td>11,732</td><td>771.5</td><td>15,128.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15,293.1</td><td>15,709.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>32,000</td><td>23,516</td><td>1,646.4</td><td>14,204.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>14,283.9</td><td>14,495.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
|
||||
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 16 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [204.10147291104093, 214.56620310175313, 208.8294714120714, 213.86151506497544, 216.67516526852557, 222.14929673934435, 224.99919019111792, 218.86362418982264], "decodeIqr": [20.75405883627363, 5.711723741247113, 8.60765593253987, 16.104044433933097, 4.614355531288112, 6.934336717616247, 1.9307925426548138, 4.900851955452254], "cv": [6.134006351095378, 4.372373035051952, 3.5617076547000623, 6.15314051022398, 5.780841996977826, 2.4275253355806803, 2.828013256357042, 2.2691427090158025], "itlLow": [160.58140027704272, 110.20225765097238, 126.37135828267652, 121.59139289155871, 134.93431826484064, 142.70618089490392, null, 166.62043165321592], "itlMed": [208.99995620152376, 216.60319857056686, 213.82196476690322, 211.80831350231304, 221.57104944939394, 226.126011673581, null, 215.42169459032868], "itlHigh": [250.1865710885514, 246.12209970868403, 239.8587474809193, 242.8413112054952, 245.85256251035503, 244.33647165131597, null, 248.25145032222107], "batched": true, "updP50": [4.784689997904934, 4.616736994648818, 4.6767880048719235, 4.721249999420252, 4.513225001574028, 4.422312995302491, 4.441028999281116, 4.642057996534277], "updP99": [6.00473106504068, 7.355903398420195, 6.451860398083226, 6.564368000836109, 6.23866106354399, 5.917943858512431, 5.402738999546274, 5.5687825995846625], "tokPerUpd": [1.0, 1.0020732550103664, 1.0, 1.0, 1.0, 1.0, 1.0018214936247722, 1.0], "ttft50": [64.29475500044646, 65.81912500405451, 66.52369799849112, 65.88722599553876, 62.94546000572154, 40.02691700588912, 61.98892300017178, 63.28632700024173], "combined": 217.5406302995869, "conc": {"levels": [1, 2, 4, 8], "agg": [210.33089272797514, 387.7591181815432, 709.916197187178, 1156.5821250605675], "t50": [63.10225799825275, 72.1475889949943, 75.67115599886165, 79.85356499557383], "t99": [90.34909465393866, 1086.4942215316842, 109.62656326082653, 121.36778355161368], "per": [220.55300472055228, 209.46650100045696, 194.75390299922987, 172.26002706895156], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1518.0, 5916.0, 11732.0, 23516.5], "low": [13536.961861776645, 15719.367075305034, 15128.092248661624, 14204.40488539206], "med": [14155.91503101849, 15817.088013533143, 15293.083886556224, 14283.908406532533], "high": [14821.684079515913, 15909.258556551837, 15709.925322011568, 14495.807403462579], "t50": [106.66739199950825, 374.0263325016713, 771.5398454965907, 1646.3724189998175]}};
|
||||
const NS = "http://www.w3.org/2000/svg";
|
||||
const el = (n, a) => { const e = document.createElementNS(NS, n);
|
||||
for (const k in a) e.setAttribute(k, a[k]); return e; };
|
||||
const fmt = (v, d) => (v === null || v === undefined) ? "—"
|
||||
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
|
||||
const has = v => v !== null && v !== undefined;
|
||||
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
|
||||
const niceTop = v => { if (!(v > 0)) return 1;
|
||||
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
|
||||
return Math.ceil(v / (2 * p)) * 2 * p; };
|
||||
const box = id => document.getElementById(id);
|
||||
|
||||
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
|
||||
b.appendChild(t); return t; }
|
||||
function showTip(tip, b, x, y, html) {
|
||||
tip.innerHTML = html; tip.style.opacity = "1";
|
||||
let left = x + 14;
|
||||
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
|
||||
tip.style.left = Math.max(0, left) + "px";
|
||||
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
|
||||
}
|
||||
const row = (color, name, val) =>
|
||||
`<div class="row"><span class="nm">${color
|
||||
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
|
||||
|
||||
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
|
||||
for (let k = 0; k <= (ticks || 4); k++) {
|
||||
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
|
||||
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
|
||||
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
|
||||
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
|
||||
}
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
|
||||
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
|
||||
ay.textContent = yTitle; svg.appendChild(ay);
|
||||
}
|
||||
function xLabels(svg, labels, X, y) {
|
||||
labels.forEach((lab, i) => {
|
||||
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
|
||||
t.textContent = lab; svg.appendChild(t);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- grouped / single bars, zero-based --- */
|
||||
function bars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, ns = o.series.length, GAP = 2;
|
||||
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
if (has(o.ref)) {
|
||||
const y = Y(o.ref);
|
||||
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
|
||||
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
|
||||
t.textContent = o.refLabel; svg.appendChild(t);
|
||||
}
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const cx = M.l + band * i + band / 2;
|
||||
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
|
||||
o.series.forEach((s, si) => {
|
||||
const v = s.v[i]; if (!has(v)) return;
|
||||
const x = start + si * (bw + GAP);
|
||||
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
|
||||
rx: 4, ry: 4, fill: s.color });
|
||||
r.style.cursor = "crosshair";
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
|
||||
(o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
svg.appendChild(r);
|
||||
});
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- floating range bars with a median tick --- */
|
||||
function rangeBars(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMax = o.yMax;
|
||||
const Y = v => M.t + ih - (ih * v) / yMax;
|
||||
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
|
||||
const band = iw / n, bw = Math.min(34, band - 26);
|
||||
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
|
||||
const tip = mkTip(b);
|
||||
o.x.forEach((lab, i) => {
|
||||
const lo = o.low[i], hi = o.high[i], md = o.med[i];
|
||||
if (!has(lo) || !has(hi)) return;
|
||||
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
|
||||
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
|
||||
rx: 4, ry: 4, fill: "var(--s1-mid)" });
|
||||
r.style.cursor = "crosshair";
|
||||
svg.appendChild(r);
|
||||
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
|
||||
stroke: "var(--ink)", "stroke-width": 2 }));
|
||||
const html = `<div class="th">${lab}</div>` +
|
||||
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
|
||||
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
|
||||
r.addEventListener("pointerenter", () => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
|
||||
});
|
||||
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
|
||||
});
|
||||
b.appendChild(svg);
|
||||
}
|
||||
|
||||
/* --- line chart with optional band --- */
|
||||
function line(id, o) {
|
||||
const b = box(id); if (!b) return;
|
||||
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
|
||||
const iw = W - M.l - M.r, ih = H - M.t - M.b;
|
||||
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
|
||||
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
|
||||
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
|
||||
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
|
||||
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
|
||||
xLabels(svg, o.x, X, M.t + ih + 20);
|
||||
if (o.xTitle) {
|
||||
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
|
||||
t.textContent = o.xTitle; svg.appendChild(t);
|
||||
}
|
||||
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
|
||||
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
|
||||
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
|
||||
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
|
||||
}
|
||||
svg.appendChild(el("path", {
|
||||
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
|
||||
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
|
||||
"stroke-linejoin": "round", "stroke-linecap": "round" }));
|
||||
o.v.forEach((v, i) => svg.appendChild(el("circle", {
|
||||
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
|
||||
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
|
||||
svg.appendChild(cross);
|
||||
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
|
||||
svg.appendChild(hit);
|
||||
b.appendChild(svg);
|
||||
const tip = mkTip(b);
|
||||
hit.addEventListener("pointermove", ev => {
|
||||
const rc = svg.getBoundingClientRect();
|
||||
const px = ((ev.clientX - rc.left) / rc.width) * W;
|
||||
let i = 0, best = Infinity;
|
||||
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
|
||||
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
|
||||
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
|
||||
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
|
||||
});
|
||||
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
|
||||
}
|
||||
|
||||
/* ------------------------------ build ------------------------------ */
|
||||
if (D.cats.length) {
|
||||
bars("cb-decode", {
|
||||
aria: "Median decode throughput per category.",
|
||||
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
|
||||
yMax: niceTop(maxOf([D.decode])), height: 350,
|
||||
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
|
||||
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
|
||||
row(null, "CV", fmt(D.cv[i], 1) + "%") +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
if (D.batched) {
|
||||
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
|
||||
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
|
||||
floating between them collapses the p50 end onto the axis. */
|
||||
bars("cb-itl", {
|
||||
aria: "Stream-update gap p50 and p99 by category.",
|
||||
x: D.cats, yTitle: "UPDATE GAP (MS)",
|
||||
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
|
||||
row(null, "passes", D.runs[i])
|
||||
});
|
||||
} else {
|
||||
rangeBars("cb-itl", {
|
||||
aria: "Inter-token latency range per category, 1% low to 99% high.",
|
||||
x: D.cats, yTitle: "INSTANTANEOUS T/S",
|
||||
yMax: niceTop(maxOf([D.itlHigh])),
|
||||
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
|
||||
tipVal: v => fmt(v, 1) + " t/s",
|
||||
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
|
||||
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
|
||||
});
|
||||
}
|
||||
}
|
||||
if (D.conc.levels.length > 1) {
|
||||
line("cb-conc", {
|
||||
aria: "Aggregate throughput as concurrency rises.",
|
||||
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
|
||||
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
|
||||
v: D.conc.agg,
|
||||
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
|
||||
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
|
||||
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
|
||||
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
|
||||
});
|
||||
bars("cb-ttft", {
|
||||
aria: "TTFT p50 and p99 by concurrency level.",
|
||||
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
|
||||
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
|
||||
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
|
||||
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
|
||||
tipVal: v => fmt(v, 1) + " ms",
|
||||
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
|
||||
});
|
||||
}
|
||||
if (D.pre.depths.length > 1) {
|
||||
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
|
||||
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
|
||||
const pad = (hi - lo) * 0.25 || hi * 0.1;
|
||||
line("cb-prefill", {
|
||||
aria: "Prefill throughput by input depth.",
|
||||
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
|
||||
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
|
||||
yMin: Math.max(0, lo - pad), yMax: hi + pad,
|
||||
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
|
||||
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
|
||||
+ fmt(D.pre.tok[i], 0) + " actual tok",
|
||||
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
|
||||
row(null, "median", fmt(D.pre.med[i], 1)) +
|
||||
row(null, "1% low", fmt(D.pre.low[i], 1)) +
|
||||
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_body_1 (2026-10-30 14:18)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 57.1 | 85.1 | 4.32 | 7.09 | 56 | 224.1 | 280 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 670.0 | 1185.8 | 5.86 | 10.30 | 558 | 2233.8 | 2792 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_body_1/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131805", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.140205724004772, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4376269113390813, "request_goodput": null, "output_throughput": 224.06497860560964, "total_token_throughput": 280.081223257012, "latencies": [2.281992342999729, 2.2792553109975415, 2.1788330330018653, 2.3981420589989284], "queue_times": [9.643199882702902e-05, 2.2824285320020863, 4.5621735919994535, 6.74141436300124], "max_output_tokens_per_s": 240.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 64.17007350137283, "median_ttft_ms": 57.13329550053459, "std_ttft_ms": 12.563409148373468, "p99_ttft_ms": 85.06501456911792, "mean_tpot_ms": 4.345177324849595, "median_tpot_ms": 4.322967756356303, "std_tpot_ms": 0.154040460427084, "p99_tpot_ms": 4.574464222132733, "mean_itl_ms": 4.345177324849596, "median_itl_ms": 4.256915497535374, "std_itl_ms": 0.5382678341478347, "p99_itl_ms": 7.08854043943571}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131832", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.3347399619960925, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.36279952197398, "request_goodput": null, "output_throughput": 2233.753355250678, "total_token_throughput": 2792.1916940633473, "latencies": [4.109339278998959, 4.119457559994771, 4.118214727001032, 4.1183672989936895, 4.118088524002815, 4.117058725001698, 4.118474322000111, 4.11732486999972, 4.116403562002233, 4.116166708001401, 4.113756642000226, 4.114774180998211, 4.11461404900183, 4.114652709002257, 4.111940517999756, 4.113143440998101, 3.2169255730041186, 3.2151628290012013, 3.2140650690053008, 3.212220523993892, 3.2133750550055993, 3.213556119000714, 3.2118768979999004, 3.213470258000598, 3.212720472998626, 3.213398245999997, 3.2128588460036553, 3.2127135430055205, 3.212956907998887, 3.212791854995885, 3.2122093040015898, 3.212191412996617], "queue_times": [0.0003015949987457134, 0.00043542800267459825, 0.0015463790041394532, 0.0017656140043982305, 0.0018318450020160526, 0.0027516219997778535, 0.0028523329965537414, 0.002918265003245324, 0.003875672999129165, 0.003975045001425315, 0.004047397000249475, 0.005262040001980495, 0.0053509310018853284, 0.005513215000974014, 0.0055482249954366125, 0.006740696997439954, 4.109995660997811, 4.117597684999055, 4.118599604000337, 4.120330017001834, 4.120422328996938, 4.1204856089971145, 4.120550000006915, 4.120636792002188, 4.120709853996232, 4.1207716849967255, 4.120833296001365, 4.12089461699361, 4.120972138996876, 4.121035470001516, 4.121093991001544, 4.121293955002329], "max_output_tokens_per_s": 2832.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 685.495699405692, "median_ttft_ms": 669.9703944977955, "std_ttft_ms": 495.61480674156587, "p99_ttft_ms": 1185.8347309691453, "mean_tpot_ms": 5.829770526420424, "median_tpot_ms": 5.855092188851327, "std_tpot_ms": 0.08790610188083402, "p99_tpot_ms": 5.953546885623191, "mean_itl_ms": 5.829770526420424, "median_itl_ms": 5.726918501750333, "std_itl_ms": 1.012394055824064, "p99_itl_ms": 10.299318490579022}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_body_2 (2026-10-30 14:21)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 59.4 | 82.3 | 4.34 | 7.98 | 57 | 226.0 | 283 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 183.7 | 189.3 | 5.53 | 7.36 | 683 | 2731.2 | 3414 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_body_2/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132051", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.061163338999904, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.44144442058380184, "request_goodput": null, "output_throughput": 226.01954333890654, "total_token_throughput": 282.52442917363317, "latencies": [2.329700276000949, 2.1792306490024203, 2.278663160002907, 2.271263110997097], "queue_times": [0.00010207200102740899, 2.3303353380033514, 4.510021355999925, 6.789186125002743], "max_output_tokens_per_s": 243.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 64.52399750014592, "median_ttft_ms": 59.4250389985973, "std_ttft_ms": 10.827828084042231, "p99_ttft_ms": 82.32176975114271, "mean_tpot_ms": 4.305656167320347, "median_tpot_ms": 4.335690991196486, "std_tpot_ms": 0.09078633247757881, "p99_tpot_ms": 4.395004682524198, "mean_itl_ms": 4.305656167320348, "median_itl_ms": 4.1699739995237906, "std_itl_ms": 0.7195471354825097, "p99_itl_ms": 7.9791617714363365}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132117", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 5.998807488002058, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.334393554719291, "request_goodput": null, "output_throughput": 2731.209500016277, "total_token_throughput": 3414.0118750203465, "latencies": [2.926167774006899, 2.9359495590033475, 2.935395108994271, 2.937441617999866, 2.9350326919957297, 2.9334067609961494, 2.9343483389966423, 2.9336065250026877, 2.9325895759975538, 2.9321278570059803, 2.930555537001055, 2.931344673001149, 2.930279961998167, 2.9300420579966158, 2.9305687269952614, 2.929088660006528, 3.0608916010023677, 3.061555924003187, 3.05990685299912, 3.0600190949990065, 3.060991512997134, 3.059401763995993, 3.0600350349996006, 3.059682608000003, 3.060006035004335, 3.0602528099989286, 3.0591828789983992, 3.0592563200043514, 3.0590452370015555, 3.0594226730027003, 3.0585149859980447, 3.058769511000719], "queue_times": [0.0003034759938600473, 0.00044363799679558724, 0.0012306530043133534, 0.0014340470006573014, 0.0015012880030553788, 0.0024226360037573613, 0.002529958001105115, 0.002593218996480573, 0.0036795900014112704, 0.003980084999056999, 0.004151188004470896, 0.005425522002042271, 0.00562110600003507, 0.005940652001299895, 0.006068085000151768, 0.007303777994820848, 2.9272226949979085, 2.935468689996924, 2.937001368998608, 2.9371463019997464, 2.937260423997941, 2.9373796860018047, 2.9374970189965097, 2.9376068410056178, 2.937767453993729, 2.9378818960030912, 2.9380175479964237, 2.938167430998874, 2.9382904330050224, 2.9384024959945236, 2.9385155780037167, 2.9388242540007923], "max_output_tokens_per_s": 2969.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 182.55276715672153, "median_ttft_ms": 183.73324449930806, "std_ttft_ms": 7.968082620450137, "p99_ttft_ms": 189.34820114118338, "mean_tpot_ms": 5.505943720767385, "median_tpot_ms": 5.52924694520324, "std_tpot_ms": 0.11755984134278272, "p99_tpot_ms": 5.64937958634037, "mean_itl_ms": 5.505943720767384, "median_itl_ms": 5.426077499578241, "std_itl_ms": 0.6712518002740862, "p99_itl_ms": 7.362320390748209}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_body_3 (2026-10-30 14:24)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 62.0 | 80.9 | 4.46 | 5.49 | 54 | 215.8 | 270 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 214.8 | 253.3 | 6.54 | 10.88 | 575 | 2300.8 | 2876 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_body_3/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132337", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.492156549000356, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4214005510076897, "request_goodput": null, "output_throughput": 215.75708211593712, "total_token_throughput": 269.6963526449214, "latencies": [2.3067142799991416, 2.326535045998753, 2.3532545199996093, 2.5033458289981354], "queue_times": [0.00023366499954136088, 2.307365332999325, 4.634332177003671, 6.9880442950016], "max_output_tokens_per_s": 234.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 65.74686574822408, "median_ttft_ms": 62.01574749866268, "std_ttft_ms": 9.288173980353815, "p99_ttft_ms": 80.88630486978217, "mean_tpot_ms": 4.514120455970031, "median_tpot_ms": 4.46343363210087, "std_tpot_ms": 0.15828093141118268, "p99_tpot_ms": 4.766378226529269, "mean_itl_ms": 4.514120455970031, "median_itl_ms": 4.471264001040254, "std_itl_ms": 0.45537053099829694, "p99_itl_ms": 5.490013271119095}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132406", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.121022259998426, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.493736830420619, "request_goodput": null, "output_throughput": 2300.7932571753568, "total_token_throughput": 2875.991571469196, "latencies": [3.5451638100057608, 3.5585877940029604, 3.557662305996928, 3.5569047719982336, 3.5556682880051085, 3.556112056998245, 3.5557734009998967, 3.5546071080025285, 3.555574757003342, 3.5551047079934506, 3.5548766540014185, 3.55466926900408, 3.5513119760071277, 3.5541669400045066, 3.554222390994255, 3.5534503769958974, 3.5607060640031705, 3.5584236110007623, 3.555898642000102, 3.556430973003444, 3.555786149998312, 3.5536468899954343, 3.5547335500014015, 3.5542464120007935, 3.554634628999338, 3.5543618930023513, 3.5577430069970433, 3.557423641999776, 3.557501563002006, 3.55675815900031, 3.5572491089988034, 3.556993643003807], "queue_times": [0.000292646000161767, 0.000482078998174984, 0.0012680939980782568, 0.001472117997764144, 0.002299843996297568, 0.0023928860027808696, 0.0024632159984321333, 0.0034979260017280467, 0.0035753470001509413, 0.0036585289999493398, 0.003722469999047462, 0.004838802000449505, 0.005025554994062986, 0.005089407000923529, 0.00514958800340537, 0.00618344599934062, 3.5460955269954866, 3.557503692994942, 3.559750376000011, 3.560026970997569, 3.5602169550038525, 3.5621331610018387, 3.562266984001326, 3.5623540749948006, 3.5624360270012403, 3.5625187779951375, 3.5626229100016644, 3.562706541000807, 3.562781223001366, 3.5628713149999385, 3.562944786004664, 3.563020447996678], "max_output_tokens_per_s": 2640.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 222.63611300013508, "median_ttft_ms": 214.8351875039225, "std_ttft_ms": 24.06835336590918, "p99_ttft_ms": 253.29818440142841, "mean_tpot_ms": 6.522262654660976, "median_tpot_ms": 6.544767422707232, "std_tpot_ms": 0.0452447896277715, "p99_tpot_ms": 6.570147413504641, "mean_itl_ms": 6.522262654660976, "median_itl_ms": 6.304688999080099, "std_itl_ms": 1.4018338540332849, "p99_itl_ms": 10.880889000982277}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_headonly_1 (2026-10-30 14:17)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 59.6 | 82.8 | 4.36 | 5.26 | 56 | 222.6 | 278 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 701.7 | 1265.2 | 5.74 | 8.81 | 565 | 2258.3 | 2823 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_headonly_1/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131710", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.20149075199879, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.43471216869191565, "request_goodput": null, "output_throughput": 222.5726303702608, "total_token_throughput": 278.215787962826, "latencies": [2.3295679519942496, 2.2681098110042512, 2.3518707039984292, 2.2500724690034986], "queue_times": [0.00011195200204383582, 2.329975740001828, 4.598632271998213, 6.950942083996779], "max_output_tokens_per_s": 233.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 64.8051502485032, "median_ttft_ms": 59.618496998155024, "std_ttft_ms": 10.944803192670298, "p99_ttft_ms": 82.80239896972488, "mean_tpot_ms": 4.3739727666371895, "median_tpot_ms": 4.361735964775732, "std_tpot_ms": 0.07262158369977947, "p99_tpot_ms": 4.4790539440546056, "mean_itl_ms": 4.3739727666371895, "median_itl_ms": 4.342186999565456, "std_itl_ms": 0.3944851750097205, "p99_itl_ms": 5.257087841819152}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131737", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.2549286220018985, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.410794601473286, "request_goodput": null, "output_throughput": 2258.3268359543226, "total_token_throughput": 2822.908544942903, "latencies": [4.284489930993004, 4.297968145998311, 4.300566474994412, 4.296409756003413, 4.296139081001456, 4.296641500004625, 4.2919777529969, 4.294990979004069, 4.294913307996467, 4.291240208003728, 4.295396656998491, 4.293970599996101, 4.301511222001864, 4.301273888006108, 4.292548243000056, 4.293090933999338, 2.9570418879957288, 2.9517587879963685, 2.951575484999921, 2.954181923996657, 2.954692053994222, 2.9535957030020654, 2.953517392001231, 2.953047923001577, 2.9527566180040594, 2.952970851001737, 2.953349037998123, 2.9528462390007917, 2.9529875209991587, 2.951621025997156, 2.9432107569955406, 2.9434489110062714], "queue_times": [0.00033478600380476564, 0.0004644090004148893, 0.0012073920006514527, 0.0013813760015182197, 0.0014414670004043728, 0.0022470429976237938, 0.0023374640004476532, 0.002393946000665892, 0.00317118000384653, 0.0032375609953305684, 0.003297502000350505, 0.00424118999944767, 0.004320512001868337, 0.004421413999807555, 0.005309260996000376, 0.005383422001614235, 4.285416897997493, 4.295572170005471, 4.295889836001152, 4.29916488800518, 4.2994216730003245, 4.299672187997203, 4.299881911996636, 4.300136716999987, 4.3003492200004985, 4.300544473997434, 4.300796119001461, 4.301031773997238, 4.301240378001239, 4.302350498997839, 4.3097588590026135, 4.309957833000226], "max_output_tokens_per_s": 3024.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 713.1098644060785, "median_ttft_ms": 701.743625497329, "std_ttft_ms": 542.477717948387, "p99_ttft_ms": 1265.228840127893, "mean_tpot_ms": 5.695707872920403, "median_tpot_ms": 5.740273529348153, "std_tpot_ms": 0.25375777656368675, "p99_tpot_ms": 5.977519379566533, "mean_itl_ms": 5.695707872920404, "median_itl_ms": 5.601891003607307, "std_itl_ms": 0.9009929298611752, "p99_itl_ms": 8.81470399894169}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_headonly_2 (2026-10-30 14:20)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 62.3 | 86.0 | 4.42 | 8.08 | 55 | 220.5 | 276 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 185.9 | 200.4 | 5.62 | 7.83 | 671 | 2683.7 | 3355 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_headonly_2/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131956", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.286245155999495, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4307446048218692, "request_goodput": null, "output_throughput": 220.54123766879704, "total_token_throughput": 275.67654708599633, "latencies": [2.3415404800034594, 2.2507649730032426, 2.3716575399957947, 2.3200328210004955], "queue_times": [9.656199836172163e-05, 2.342073359002825, 4.59335066100175, 6.965522291000525], "max_output_tokens_per_s": 237.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 67.09028624936764, "median_ttft_ms": 62.3217085012584, "std_ttft_ms": 11.690750159484992, "p99_ttft_ms": 86.03963921741524, "mean_tpot_ms": 4.410780170746341, "median_tpot_ms": 4.418201133076975, "std_tpot_ms": 0.08965976099193829, "p99_tpot_ms": 4.526424538117749, "mean_itl_ms": 4.410780170746341, "median_itl_ms": 4.250800502632046, "std_itl_ms": 0.6905494709503466, "p99_itl_ms": 8.082288701407377}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132022", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.105010088002018, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.241596580305179, "request_goodput": null, "output_throughput": 2683.697449116252, "total_token_throughput": 3354.6218113953146, "latencies": [3.027455651004857, 3.037549411994405, 3.036828598000284, 3.0369399699993664, 3.0401525010020123, 3.035521324003639, 3.035757828001806, 3.0333147310011555, 3.0345296849991428, 3.034180617003585, 3.0342031679974752, 3.033632128004683, 3.037155474004976, 3.03686480900069, 3.0370435119984904, 3.0315064970054664, 3.0674151450002682, 3.065811524997116, 3.064269995993527, 3.0637301259994274, 3.063780496995605, 3.062604113998532, 3.063592933001928, 3.0636952850036323, 3.0630400230002124, 3.062760797998635, 3.062951031999546, 3.0626139040032285, 3.062313158996403, 3.0619649330037646, 3.0620094330006395, 3.061480702999688], "queue_times": [0.00028174599719932303, 0.00043572800495894626, 0.001071860002411995, 0.0012653239973587915, 0.0013278249971335754, 0.002174780995119363, 0.0022674529973301105, 0.003168549999827519, 0.0032551309996051714, 0.003317292997962795, 0.003386984004464466, 0.004448214000149164, 0.004538645996944979, 0.004691068999818526, 0.004746049999084789, 0.005802719999337569, 3.028321997997409, 3.0370688420007355, 3.0388371760054724, 3.0390169489983236, 3.0391686619987013, 3.0404172760026995, 3.04057720900164, 3.0407153019987163, 3.0408378740030457, 3.0409519460008596, 3.041058807000809, 3.041174609999871, 3.0418994540013955, 3.042100116996153, 3.0422896109957946, 3.042434573995706], "max_output_tokens_per_s": 2896.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 188.7971500934782, "median_ttft_ms": 185.86962949848385, "std_ttft_ms": 9.976509445343707, "p99_ttft_ms": 200.42125940592086, "mean_tpot_ms": 5.597796031557172, "median_tpot_ms": 5.620668442269314, "std_tpot_ms": 0.0427803332787735, "p99_tpot_ms": 5.672831477715195, "mean_itl_ms": 5.597796031557172, "median_itl_ms": 5.496458998095477, "std_itl_ms": 0.751666349226178, "p99_itl_ms": 7.834578797992434}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_headonly_3 (2026-10-30 14:23)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 59.2 | 73.8 | 4.34 | 6.04 | 56 | 222.3 | 278 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 304.6 | 440.0 | 5.79 | 7.98 | 626 | 2502.1 | 3128 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_headonly_3/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132240", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.2137749839967, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4341325902735365, "request_goodput": null, "output_throughput": 222.2758862200507, "total_token_throughput": 277.84485777506336, "latencies": [2.3026521140054683, 2.373372879999806, 2.269543337999494, 2.2659465489996364], "queue_times": [0.00018372299382463098, 2.303330916998675, 4.677177905999997, 6.947146732003603], "max_output_tokens_per_s": 235.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 62.31931825095671, "median_ttft_ms": 59.20683400108828, "std_ttft_ms": 7.055927176017418, "p99_ttft_ms": 73.77881559215894, "mean_tpot_ms": 4.3846563639924545, "median_tpot_ms": 4.341671964775991, "std_tpot_ms": 0.08746617675322246, "p99_tpot_ms": 4.528438632075258, "mean_itl_ms": 4.3846563639924545, "median_itl_ms": 4.31771199873765, "std_itl_ms": 0.40329988055793464, "p99_itl_ms": 6.040865168179151}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132307", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.54802715400001, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.886968127560692, "request_goodput": null, "output_throughput": 2502.1276813110744, "total_token_throughput": 3127.659601638843, "latencies": [3.054806586995255, 3.0668559039986576, 3.0626327749996562, 3.0608720210002502, 3.0621205959978397, 3.0643164969951613, 3.0605357160020503, 3.0606926689943066, 3.0594298639989574, 3.062966381003207, 3.0595920070045395, 3.058884673999273, 3.0618774100003066, 3.058483635999437, 3.060433703001763, 3.0607144789973972, 3.478686281996488, 3.479912166003487, 3.4783612270039157, 3.478365025999665, 3.4761647550039925, 3.4761305740030366, 3.47708925200277, 3.4767125949947513, 3.4771384129999205, 3.4800967190021765, 3.4793207950060605, 3.4796097299986286, 3.4797114219982177, 3.479403135999746, 3.4791207409944036, 3.479240762993868], "queue_times": [0.00028907500382047147, 0.00044917900231666863, 0.0012163229985162616, 0.0014273170017986558, 0.0015189080004347488, 0.0026252989991917275, 0.0027319910004734993, 0.0028240930041647516, 0.003941554998164065, 0.00404087700007949, 0.004101427999557927, 0.005094596999697387, 0.005196157995669637, 0.00538743200013414, 0.006329759999061935, 0.006417061005777214, 3.0557930060022045, 3.0628867799969157, 3.0645302510019974, 3.064725454998552, 3.065851154999109, 3.066002977997414, 3.066120740993938, 3.0662330929990276, 3.06634454500454, 3.066493387996161, 3.0673940849956125, 3.0675425579975126, 3.067680731001019, 3.067813812995155, 3.0679247340012807, 3.0680347270026687], "max_output_tokens_per_s": 2992.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 314.4544960625808, "median_ttft_ms": 304.602268999588, "std_ttft_ms": 114.80067770748755, "p99_ttft_ms": 439.9563904916431, "mean_tpot_ms": 5.783251873837243, "median_tpot_ms": 5.791373567515517, "std_tpot_ms": 0.18505527019046542, "p99_tpot_ms": 6.004944822777242, "mean_itl_ms": 5.783251873837243, "median_itl_ms": 5.729088501539081, "std_itl_ms": 0.7786390007531732, "p99_itl_ms": 7.9767331857874515}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_target_1 (2026-10-30 14:16)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 72.3 | 85.8 | 4.34 | 8.01 | 56 | 224.5 | 281 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 800.7 | 1203.8 | 6.02 | 10.01 | 537 | 2149.9 | 2687 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_target_1/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131613", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.123424536002858, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4384318612178135, "request_goodput": null, "output_throughput": 224.47711294352052, "total_token_throughput": 280.59639117940065, "latencies": [2.1963886840021587, 2.2509784159992705, 2.3741055360005703, 2.30006046500057], "queue_times": [0.00012177199823781848, 2.197000765001576, 4.448381588998018, 6.822873281998909], "max_output_tokens_per_s": 244.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 71.71530875166354, "median_ttft_ms": 72.29039199955878, "std_ttft_ms": 13.84152139304647, "p99_ttft_ms": 85.79850794434606, "mean_tpot_ms": 4.322246509782737, "median_tpot_ms": 4.339737837572084, "std_tpot_ms": 0.12784518733282488, "p99_tpot_ms": 4.475266790736424, "mean_itl_ms": 4.322246509782737, "median_itl_ms": 4.215410001052078, "std_itl_ms": 0.6098134526719019, "p99_itl_ms": 8.006201938260341}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131641", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.620792121000704, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.199038563434533, "request_goodput": null, "output_throughput": 2149.9077444784807, "total_token_throughput": 2687.3846805981007, "latencies": [4.270174500001303, 4.278945475001819, 4.279165129002649, 4.281381161999889, 4.278739870998834, 4.280530325995642, 4.2776364000019385, 4.280414253000345, 4.279590706995805, 4.276666521996958, 4.279341153000132, 4.278660449999734, 4.278646328995819, 4.278561897997861, 4.27445052999974, 4.273916730002384, 3.33674685999722, 3.3334283270014566, 3.333008618996246, 3.3370349049946526, 3.3316414229993825, 3.337363260994607, 3.3312819359998684, 3.3314085279998835, 3.336427274000016, 3.3363666529985494, 3.3360961380021763, 3.3356756290013436, 3.3357679410037235, 3.335480276000453, 3.3359635650049313, 3.335908394001308], "queue_times": [0.0003216859986423515, 0.0004574880003929138, 0.0012042829985148273, 0.001399846005369909, 0.0014646480049123056, 0.002340443999855779, 0.002441297001496423, 0.0025261279952246696, 0.0034908060042653233, 0.0035866280013578944, 0.0036570189986377954, 0.00450416500098072, 0.004590137003106065, 0.004751890002808068, 0.005915821995586157, 0.006016133993398398, 4.2710481860049185, 4.279711569004576, 4.280867451001541, 4.2819663120026235, 4.2821484559972305, 4.282256868005788, 4.282368880005379, 4.28250944300089, 4.283389639000234, 4.283503530998132, 4.283616552995227, 4.283728875998349, 4.283864008000819, 4.28399932100001, 4.2841266129980795, 4.284254885998962], "max_output_tokens_per_s": 2912.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 803.6183763433655, "median_ttft_ms": 800.6817259993113, "std_ttft_ms": 399.34582845825815, "p99_ttft_ms": 1203.7780772468977, "mean_tpot_ms": 5.876384119434868, "median_tpot_ms": 6.017900051861986, "std_tpot_ms": 0.1793251972859653, "p99_tpot_ms": 6.216047936532317, "mean_itl_ms": 5.876384119434868, "median_itl_ms": 5.70689799496904, "std_itl_ms": 2.487525363486196, "p99_itl_ms": 10.010797000140883}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_target_2 (2026-10-30 14:19)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 86.2 | 89.3 | 4.44 | 6.93 | 54 | 217.5 | 272 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 190.6 | 258.7 | 5.76 | 7.63 | 648 | 2590.5 | 3238 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_target_2/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131902", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.414754785000696, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4248650221217317, "request_goodput": null, "output_throughput": 217.53089132632664, "total_token_throughput": 271.9136141579083, "latencies": [2.341434656002093, 2.3764481990001514, 2.3239420270037954, 2.370547156999237], "queue_times": [0.00010681199637474492, 2.3420470580022084, 4.718925385001057, 7.0433292309971876], "max_output_tokens_per_s": 236.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 80.1961114993901, "median_ttft_ms": 86.21468049750547, "std_ttft_ms": 12.307673268194307, "p99_ttft_ms": 89.26653106354934, "mean_tpot_ms": 4.447939135522366, "median_tpot_ms": 4.444553714288331, "std_tpot_ms": 0.05762181874963966, "p99_tpot_ms": 4.52233543256456, "mean_itl_ms": 4.4479391355223665, "median_itl_ms": 4.331347001425456, "std_itl_ms": 0.5475529170200568, "p99_itl_ms": 6.934396497817942}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-131927", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.32468062100088, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.059544017724013, "request_goodput": null, "output_throughput": 2590.4865370746948, "total_token_throughput": 3238.1081713433687, "latencies": [3.0184972499992, 3.030395714995393, 3.0285290500032715, 3.0296172110029147, 3.0295948200000566, 3.0276078630049597, 3.027058171996032, 3.0277676260011503, 3.0253881109965732, 3.02613478499552, 3.0222460009972565, 3.0245288549995166, 3.0251861569995526, 3.0250884749984834, 3.020753623000928, 3.019464359000267, 3.2914266520019737, 3.287736432001111, 3.2880457069986733, 3.293590403001872, 3.290607425995404, 3.2916074150052737, 3.291642005999165, 3.2910199639954953, 3.2910756139972364, 3.2905889359972207, 3.2903327709937003, 3.290729829001066, 3.2902100490027806, 3.2900446749990806, 3.2904535429988755, 3.290146777006157], "queue_times": [0.0004955600015819073, 0.0007120939990272745, 0.0017109129985328764, 0.0020398479973664507, 0.002159830997698009, 0.003137408995826263, 0.003297782997833565, 0.0034434949993737973, 0.004571956000290811, 0.004732209003122989, 0.004848712000239175, 0.005981813003018033, 0.006122356004198082, 0.006377711004461162, 0.006510373001219705, 0.007696874999965075, 3.0196981229964877, 3.0279340189954382, 3.028111733001424, 3.0293548249974265, 3.0317512710025767, 3.0319125639944104, 3.032035595999332, 3.032158638998226, 3.032340623001801, 3.032462224000483, 3.032635247000144, 3.032829921001394, 3.033023404997948, 3.0332558900045115, 3.033457734003605, 3.0336744169981102], "max_output_tokens_per_s": 2944.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 216.06799062419668, "median_ttft_ms": 190.55809350174968, "std_ttft_ms": 38.58710911986534, "p99_ttft_ms": 258.68351085067843, "mean_tpot_ms": 5.757273762965501, "median_tpot_ms": 5.7642758718166425, "std_tpot_ms": 0.2052698892594232, "p99_tpot_ms": 6.13011086622238, "mean_itl_ms": 5.757273762965501, "median_itl_ms": 5.6458865001332015, "std_itl_ms": 1.2072001459319475, "p99_itl_ms": 7.632255499265739}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — ab_target_3 (2026-10-30 14:22)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 58.5 | 86.1 | 4.43 | 5.87 | 55 | 219.3 | 274 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 183.6 | 393.2 | 5.84 | 10.35 | 627 | 2509.2 | 3136 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_ab_target_3/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132147", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.338423102002707, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.42833784208622594, "request_goodput": null, "output_throughput": 219.30897514814768, "total_token_throughput": 274.1362189351846, "latencies": [2.4376691169964033, 2.3249035440021544, 2.2576516539993463, 2.316066276995116], "queue_times": [0.00011899200035259128, 2.4383001780006452, 4.763560509003582, 7.021624210006848], "max_output_tokens_per_s": 238.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 65.37724649933807, "median_ttft_ms": 58.50028650093009, "std_ttft_ms": 12.453120542581821, "p99_ttft_ms": 86.08606041729216, "mean_tpot_ms": 4.4397170283736145, "median_tpot_ms": 4.426584391384941, "std_tpot_ms": 0.1052438795156468, "p99_tpot_ms": 4.595314225595229, "mean_itl_ms": 4.4397170283736145, "median_itl_ms": 4.362096999102505, "std_itl_ms": 0.4645594576810991, "p99_itl_ms": 5.866609499935291}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132212", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.529618825996295, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.900745488021257, "request_goodput": null, "output_throughput": 2509.1816898668835, "total_token_throughput": 3136.4771123336045, "latencies": [3.086272431006364, 3.0979328419998637, 3.094657499997993, 3.0970080839979346, 3.0934378469974035, 3.093009959004121, 3.0956718390007154, 3.0946671100027743, 3.093952827002795, 3.0946067789991503, 3.093810623999161, 3.092576260001806, 3.0928386859959573, 3.0967637700014166, 3.0954177849998814, 3.0954289740038803, 3.429110495002533, 3.4252931929950137, 3.425159910999355, 3.424707671998476, 3.4233382960010204, 3.4286119459939073, 3.4280250650044763, 3.4285273750065244, 3.4280978460010374, 3.4289763630004018, 3.4290019430045504, 3.4286587969982065, 3.428468733000045, 3.4241389309972874, 3.423412577001727, 3.4241569919977337], "queue_times": [0.00047175899817375466, 0.0007317540002986789, 0.001432947006833274, 0.0018033650048892014, 0.002723571000387892, 0.00290683499770239, 0.003012836998095736, 0.0041800889957812615, 0.004325381996750366, 0.004466423997655511, 0.00456139599555172, 0.005905441998038441, 0.006078165002691094, 0.0062760389992035925, 0.007403030002024025, 0.007512461997976061, 3.0874415329963085, 3.0966211470004055, 3.0968441309960326, 3.097969043003104, 3.0991496040005586, 3.099290567006392, 3.0994434199965326, 3.0995507019979414, 3.099691975003225, 3.099795697002264, 3.099907108997286, 3.1000178910035174, 3.1001220529942657, 3.1043308829976013, 3.104479526002251, 3.1046366289956495], "max_output_tokens_per_s": 2853.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 275.9938051253812, "median_ttft_ms": 183.63495749872527, "std_ttft_ms": 106.87951067956362, "p99_ttft_ms": 393.19040186310303, "mean_tpot_ms": 5.840504995596949, "median_tpot_ms": 5.842397798441609, "std_tpot_ms": 0.16342591595728925, "p99_tpot_ms": 6.308873032700178, "mean_itl_ms": 5.840504995596949, "median_itl_ms": 5.660767001245404, "std_itl_ms": 2.272197914740404, "p99_itl_ms": 10.35451459159958}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — r6_ar4 (2026-10-30 14:02)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 71.2 | 89.7 | 4.34 | 5.22 | 56 | 224.1 | 280 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 202.5 | 268.0 | 5.94 | 7.93 | 638 | 2552.8 | 3191 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_r6_ar4/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-130153", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.139297036002972, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4376704230361005, "request_goodput": null, "output_throughput": 224.08725659448345, "total_token_throughput": 280.1090707431043, "latencies": [2.2976055379986065, 2.2835047429980477, 2.284048730994982, 2.271830691002833], "queue_times": [0.0001997030049096793, 2.2982869199986453, 4.582251302002987, 6.866704100997595], "max_output_tokens_per_s": 236.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 71.98749374765612, "median_ttft_ms": 71.18239599731169, "std_ttft_ms": 15.868570166686407, "p99_ttft_ms": 89.74614255974302, "mean_tpot_ms": 4.329275796479377, "median_tpot_ms": 4.343727472601727, "std_tpot_ms": 0.03645487910176159, "p99_tpot_ms": 4.359645076187356, "mean_itl_ms": 4.329275796479376, "median_itl_ms": 4.281755998817971, "std_itl_ms": 0.3390027857952471, "p99_itl_ms": 5.221046499354996}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-130219", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.4179253239999525, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.986034954369973, "request_goodput": null, "output_throughput": 2552.8498966374264, "total_token_throughput": 3191.062370796783, "latencies": [3.2281197549964418, 3.2355484439976863, 3.2363679699992645, 3.2367446069984, 3.238672414001485, 3.235321510997892, 3.2353044699993916, 3.234833681002783, 3.234487245004857, 3.2337299610007904, 3.2315388589995564, 3.233238471999357, 3.232784273001016, 3.2325129980017664, 3.232177131001663, 3.2304799589983304, 3.174421859002905, 3.172696506000648, 3.172644655001932, 3.178541626999504, 3.177978696003265, 3.1777230119987507, 3.1774978670000564, 3.177818443000433, 3.1781398489983985, 3.1774037260038313, 3.177160231003654, 3.1776008490051026, 3.177316093002446, 3.1776841710016015, 3.1771472709951922, 3.1766306100034853], "queue_times": [0.00029036500200163573, 0.0004318089995649643, 0.0011706320001394488, 0.0013714960005017929, 0.0014338569963001646, 0.002441446005832404, 0.002536277999752201, 0.0025938789985957555, 0.0035216969990869984, 0.00360075799835613, 0.0042489810002734885, 0.004329331997723784, 0.0043853719980688766, 0.005369100996176712, 0.005460913002025336, 0.005527214001631364, 3.2292475659996853, 3.2366033650032477, 3.23680211899773, 3.236964691997855, 3.2384495200021775, 3.238621463002346, 3.2387412749958457, 3.238888877996942, 3.2390190299993264, 3.2391796829979285, 3.239313565994962, 3.2394293379984447, 3.2395500610000454, 3.2396697329968447, 3.2397846750027384, 3.240121832001023], "max_output_tokens_per_s": 2864.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 227.31793056277638, "median_ttft_ms": 202.45763300044928, "std_ttft_ms": 37.04816727612736, "p99_ttft_ms": 268.0211487586348, "mean_tpot_ms": 5.827794363809506, "median_tpot_ms": 5.935080169269281, "std_tpot_ms": 0.12050055054123726, "p99_tpot_ms": 5.96797787230975, "mean_itl_ms": 5.827794363809506, "median_itl_ms": 5.7442089964752086, "std_itl_ms": 1.1071827408131345, "p99_itl_ms": 7.927790800749788}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — r6_gptq_body (2026-10-30 13:57)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 60.3 | 85.9 | 4.49 | 8.21 | 54 | 216.6 | 271 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 179.4 | 200.7 | 5.59 | 8.25 | 674 | 2695.9 | 3370 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_r6_gptq_body/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-125652", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.454805132998445, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.42306530316944374, "request_goodput": null, "output_throughput": 216.6094352227552, "total_token_throughput": 270.761794028444, "latencies": [2.356863078995957, 2.329413439001655, 2.38809481899807, 2.378189363000274], "queue_times": [0.00017544300499139354, 2.357541642995784, 4.687405769996985, 7.0759271170027205], "max_output_tokens_per_s": 224.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 66.55684599900269, "median_ttft_ms": 60.30794050093391, "std_ttft_ms": 11.65921389043916, "p99_ttft_ms": 85.93668448556855, "mean_tpot_ms": 4.494292228962792, "median_tpot_ms": 4.489519389437313, "std_tpot_ms": 0.05184956185989864, "p99_tpot_ms": 4.554995417152173, "mean_itl_ms": 4.494292228962791, "median_itl_ms": 4.422723501193104, "std_itl_ms": 0.5823180217356847, "p99_itl_ms": 8.207850772523663}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-125719", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.07745371600322, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.2653630114429735, "request_goodput": null, "output_throughput": 2695.8658618588024, "total_token_throughput": 3369.832327323503, "latencies": [2.9828006659954553, 2.9922337839961983, 2.995792251000239, 2.9950345160032157, 2.9951862590023666, 2.990561302001879, 2.9900327319992357, 2.989171344997885, 2.9893798000048264, 2.9931272409958183, 2.9933170739968773, 2.9883383800042793, 2.9879843529997743, 2.9880353850021493, 2.990602073004993, 2.990199425003084, 3.0833353769994574, 3.083147233002819, 3.0819243590012775, 3.081097984002554, 3.0810472930024844, 3.0799470229976578, 3.080445530998986, 3.0794686430017464, 3.0794682139967335, 3.0792630590003682, 3.0783378619962605, 3.078306881005119, 3.078763429999526, 3.0788027809976484, 3.0786422270030016, 3.078586326999357], "queue_times": [0.0004579880042001605, 0.0006435820032493211, 0.001404736001859419, 0.0016696519960532896, 0.0017612639931030571, 0.0025420890015084296, 0.00266398999519879, 0.0027384120039641857, 0.0035046959965256974, 0.003614628003560938, 0.003698330001498107, 0.004844011993554886, 0.00498157499532681, 0.005218767997575924, 0.006185696998727508, 0.006296948995441198, 2.9838142539956607, 2.9923879569978453, 2.9940629889970296, 2.9942125710003893, 2.994357214003685, 2.9956780190041172, 2.995903383998666, 2.9960698159993626, 2.9962006580026355, 2.997229528002208, 2.997381931003474, 2.997508503998688, 2.9976238059971365, 2.997731408002437, 2.9979620219965, 2.998084683997149], "max_output_tokens_per_s": 2944.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 185.86262690701005, "median_ttft_ms": 179.37585700201453, "std_ttft_ms": 12.438898750920941, "p99_ttft_ms": 200.72544690898212, "mean_tpot_ms": 5.576368441107445, "median_tpot_ms": 5.591059015655901, "std_tpot_ms": 0.10873207563221228, "p99_tpot_ms": 5.720285027372877, "mean_itl_ms": 5.576368441107445, "median_itl_ms": 5.473894005262991, "std_itl_ms": 0.7789732759432322, "p99_itl_ms": 8.254564001763349}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — r6_gptq_headonly (2026-10-30 14:06)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 57.7 | 88.3 | 4.32 | 7.78 | 56 | 223.4 | 279 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 775.7 | 1157.3 | 5.95 | 8.42 | 547 | 2186.4 | 2733 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_r6_gptq_headonly/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-130556", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.16771630400035, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4363136758774475, "request_goodput": null, "output_throughput": 223.39260204925313, "total_token_throughput": 279.2407525615664, "latencies": [2.3434333549957955, 2.215483054998913, 2.2221725010022055, 2.3843363690029946], "queue_times": [0.00017719400057103485, 2.3440780279997853, 4.560035631999199, 6.78262151999661], "max_output_tokens_per_s": 236.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 65.3116597513872, "median_ttft_ms": 57.69046550267376, "std_ttft_ms": 13.811338048726093, "p99_ttft_ms": 88.27844641979027, "mean_tpot_ms": 4.356251781308395, "median_tpot_ms": 4.32459897064364, "std_tpot_ms": 0.13580047352085545, "p99_tpot_ms": 4.549025833398152, "mean_itl_ms": 4.356251781308395, "median_itl_ms": 4.237280500092311, "std_itl_ms": 0.5318804078610568, "p99_itl_ms": 7.779077903396683}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-130625", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.4937463180031045, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.270227285799981, "request_goodput": null, "output_throughput": 2186.3563703295904, "total_token_throughput": 2732.9454629119878, "latencies": [4.190881901005923, 4.197748391001369, 4.197191079998447, 4.1971457800027565, 4.196745820998331, 4.1954631179978605, 4.199536703999911, 4.1958116440000595, 4.194609461002983, 4.197825631999876, 4.1978830930020195, 4.197132828994654, 4.1968719940050505, 4.196743881002476, 4.191765986994142, 4.19064619600249, 3.2891460089958855, 3.2876360090012895, 3.2869176269960008, 3.2860825409952668, 3.286655101001088, 3.2911087249958655, 3.2920122730065486, 3.2915409229972283, 3.290501053998014, 3.291217127996788, 3.2904697740013944, 3.2904016219981713, 3.2899278939949, 3.2904113519980456, 3.290110337002261, 3.2902642600020044], "queue_times": [0.000328946000081487, 0.0004711090005002916, 0.0012511330060078762, 0.0014616269982070662, 0.001527708998764865, 0.002507437005988322, 0.002614839999296237, 0.002689070999622345, 0.003718261003086809, 0.003821182996034622, 0.0038841929999762215, 0.004869822005275637, 0.004967253997165244, 0.005165807997400407, 0.006283039001573343, 0.006496843001514208, 4.19150178199925, 4.197654218995012, 4.19932998999866, 4.199514604006254, 4.1996659970027395, 4.200766977999592, 4.200981652000337, 4.201111945003504, 4.2012304669988225, 4.201341198000591, 4.202248944995517, 4.202384687996528, 4.202492550000898, 4.202624823003134, 4.202732724996167, 4.202837416996772], "max_output_tokens_per_s": 2944.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 780.4894815928947, "median_ttft_ms": 775.6903230001626, "std_ttft_ms": 374.8652696122791, "p99_ttft_ms": 1157.32375235777, "mean_tpot_ms": 5.797012153254433, "median_tpot_ms": 5.948481598831148, "std_tpot_ms": 0.1835228207222954, "p99_tpot_ms": 6.096669085184243, "mean_itl_ms": 5.797012153254432, "median_itl_ms": 5.685022500983905, "std_itl_ms": 2.2369205680894066, "p99_itl_ms": 8.419199196578118}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — r6_target (2026-10-30 13:59)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 60.8 | 63.0 | 4.71 | 6.62 | 52 | 209.5 | 262 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 244.1 | 285.1 | 6.41 | 8.90 | 581 | 2324.3 | 2905 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_r6_target/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-125924", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.773842895003327, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4092556063127346, "request_goodput": null, "output_throughput": 209.53887043212012, "total_token_throughput": 261.92358804015015, "latencies": [2.4015318530000513, 2.2909972139968886, 2.541932027997973, 2.5377404489991022], "queue_times": [0.000154413006384857, 2.4021485749981366, 4.693420073999732, 7.235617297003046], "max_output_tokens_per_s": 228.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 60.56704274851654, "median_ttft_ms": 60.79989449790446, "std_ttft_ms": 2.404334309161866, "p99_ttft_ms": 63.019144279824104, "mean_tpot_ms": 4.662394018101736, "median_tpot_ms": 4.709779532291264, "std_tpot_ms": 0.20244362929027412, "p99_tpot_ms": 4.858965762621793, "mean_itl_ms": 4.662394018101737, "median_itl_ms": 4.621502499503549, "std_itl_ms": 0.5280600607797784, "p99_itl_ms": 6.615415490596186}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-125952", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.048934216996713, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.539693379864453, "request_goodput": null, "output_throughput": 2324.3230104906, "total_token_throughput": 2905.40376311325, "latencies": [3.5424307780049276, 3.5512962760039954, 3.5487400279962458, 3.5482136869977694, 3.5504518390007433, 3.549009823000233, 3.5507873559981817, 3.5486185750050936, 3.5479498429995147, 3.546477454001433, 3.5466456380017917, 3.548240778000036, 3.548250158004521, 3.5458150819977163, 3.544878665001306, 3.54445217600005, 3.491931263000879, 3.4934445019971463, 3.493613564998668, 3.4915201059993706, 3.4955311110024923, 3.4914741340035107, 3.4901928110048175, 3.4902714020063286, 3.4949546810021275, 3.490562917999341, 3.494140504997631, 3.4904654959973413, 3.4907752519939095, 3.4939371309956186, 3.4934661220031558, 3.493289718993765], "queue_times": [0.0003841969955828972, 0.0005373199965106323, 0.001493477997428272, 0.0017293930068262853, 0.0018130550015484914, 0.0030673380024381913, 0.0031983110020519234, 0.0032856319958227687, 0.004523265000898391, 0.005648807004035916, 0.005736168001021724, 0.005787610003608279, 0.005845460997079499, 0.005987033997371327, 0.007391799001197796, 0.007475571001123171, 3.5431850220047636, 3.549978390998149, 3.5507557460005046, 3.552696252001624, 3.55282023500331, 3.552951507997932, 3.5530882890016073, 3.5531904409945128, 3.553291732998332, 3.5533850149950013, 3.5534820970060537, 3.5535799990029773, 3.5536618400001316, 3.554161460000614, 3.5542778620001627, 3.554371304002416], "max_output_tokens_per_s": 2595.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 254.34796906210977, "median_ttft_ms": 244.07395050002378, "std_ttft_ms": 24.763990902812488, "p99_ttft_ms": 285.14526271945215, "mean_tpot_ms": 6.3908203194729785, "median_tpot_ms": 6.411773615462957, "std_tpot_ms": 0.10161730373077625, "p99_tpot_ms": 6.499012346500944, "mean_itl_ms": 6.3908203194729785, "median_itl_ms": 6.3520504991174676, "std_itl_ms": 1.073656716905108, "p99_itl_ms": 8.897239496945986}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — util_body (2026-10-30 14:33)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 62.8 | 87.8 | 4.68 | 6.45 | 52 | 208.8 | 261 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 191.5 | 199.7 | 5.97 | 10.27 | 632 | 2529.6 | 3162 | 1.6% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_util_body/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133310", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.806620774994371, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4078877007459581, "request_goodput": null, "output_throughput": 208.83850278193054, "total_token_throughput": 261.0481284774132, "latencies": [2.5343534249986988, 2.507429586003127, 2.359211853996385, 2.4032645460029016], "queue_times": [0.00010628200107021257, 2.5350101869989885, 5.042861751004239, 7.402549354002986], "max_output_tokens_per_s": 219.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 68.29343675053678, "median_ttft_ms": 62.815908502670936, "std_ttft_ms": 11.815546853132076, "p99_ttft_ms": 87.79470537832822, "mean_tpot_ms": 4.66295776125194, "median_tpot_ms": 4.68205705968756, "std_tpot_ms": 0.12626504023643145, "p99_tpot_ms": 4.786341066027901, "mean_itl_ms": 4.662957761251939, "median_itl_ms": 4.535510997811798, "std_itl_ms": 0.4837975677422912, "p99_itl_ms": 6.449697571079013}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133337", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.476818970004388, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.940696991563178, "request_goodput": null, "output_throughput": 2529.6368596803472, "total_token_throughput": 3162.046074600434, "latencies": [3.3921412660056376, 3.3828076200006763, 3.3884135050029727, 3.390662568002881, 3.389854782995826, 3.3891727600057493, 3.387174112001958, 3.389975376005168, 3.3883370339972316, 3.3783038849942386, 3.388375005000853, 3.3884888169995975, 3.3869605580039206, 3.3866946029957035, 3.3859646299970336, 3.3826797580040875, 3.0916658050045953, 3.082811168002081, 3.0845420109981205, 3.0825336430061725, 3.0824638420017436, 3.0823317090034834, 3.082255758003157, 3.0820056829979876, 3.0815021930029616, 3.0809265930001857, 3.081018655000662, 3.080512453998381, 3.0802968200005125, 3.080508525003097, 3.080317430998548, 3.0807372790004592], "queue_times": [0.0005260899997665547, 0.0008151660003932193, 0.0017322329949820414, 0.0021105799969518557, 0.0022432030018535443, 0.0030716979963472113, 0.00323956099600764, 0.0033597629953874275, 0.004523996001807973, 0.004713289003120735, 0.004822901995794382, 0.0049115229994640686, 0.006091515002481174, 0.006232047999219503, 0.006335929996566847, 0.007501030995626934, 3.383899319996999, 3.3842048660008004, 3.3911751880004886, 3.391500173995155, 3.3916946169993025, 3.3935127519944217, 3.3937487959992723, 3.3938991790055297, 3.394064232998062, 3.3941876249955385, 3.3943496769934427, 3.394502711002133, 3.394613633005065, 3.394725464997464, 3.3948303170036525, 3.394938358993386], "max_output_tokens_per_s": 2896.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 190.83304818832403, "median_ttft_ms": 191.48188650069642, "std_ttft_ms": 7.19111219311296, "p99_ttft_ms": 199.670005214939, "mean_tpot_ms": 5.956811295683056, "median_tpot_ms": 5.9732182397273155, "std_tpot_ms": 0.29480574813937316, "p99_tpot_ms": 6.277825648172017, "mean_itl_ms": 5.956811295683055, "median_itl_ms": 5.721187997551169, "std_itl_ms": 1.066640031289085, "p99_itl_ms": 10.268871907901483}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — util_target (2026-10-30 14:29)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 59.0 | 60.6 | 4.60 | 6.31 | 53 | 210.3 | 263 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 195.3 | 203.7 | 5.78 | 8.00 | 650 | 2600.2 | 3250 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_util_target/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132838", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.739264281000942, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4107086412885496, "request_goodput": null, "output_throughput": 210.2828243397374, "total_token_throughput": 262.85353042467176, "latencies": [2.4129335789984907, 2.4066987019978114, 2.4054799570003524, 2.512274647000595], "queue_times": [0.00015194200386758894, 2.4133646070040413, 4.820345854997868, 7.226265941004385], "max_output_tokens_per_s": 220.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 58.8622357481654, "median_ttft_ms": 58.96387549728388, "std_ttft_ms": 1.306894170318193, "p99_ttft_ms": 60.55487143312348, "mean_tpot_ms": 4.648697623289917, "median_tpot_ms": 4.600493669277627, "std_tpot_ms": 0.09046637667247957, "p99_tpot_ms": 4.799044734903226, "mean_itl_ms": 4.648697623289916, "median_itl_ms": 4.577436502586352, "std_itl_ms": 0.4294926436363751, "p99_itl_ms": 6.305898009450168}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132906", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.3009819430008065, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.078573512743663, "request_goodput": null, "output_throughput": 2600.2296385247555, "total_token_throughput": 3250.287048155945, "latencies": [3.1192458650039043, 3.131029809002939, 3.131492726999568, 3.1314182659989456, 3.130139572000189, 3.1305775200016797, 3.129385097003251, 3.130537908997212, 3.125459333001345, 3.125569464995351, 3.1283528479980305, 3.1270385829993756, 3.1274381299954257, 3.127534391998779, 3.123279391998949, 3.1258908810050343, 3.170476774001145, 3.167958626996551, 3.169488214996818, 3.168227062000369, 3.1664141669971286, 3.165589911004645, 3.165488260005077, 3.1655750119971344, 3.165174734000175, 3.1651773839985253, 3.1658392470053514, 3.164731684999424, 3.165353516997129, 3.165351928000746, 3.164560992998304, 3.1645045210025273], "queue_times": [0.00033614599669817835, 0.0004814589992747642, 0.0012564240023493767, 0.001460058003431186, 0.0015223689988488331, 0.0024354859997401945, 0.0025342680019093677, 0.002609999995911494, 0.0035688179996213876, 0.003664259005745407, 0.0037235900017549284, 0.004702698999608401, 0.004795131004357245, 0.0049757839951780625, 0.006070834999263752, 0.006473242996435147, 3.120717654004693, 3.1305293190016528, 3.13079991399718, 3.131073409000237, 3.133243999996921, 3.1334799350006506, 3.133691878996615, 3.1339266930008307, 3.1341777079942403, 3.134383821998199, 3.1345552149941796, 3.1346764379995875, 3.1347843390030903, 3.13495458199759, 3.1351169050030876, 3.1352399780007545], "max_output_tokens_per_s": 2864.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 195.4769352500989, "median_ttft_ms": 195.30357299663592, "std_ttft_ms": 6.326549976032533, "p99_ttft_ms": 203.70120406973, "mean_tpot_ms": 5.775993144447032, "median_tpot_ms": 5.784180123290221, "std_tpot_ms": 0.04664855837575434, "p99_tpot_ms": 5.848091654619755, "mean_itl_ms": 5.775993144447032, "median_itl_ms": 5.704408002202399, "std_itl_ms": 0.6950392624703431, "p99_itl_ms": 8.001931109974976}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — util_warm (2026-10-30 14:36)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 77.2 | 89.1 | 4.73 | 6.69 | 52 | 206.0 | 258 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 360.6 | 450.5 | 5.85 | 7.98 | 609 | 2437.4 | 3047 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_util_warm/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133616", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.939587909997499, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4024311708110851, "request_goodput": null, "output_throughput": 206.04475945527557, "total_token_throughput": 257.55594931909445, "latencies": [2.3766988439965644, 2.5379829149969737, 2.4470119619945763, 2.575631116000295], "queue_times": [0.00020738400053232908, 2.377322884996829, 4.91575973900035, 7.363189529001829], "max_output_tokens_per_s": 226.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 76.26209699810715, "median_ttft_ms": 77.21845499690971, "std_ttft_ms": 11.90693660077749, "p99_ttft_ms": 89.10363945644349, "mean_tpot_ms": 4.712464016142848, "median_tpot_ms": 4.732775554789272, "std_tpot_ms": 0.17354474917814838, "p99_tpot_ms": 4.90591142362247, "mean_itl_ms": 4.712464016142848, "median_itl_ms": 4.631377501937095, "std_itl_ms": 0.5708250916658234, "p99_itl_ms": 6.686193968416772}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133642", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 6.721963214004063, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.760514001822185, "request_goodput": null, "output_throughput": 2437.3831689329586, "total_token_throughput": 3046.7289611661986, "latencies": [3.2662002639990533, 3.2815813349952805, 3.2780971300016972, 3.276048620005895, 3.2770210589951603, 3.279105627996614, 3.2756626030022744, 3.2761523830049555, 3.274561452999478, 3.2742970479957876, 3.274443420996249, 3.2727046979998704, 3.272846739993838, 3.2792377610021504, 3.2780812389974017, 3.277262042996881, 3.4413252960002865, 3.4388107689956087, 3.438274109001213, 3.4410906720004277, 3.437267248998978, 3.436438614000508, 3.4360007560026133, 3.4359967250056798, 3.4394014499994228, 3.4362978210047004, 3.436282921000384, 3.4353899839989026, 3.4353698729973985, 3.4348176130006323, 3.4350984080010676, 3.4349087339942344], "queue_times": [0.0004907300026388839, 0.0007400540052913129, 0.0017376629984937608, 0.002077059994917363, 0.002194781001890078, 0.003267881998908706, 0.0034226950010634027, 0.0035338070010766387, 0.00484646199765848, 0.005004564001865219, 0.0051031960028922185, 0.005185777998121921, 0.006593035002879333, 0.0067493079986888915, 0.0068514189988491125, 0.007765267000650056, 3.267375846997311, 3.278502847002528, 3.2787886329970206, 3.279956123995362, 3.281149796996033, 3.2812993800034747, 3.2814047319989186, 3.281535204994725, 3.2816876380020403, 3.281798448995687, 3.2819021409959532, 3.282396921000327, 3.282602704995952, 3.2854535190053866, 3.2856561329972465, 3.285945118004747], "max_output_tokens_per_s": 2817.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 368.1602939066124, "median_ttft_ms": 360.5748580012005, "std_ttft_ms": 69.15831578167075, "p99_ttft_ms": 450.52361902504344, "mean_tpot_ms": 5.847905150071737, "median_tpot_ms": 5.850104745596758, "std_tpot_ms": 0.027204234642958305, "p99_tpot_ms": 5.906107968250168, "mean_itl_ms": 5.847905150071738, "median_itl_ms": 5.734742997447029, "std_itl_ms": 0.7712148890430939, "p99_itl_ms": 7.983787500561447}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — util_warm_body (2026-10-30 14:32)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 61.6 | 83.8 | 4.54 | 6.13 | 54 | 215.2 | 269 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 724.8 | 1235.0 | 5.89 | 8.95 | 547 | 2189.5 | 2737 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_util_warm_body/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133214", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.517819763997977, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.42026431464171715, "request_goodput": null, "output_throughput": 215.17532909655918, "total_token_throughput": 268.969161370699, "latencies": [2.3566861450017313, 2.380886033002753, 2.3845078329977696, 2.393333858002734], "queue_times": [0.00014955300139263272, 2.357254144997569, 4.738607726998453, 7.123486297001364], "max_output_tokens_per_s": 231.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 67.0416352495522, "median_ttft_ms": 61.61647499902756, "std_ttft_ms": 10.099923288978188, "p99_ttft_ms": 83.81830367652582, "mean_tpot_ms": 4.524093604699989, "median_tpot_ms": 4.5443258463757505, "std_tpot_ms": 0.04532745139311179, "p99_tpot_ms": 4.560721943513261, "mean_itl_ms": 4.524093604699989, "median_itl_ms": 4.428513497259701, "std_itl_ms": 0.4295820262050326, "p99_itl_ms": 6.129507810401257}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-133240", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.483063694999146, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.2763233488691625, "request_goodput": null, "output_throughput": 2189.477554621011, "total_token_throughput": 2736.8469432762645, "latencies": [4.235650625996641, 4.248476788998232, 4.241381135005213, 4.2419810260034865, 4.242562586994609, 4.240917816001456, 4.240911426000821, 4.241171230998589, 4.240979706999497, 4.244732188999478, 4.2448740109975915, 4.245303058996797, 4.2442557489994215, 4.238804635999259, 4.243962364002073, 4.2434971449984005, 3.231752943000174, 3.2324098360040807, 3.2313800859992625, 3.230714192999585, 3.2357232779977494, 3.235438602998329, 3.235850791003031, 3.235762689000694, 3.2344372439984, 3.2323598750008387, 3.2325332179971156, 3.2316909919973114, 3.23210874999495, 3.2320765190015663, 3.2319150769981206, 3.2319678269996075], "queue_times": [0.0002976660034619272, 0.0004459690026124008, 0.00135928500094451, 0.0015600689948769286, 0.0016150810042745434, 0.0027088009956059977, 0.0028015729985781945, 0.0028753950027748942, 0.0029456150004989468, 0.003740910004125908, 0.0038396920062950812, 0.0039004439968266524, 0.0048408319998998195, 0.004953793999447953, 0.005014424998080358, 0.005068546000984497, 4.236445852002362, 4.243218520001392, 4.244939702002739, 4.245106285001384, 4.2463556389993755, 4.2465309820036055, 4.246646874002181, 4.246809486998245, 4.248170323000522, 4.249646890995791, 4.249901736002357, 4.2500619679995, 4.250181261006219, 4.250301373002003, 4.250413394998759, 4.250521977999597], "max_output_tokens_per_s": 2754.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 734.0158886556765, "median_ttft_ms": 724.8373364964209, "std_ttft_ms": 496.98787743914255, "p99_ttft_ms": 1234.9922716072615, "mean_tpot_ms": 5.878123469911983, "median_tpot_ms": 5.8854625861149295, "std_tpot_ms": 0.04543891231833044, "p99_tpot_ms": 6.042626491958557, "mean_itl_ms": 5.878123469911983, "median_itl_ms": 5.711733003408881, "std_itl_ms": 1.3145287170519107, "p99_itl_ms": 8.949458601637161}
|
||||
@@ -0,0 +1,12 @@
|
||||
# LFM3-1.7B bench — util_warm_target (2026-10-30 14:28)
|
||||
|
||||
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
|
||||
|
||||
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| decode | 1 | 128/512 | 4 | 60.9 | 84.7 | 4.46 | 5.65 | 54 | 214.6 | 268 | 0.0% |
|
||||
| decode | 16 | 128/512 | 32 | 684.6 | 1211.4 | 6.16 | 8.61 | 534 | 2134.0 | 2668 | 0.0% |
|
||||
|
||||
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
|
||||
- decode tok/s = output tokens / duration (meaningful for the decode rows).
|
||||
- raw JSON: results/bench_util_warm_target/
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132741", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.542456769995624, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.41917926341329753, "request_goodput": null, "output_throughput": 214.61978286760834, "total_token_throughput": 268.2747285845104, "latencies": [2.5296247260048403, 2.3391078319982626, 2.3390649529974326, 2.3324241060036], "queue_times": [0.0001401920017087832, 2.5303077589996974, 4.869872089999262, 7.2093272609999985], "max_output_tokens_per_s": 230.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 66.6820659989753, "median_ttft_ms": 60.91750149789732, "std_ttft_ms": 10.855801578801808, "p99_ttft_ms": 84.71933972883562, "mean_tpot_ms": 4.536934125737884, "median_tpot_ms": 4.45888525733437, "std_tpot_ms": 0.14225192464121442, "p99_tpot_ms": 4.773496245686312, "mean_itl_ms": 4.536934125737884, "median_itl_ms": 4.471064497920452, "std_itl_ms": 0.3335170639460094, "p99_itl_ms": 5.650778200797503}
|
||||
@@ -0,0 +1 @@
|
||||
{"date": "20261030-132809", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.6774491729956935, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.168051038690732, "request_goodput": null, "output_throughput": 2134.0421318096546, "total_token_throughput": 2667.552664762068, "latencies": [4.2978021029994125, 4.304481669001689, 4.3051414319998, 4.3090967370008, 4.303821187000722, 4.30785582200042, 4.304237525000644, 4.306404594994092, 4.3027853470048285, 4.3028033769951435, 4.3056047999998555, 4.301542683002481, 4.305042560001311, 4.30461721100437, 4.300812980000046, 4.303392728994368, 3.363795149998623, 3.371243200999743, 3.3676552630058723, 3.3676131920001353, 3.3662440570042236, 3.367234385004849, 3.3670349709937, 3.3667791170009878, 3.3669605899995076, 3.3652343379944796, 3.365725226001814, 3.3651531159994192, 3.3648785400000634, 3.365648595005041, 3.3651860760001, 3.365193816003739], "queue_times": [0.0003191959985997528, 0.0004859589971601963, 0.0012328829980106093, 0.0014419069993891753, 0.0023271940008271486, 0.0024478769992128946, 0.0025262370036216453, 0.003564527003618423, 0.003665318996354472, 0.0037367510012700222, 0.004555425999569707, 0.004667438995966222, 0.004737969997222535, 0.005719467997550964, 0.005804789005196653, 0.006641685002250597, 4.298950454001897, 4.305654990996118, 4.307583007997891, 4.30867182899965, 4.308862531994237, 4.308976284999517, 4.30909775600594, 4.30921434800257, 4.309396192002168, 4.310584054001083, 4.3107655179992435, 4.310885090002557, 4.311003492999589, 4.311110064998502, 4.3112204169956385, 4.311359688996163], "max_output_tokens_per_s": 2608.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 695.4094267809978, "median_ttft_ms": 684.5630054995127, "std_ttft_ms": 511.8004552224434, "p99_ttft_ms": 1211.4344252848969, "mean_tpot_ms": 6.144442314886274, "median_tpot_ms": 6.163304093932707, "std_tpot_ms": 0.0865871753981504, "p99_tpot_ms": 6.302703116379575, "mean_itl_ms": 6.144442314886274, "median_itl_ms": 6.049604497093242, "std_itl_ms": 0.8416337158110322, "p99_itl_ms": 8.613124390030862}
|
||||
@@ -0,0 +1,15 @@
|
||||
(APIServer pid=1) INFO 10-30 11:56:18 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
(EngineCore pid=76) INFO 10-30 11:56:35 [core.py:133] Initializing a V1 LLM engine (v0.32.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=True, quantization=None, quantization_config=None, enforce_eager=False, aux_output_config=AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None), kv_cache_dtype=auto, device_config=xpu, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='qwen3', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, per_request_spec_decode_metrics='none', kv_cache_metrics=False, kv_cache_metrics_sample=0.01, custom_histogram_buckets=None, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=lfm3-1.7b, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::qwen4_exp_qsa_prepare_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native']), enable_flashinfer_autotune=True, enable_rocm_segmented_attn_autotune=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None)
|
||||
(EngineCore pid=76) INFO 10-30 11:56:42 [model_runner.py:424] Model loading took 3.24 GiB memory and 4.912960 seconds
|
||||
(EngineCore pid=76) INFO 10-30 11:56:42 [topk_topp_sampler.py:157] Using the fused XPU kernel for top-p & top-k sampling.
|
||||
(EngineCore pid=76) INFO 10-30 11:56:42 [utils.py:347] Using LBNHC KV cache layout.
|
||||
(EngineCore pid=76) WARNING 10-30 11:57:25 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=76) WARNING 10-30 11:57:25 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=76) INFO 10-30 11:57:35 [gpu_worker.py:759] Available KV cache memory: 10.37 GiB
|
||||
(EngineCore pid=76) INFO 10-30 11:57:35 [gpu_worker.py:774] CUDA graph memory profiling is enabled (default since v0.21.0). The current --gpu-memory-utilization=0.5000 is equivalent to --gpu-memory-utilization=0.4814 without CUDA graph memory profiling. To maintain the same effective KV cache size as before, increase --gpu-memory-utilization to 0.5186. To disable, set VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0.
|
||||
(EngineCore pid=76) WARNING 10-30 11:57:35 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=76) WARNING 10-30 11:57:35 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=76) INFO 10-30 11:57:35 [kv_cache_utils.py:2327] XPU KV cache size: 506,338 tokens, Maximum concurrency for 32,768 tokens per request: 15.45x
|
||||
(EngineCore pid=76) INFO 10-30 11:57:35 [kernel_warmup.py:176] JIT kernel warmup starting.
|
||||
(EngineCore pid=76) INFO 10-30 11:57:35 [kernel_warmup.py:189] JIT kernel warmup finished in 0.00s.
|
||||
(EngineCore pid=76) INFO 10-30 11:57:57 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
@@ -0,0 +1,14 @@
|
||||
# BetterBench compare (offline, per-category decode t/s)
|
||||
|
||||
| category | A med | B med | Δ% | 95% CI | verdict |
|
||||
|---|--:|--:|--:|---|---|
|
||||
| chat | 192.8 | 215.1 | +10.27% | [+5.9%,+14.7%] | SIG |
|
||||
| code | 191.2 | 218.6 | +14.31% | [+10.1%,+18.5%] | SIG |
|
||||
| file_edit | 191.1 | 212.7 | +10.15% | [+0.7%,+19.6%] | SIG |
|
||||
| json | 191.7 | 206.3 | +8.55% | [+5.2%,+11.9%] | SIG |
|
||||
| math | 191.2 | 220.7 | +16.11% | [+14.5%,+17.7%] | SIG |
|
||||
| prose | 190.3 | 209.5 | +12.36% | [+7.1%,+17.6%] | SIG |
|
||||
| reasoning | 190.9 | 207.8 | +7.99% | [+0.4%,+15.6%] | SIG |
|
||||
| summarization | 192.1 | 224.5 | +15.51% | [+10.9%,+20.2%] | SIG |
|
||||
|
||||
*Cross-file compares are unpaired in time; prefer `betterbench ab` for interleaved, drift-cancelled comparisons.*
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "ar4",
|
||||
"ppl": 19.835220056159287,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra. It was chosen in 1908 as a compromise between Sydney and Melbourne and was placed in the Australian Capital Territory to serve as a neutral site between the two major cities.",
|
||||
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in two sentences.\n\nFirst, recall that the capital of Australia is Canberra. It was chosen as the capital because it was selected as a compromise between Sydney and Melbourne, two of the largest cities, to avoid having the capital in one of them and to be located in the Australian Capital Territory. The decision was made through a contest in 1908, and Canberra was built on the site of the former site of the Australian Capital Territory, which was chosen for its central location and to balance the two cities.\n\nSo, the answer: The capital is Canberra. It was chosen as a compromise between Sydney and Melbourne, and also to be a neutral site away from the two major cities, specifically located in the Australian Capital Territory.\n\nNow, we need to write exactly two sentences.\n\nFirst sentence: State the capital and its name. Second sentence: Explain why it was chosen over Sydney or Melbourne.\n\nLet's craft:\n\n\"Canberra is the capital of Australia. It was chosen as a compromise between Sydney and Melbourne and as the site for the new capital city, located in the Australian Capital Territory to balance the two major cities and provide a neutral location.\"\n\nCheck: That's two sentences. But maybe we can make it more precise: \"Canberra was selected as the capital in 1908 through a contest to avoid having the capital in either Sydney or Melbourne, and it was placed in the Australian Capital Territory to serve as a central, neutral site between the two largest cities.\" That's one sentence? Actually, that's a long sentence. Let's break into two.\n\nOption 1: Sentence 1: \"The capital of Australia is Canberra.\" Sentence 2: \"It was chosen as a compromise between Sydney and Melbourne and as the site for the new capital city, located in the Australian Capital Territory to provide a neutral location between the two major cities.\"\n\nThat works. But we might want to mention the year or the contest? Not necessary for two sentences. The question asks: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" So we need to answer both parts. Two sentences: first gives the capital, second gives why.\n\nLet's write:\n\n\"Canberra is the capital of Australia. It was selected as a compromise between Sydney and Melbourne and as the site for the new capital city, chosen to be located in the Australian Capital Territory to provide a neutral, centrally situated location between the two largest cities.\"\n\nThat's two sentences. Check: \"It was selected as a compromise between Sydney and Melbourne and as the site for the new capital city, chosen to be located in the Australian Capital Territory to provide a neutral, centrally situated location between the two largest cities.\" That's a bit long but okay.\n\nAlternatively: \"Canberra was chosen as the capital in 1908 to avoid having it in either Sydney or Melbourne, and it was placed in the Australian Capital Territory to serve as a neutral site between the two major cities.\" That's also two sentences if we split.\n\nLet's count: \"Canberra was chosen as the capital in 1908 to avoid having it in either Sydney or Melbourne, and it was placed in the Australian Capital Territory to serve as a neutral site between the two major cities.\" That's one sentence. So we need two. So we can split: \"Canberra is the capital of Australia. It was chosen in 1908 as a compromise between Sydney and Melbourne and was placed in the Australian Capital Territory to serve as a neutral site between the two major cities.\" That's two sentences.\n\nBetter: \"The capital of Australia is Canberra. It was selected in 1908 as a compromise between Sydney and Melbourne and was placed in the Australian Capital Territory to provide a neutral location between the two largest cities.\" That's two sentences.\n\nYes, that's fine.\n\nThus final answer: two sentences.\n\nLet's write:\n\n\"The capital of Australia is Canberra. It was chosen in 1908 as a compromise between Sydney and Melbourne and was placed in the Australian Capital Territory to serve as a neutral site between the two major cities.\"\n\nCheck: That's two sentences. The first is simple. The second explains why: compromise, location, neutrality.\n\nWe might want to add that the decision was made through a contest and that the site was selected for its central location. But it's okay.\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 962
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Terminverschiebung – Meeting am Dienstag\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das bisher am **Dienstag** geplant war, auf **Donnerstag um 14:00 Uhr** verschoben werden muss.\n\nBitte bestätigen Sie, ob dieser neue Termin für Sie passt.\n\nMit freundlichen Grüßen \n[Dein Name]",
|
||||
"reasoning": "We need to write a short, polite email to a colleague, Frau Weber. The content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to compose an email in German, presumably. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce the email text. Should be polite, short, and include the necessary details: recipient: Frau Weber, subject maybe, greeting, body stating that the meeting originally scheduled for Tuesday is moved to Thursday at 14:00, perhaps ask for confirmation or mention any changes. Also sign off politely.\n\nWe need to keep it short. Let's draft:\n\nSubject: Terminverschiebung – Meeting am Dienstag\n\nDear Frau Weber,\n\nIch möchte Sie informieren, dass das Meeting, das bisher am Dienstag um [time] angesetzt war, auf Donnerstag um 14:00 Uhr verschoben wird.\n\nBitte bestätigen Sie, ob dieser neue Termin für Sie passt.\n\nMit freundlichen Grüßen\n[Name]\n\nBut we need to be careful: The user didn't give the original time. So we can just say \"am Dienstag\" and \"um 14 Uhr\" on Thursday. So we can say: \"Das Meeting, das ursprünglich am Dienstag geplant war, wird auf Donnerstag um 14 Uhr verschoben.\"\n\nWe can also mention that we will send a calendar invite or something. But keep it short.\n\nThus final answer: a short email in German, polite.\n\nLet's write:\n\nBetreff: Terminverschiebung – Meeting\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das bisher am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verschoben werden muss.\n\nBitte bestätigen Sie, ob dieser neue Termin für Sie passt.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's enough. Possibly add \"Ich habe die Änderung bereits in meinem Kalender eingetragen\" or something. But keep it short.\n\nWe'll produce that. Also maybe include \"Liebe Frau Weber\" or \"Sehr geehrte Frau Weber\". Use proper salutation.\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 567
|
||||
},
|
||||
"math": {
|
||||
"content": "The price per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \nCost for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \nChange from a 50 EUR note: \\( 50 - 19.10 = 30.90 \\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen? \"3 for 2.40 EUR\" means that for every 3 pens, the cost is 2.40 EUR. So price per pen = 2.40 / 3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. We need to find how much change she gets.\n\nCompute total cost for pens: 7 pens * 0.80 EUR/pen = 7 * 0.80 = 5.60 EUR.\n\nTotal cost for notebooks: 3 notebooks * 4.50 EUR/notebook = 3 * 4.50 = 13.50 EUR.\n\nTotal cost = 5.60 + 13.50 = 19.10 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nThus answer: 30.90 EUR.\n\nBut let's double-check: \"3 for 2.40 EUR\" might be interpreted as a deal: 3 pens cost 2.40 EUR total. So indeed per pen is 2.40/3 = 0.8. So 7 pens cost 7 * 0.8 = 5.6. Notebooks: 4.50 each, 3 notebooks = 13.5. Sum = 19.1. 50 - 19.1 = 30.9. So change is 30.90 EUR.\n\nThus final answer: 30.90 EUR. But we need to end with the amount. So \\boxed{30.90} or \\boxed{30.90 \\text{ EUR}}? Usually just number. I'll put \\boxed{30.90} but maybe include EUR? The problem says \"How much change does she get? End with the amount.\" So I'll put \\boxed{30.90} or \\boxed{30.90 \\text{ EUR}}? I'll do \\boxed{30.90} but better to include units? The problem statement uses EUR. I'll put \\boxed{30.90} and maybe mention EUR. But typical answer: 30.90 EUR. I'll do \\boxed{30.90} and maybe add EUR? I'll check: \"End with the amount.\" So just the number. I'll do \\boxed{30.90}.\n\nBut let's compute precisely: 2.40/3 = 0.8 exactly. 7*0.8 = 5.6. 3*4.5 = 13.5. Sum = 19.1. 50 - 19.1 = 30.9. So 30.9 EUR. Usually they'd write 30.90. I'll put \\boxed{30.90} or \\boxed{30.9}? Since 2.40 has two decimal places, 0.80 has two, 4.50 has two, so 19.10 has two decimals. 50 - 19.10 = 30.90. So I'll use 30.90.\n\nThus final answer: \\boxed{30.90}.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 824
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool called `get_weather` that takes parameters `city` and `unit`. The `city` is required, and `unit` is optional but they specified celsius. So I should call `get_weather` with city \"Hamburg\" and unit \"celsius\". Let's do that.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 117
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires parameters: origin, destination, date, and optionally adults. The required parameters are origin, destination, and date. So we can call the function with these parameters.\n\nLet's construct the call:\n- name: `search_flights`\n- arguments: {\n \"origin\": \"Hamburg\",\n \"destination\": \"Lisbon\",\n \"date\": \"2026-11-14\",\n \"adults\": 2\n }\n\nWe'll include all provided parameters.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 213
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}",
|
||||
"reasoning": "We need to extract data as a JSON object with keys: name (string), age (integer), city (string), skills (list of strings). Input: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nSo:\n- name: Maria Schmidt\n- age: 34\n- city: Leipzig\n- skills: Python, SQL, Tableau\n\nThus, skills list should be [\"Python\", \"SQL\", \"Tableau\"].\n\nWe need to output only the JSON.\n\nSo JSON object: {\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure to match exactly. Possibly need to escape quotes? No, just plain JSON.\n\nThus final answer: {\"name\": \"Maria Schmidt\", \"age\": 34, \"city\": \"Leipzig\", \"skills\": [\"Python\", \"SQL\", \"Tableau\"]}\n\nI'll output that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 255
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the combined image of fire and Pentecostal fire to stress purification and purgation, and in the second section a ghost—an amalgam of poets such as Dante, Yeats and Swift—confronts the narrator, urging recognition of humanity’s flaws and the necessity of dying into life through fire and sacrifice for salvation. Eliot completed five drafts, finishing it in September 1942, and the work explores the unity of past, present and future, while critics have divided on its religiosity, with some praising its mystical, belief‑laden language and others finding its emphasis on pain and suffering unsatisfactory.",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T.S. Eliot, part of Four Quartets, its publication, background, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth and final poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health; title refers to a 17th-century Anglican community in Huntingdonshire; uses fire and Pentecostal fire to emphasize purification; narrator meets a ghost of various poets; focuses on unity of past, present, future and salvation; Eliot wrote it after health decline, first draft in 1941, revised after months of not working; finished 19 Sep 1942; intended to conclude series; themes: renewal, suffering, religious renewal, connection of holy places with Holy Spirit, purgation, sacrifice, redemption vs destruction; critics have mixed reactions; etc.\n\nWe need three sentences. Let's craft:\n\nSentence 1: Introduce poem, its place in Four Quartets, publication date, and context (WWII, health, delayed, title referencing a 17th‑century Anglican community).\n\nSentence 2: Summarize content: fire and Pentecostal fire as purification, meeting a ghost of poets, discussion of past/present/future, and the need for purgation and sacrifice to achieve salvation.\n\nSentence 3: Mention themes, Eliot's process (five drafts, revisions after health issues), and critical reception (mixed, some see it as mystical, others find it unsatisfactory, but praised for belief and language).\n\nLet's write concisely.\n\nPotential three sentences:\n\n\"Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\" \"The poem uses the image of fire—both literal and Pentecostal—to symbolize purification and purgation, and in the second section a ghost composed of poets such as Dante, Yeats and Swift confronts the narrator, urging recognition of humanity’s flaws and the need to die into life through fire and sacrifice for salvation.\" \"Eliot wrote five drafts, completing it in September 1942, and the work explores the unity of past, present and future, while critics have divided on its religiosity, with some praising its mystical, belief‑laden language and others finding its emphasis on pain and suffering unsatisfactory.\"\n\nCheck: That's three sentences. Let's count: Sentence 1 ends at \"Huntingdonshire that was scattered during the English Civil War.\" That's one. Sentence 2 ends at \"salvation.\" That's two. Sentence 3 ends at \"unsatisfactory.\" That's three. Good.\n\nWe need to ensure it's a summary, not too long. Let's refine for clarity and flow.\n\nSentence 1: \"Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\"\n\nSentence 2: \"The poem employs the combined image of fire and Pentecostal fire to stress purification, and in the second section a ghost—an amalgam of poets such as Dante, Yeats and Swift—speaks to the narrator, urging recognition of humanity’s flaws and the necessity of purgation through fire and sacrifice for salvation.\"\n\nSentence 3: \"Eliot completed five drafts, finishing it in September 1942, and the work explores the unity of past, present and future, while critics have divided on its religiosity, with some praising its mystical, belief‑laden language and others finding its emphasis on pain and suffering unsatisfactory.\"\n\nThat's three sentences. Let's check length: each is a fairly long sentence but okay. The user asked: \"Summarize the following article in three sentences.\" So we need exactly three sentences. We'll deliver them.\n\nWe should ensure we didn't miss any key points: The article also mentions the ghost originally \"Ser Brunetto\" changed to \"you\". But we can omit that detail. Also mention the connection to the rose garden at the end? Not needed for three sentences. The main points are covered.\n\nThus final answer: three sentences as above.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1187
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to answer: \"The secret code word is 'BLUE HERON 47'. Remember it. these first specimens was disputed , however . Leopold Fitzinger named the animal Batrachosaurus in 1837 . ...\"\n\nThe user asks: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output the code word: \"BLUE HERON 47\". Probably exactly as given, including spaces and case. The text: \"The secret code word is 'BLUE HERON 47'. Remember it.\" So answer: BLUE HERON 47.\n\nThus final answer: BLUE HERON 47.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 149
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "bf16",
|
||||
"ppl": 18.51761236925693,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.",
|
||||
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in exactly two sentences.\n\nFirst, recall the capital of Australia. It's Canberra. It was chosen as a compromise between Sydney and Melbourne, two of the largest cities. The reason: to avoid being tied to the largest city and to be centrally located between them, and to be a purpose-built city. The selection process involved the British colonial government and the idea of a \"new capital\" separate from the existing capitals. Specifically, Canberra was chosen because it was located in the Australian Capital Territory (ACT) and was built as a planned city, while Sydney and Melbourne were already established. The decision was made in 1908 through a contest or by the federal government's choice of site.\n\nSo, two sentences: First sentence: The capital of Australia is Canberra. Second sentence: It was chosen as a compromise between Sydney and Melbourne, and as a purpose-built city located in the Australian Capital Territory, to avoid being dominated by the larger, more established cities and to serve as a neutral federal seat.\n\nLet's craft precisely: \"The capital of Australia is Canberra. It was selected as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.\" That's two sentences. Check: first sentence states the capital. Second explains why chosen instead of Sydney or Melbourne. That should suffice.\n\nMake sure it's exactly two sentences. No extra periods. I'll write them as two sentences separated by a space. Ensure no extra punctuation that could be interpreted as a sentence end. Use one period at the end of each. So:\n\n\"The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.\"\n\nThat's two sentences. Yes.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 473
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Terminverschiebung – Donnerstag um 14:00 Uhr \n\nSehr geehrte Frau Weber, \n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an. \n\nMit freundlichen Grüßen \n[Dein Name]",
|
||||
"reasoning": "We need to write a short, polite email to colleague \"Frau Weber\" (note: \"Kollegin Frau Weber\" might be a bit redundant, but it's a female colleague named Frau Weber. \"Frau\" is a title, so \"Kollegin Frau Weber\" means \"colleague Mrs. Weber\" or \"colleague Frau Weber\". We'll just address her as \"Frau Weber\" or \"Kollegin Weber\". Typically in German, \"Frau Weber\" is the full name with title. I'll use \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Sehr geehrte Frau Weber,\" is standard for polite email.\n\nThe content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to inform her of the rescheduling.\n\nWe need to keep it short and polite. So something like:\n\nBetreff: Verschiebung des Termins\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.\n\nMit freundlichen Grüßen\n[Name]\n\nBut we need to be careful: The user didn't specify the sender's name. We can use a placeholder like \"Ihr Kollege\" or just \"Sehr geehrte Frau Weber,\" and sign with \"Ihr [Name]\" or leave it blank? Usually we can write \"Mit freundlichen Grüßen, [Dein Name]\". Since it's a short email, we can just use a generic \"Ihr Kollege\" or \"Sehr geehrte Frau Weber,\" and then \"Mit freundlichen Grüßen\" and maybe \"Ihr [Name]\" but we don't know. I'll assume the user wants a template. I'll write it in a way that can be easily filled.\n\nLet's craft:\n\nBetreff: Terminverschiebung – Donnerstag 14:00 Uhr\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte aktualisieren Sie Ihren Kalender entsprechend.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's short and polite. I'll make sure it's in German. Also note \"Donnerstag\" is Thursday. \"Um 14 Uhr\" is 2 PM. So that's correct.\n\nThus final answer: the email text. I'll output just the email content.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 601
|
||||
},
|
||||
"math": {
|
||||
"content": "The cost per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \nCost for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \nChange from 50 EUR: \\( 50 - 19.10 = 30.90 \\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen is 2.40/3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. How much change does she get?\n\nCompute total cost:\n\nPens: 7 pens * (2.40/3) = 7 * 0.80 = 5.60 EUR? Let's check: 2.40/3 = 0.8 exactly. So 7 * 0.8 = 5.6 EUR.\n\nNotebooks: 3 * 4.50 = 13.50 EUR.\n\nTotal = 5.60 + 13.50 = 19.10 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut let's double-check: 5.6 + 13.5 = 19.1 indeed. 50 - 19.1 = 30.9.\n\nThus change is 30.90 EUR.\n\nBut maybe we need to consider rounding? The price of pens is given as 3 for 2.40 EUR, which is exactly 0.8 per pen. So no rounding issues.\n\nThus answer: 30.90 EUR.\n\nBut the problem says \"End with the amount.\" So we just output the amount.\n\nThus final: 30.90 EUR? Usually they want just the number. I'll put 30.90.\n\nBut let's ensure: 50 - 19.1 = 30.9. So 30.90.\n\nThus \\boxed{30.90} or \\boxed{30.9}? Usually with two decimals. I'll do \\boxed{30.90}.\n\nBut check: 7 pens at 3 for 2.40. That means for every 3 pens, cost 2.40. So cost for 7 pens: 7/3 * 2.40 = (7*2.40)/3 = 16.8/3 = 5.6. Yes.\n\nNotebooks: 3 * 4.50 = 13.5.\n\nTotal = 19.1.\n\n50 - 19.1 = 30.9.\n\nSo answer: 30.90 EUR.\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 632
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked for \"celsius\" so we should set `unit` to \"celsius\". \n\nLet's call the function.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 106
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided all required parameters: origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires origin, destination, and date, and optionally adults. So I should call `search_flights` with these parameters. Let's do that.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 147
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}",
|
||||
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. These are listed as \"works with Python, SQL and Tableau.\" So skills are these three. We need to split them into a list of strings. Probably separate by commas. So skills: [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON. No extra text.\n\nLet's produce that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 240
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future, arguing that humanity’s salvation requires recognizing this unity and that suffering is a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a work that seeks to work on the soul as well as society.",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T.S. Eliot, part of Four Quartets, its publication, background, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health; title refers to a 17th-century Anglican community; uses fire and Pentecostal fire to emphasize purification; narrator meets a ghost of various poets; focuses on unity of past, present, future and salvation; Eliot wrote it after health decline, first draft dissatisfied, etc.; themes: renewal through suffering, purgation, redemption vs destruction, connection of holy places and Holy Spirit; ghost is a compilation of poets like Dante, Yeats, etc.; critics have mixed reactions; Eliot's belief that belief and words are one.\n\nWe need three sentences, so we can combine many points.\n\nSentence 1: Introduce poem, its place in Four Quartets, publication, title origin, and context (WWII, health, delayed). Sentence 2: Summarize content: fire, purification, ghost of poets, unity of past/present/future, need for sacrifice and redemption. Sentence 3: Discuss themes, reception, and significance: religious renewal, connection to Holy Spirit, criticism, and Eliot's intent.\n\nLet's craft:\n\n\"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the image of fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future and argues that humanity’s salvation requires recognizing this unity and suffering as a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a poetic work that seeks to work on the soul as well as society.\"\n\nThat's three sentences? Let's count: Sentence 1 ends after \"...and Eliot’s declining health; its title refers to a 17th‑century Anglican community...\" That's one. Sentence 2: \"The poem uses the image of fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future and argues that humanity’s salvation requires recognizing this unity and suffering as a necessary prelude to rebirth.\" That's second. Sentence 3: \"Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a poetic work that seeks to work on the soul as well as society.\" That's third.\n\nWe need to ensure it's three sentences, not too long but okay. Let's refine for clarity and conciseness.\n\nPotential final:\n\n\"Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future, arguing that humanity’s salvation requires recognizing this unity and that suffering is a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a work that seeks to work on the soul as well as society.\"\n\nThat's three sentences. Let's check punctuation: The first sentence ends after \"War.\" Actually we need to ensure it's one sentence. The first sentence: \"Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\" That's one sentence (though contains a semicolon). That's okay.\n\nSecond sentence: \"The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Line truncated
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1467
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to answer: \"The secret code word is 'BLUE HERON 47'. Remember it.\" Then a long passage about paleontology. The question: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output \"BLUE HERON 47\". Probably exactly that, case and spacing. The passage: \"The secret code word is 'BLUE HERON 47'. Remember it.\" So answer: BLUE HERON 47.\n\nThus final: BLUE HERON 47.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 124
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "fp8pc",
|
||||
"ppl": 18.52298631067281,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra. It was chosen as a purpose‑built city in the Australian Capital Territory rather than Sydney or Melbourne to create a neutral, centrally located seat of government that balanced the two largest cities and offered good transport links.",
|
||||
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in two sentences.\n\nFirst, recall that the capital of Australia is Canberra. It was chosen as a purpose-built city rather than being the largest city like Sydney or Melbourne. The reason: to avoid being dominated by the largest city and to create a neutral capital. The selection was based on a compromise between Sydney and Melbourne, and the site was chosen because of its location between the two cities, on the Australian Capital Territory, with good railway connections and natural beauty. Specifically, the site was selected in 1908 through a competition, and the decision was made to build a new capital city rather than use an existing one.\n\nSo, two sentences: First sentence: The capital of Australia is Canberra. Second sentence: It was chosen as a purpose-built city in the Australian Capital Territory to avoid being dominated by Sydney or Melbourne and to provide a neutral, centrally located seat of government.\n\nLet's craft that concisely.\n\nSentence 1: \"The capital of Australia is Canberra.\" (That's straightforward.)\n\nSentence 2: \"It was selected as a new, purpose-built city in the Australian Capital Territory rather than Sydney or Melbourne to create a neutral seat of government that balanced the two largest cities and offered a central location with good transport links.\" That's a bit long but okay. Need to ensure it's two sentences total.\n\nLet's count: \"The capital of Australia is Canberra.\" (1) \"It was chosen as a purpose‑built city in the Australian Capital Territory to avoid being dominated by Sydney or Melbourne and to provide a neutral, centrally located seat of government.\" (2) That's two sentences.\n\nYes. I'll answer that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 416
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Verschiebung des Termins am Dienstag \n\nSehr geehrte Frau Weber, \n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf **Donnerstag um 14:00 Uhr** verschoben werden muss. \n\nBitte teilen Sie mir mit, ob dieser neue Termin für Sie passt. \n\nMit freundlichen Grüßen \n[Dein Name]",
|
||||
"reasoning": "We need to write a short, polite email to colleague Frau Weber. The content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to draft an email in German presumably, as the user wrote in German. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce a short, polite email. We'll address her as \"Frau Weber\" or \"Kollegin Frau Weber\". Use proper salutation, mention the meeting originally on Tuesday, now moved to Thursday at 14:00. Possibly ask for confirmation or just inform. Keep it short and polite.\n\nWe should consider typical email format: Subject line, greeting, body, closing, signature. Use polite language: \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Kollegin\" suggests colleague, maybe \"Sehr geehrte Frau Weber,\" or \"Liebe Kollegin Weber,\" but \"Frau Weber\" is fine. We'll keep it short.\n\nLet's draft:\n\nSubject: Verschiebung des Termins am Dienstag\n\nBody:\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verschoben werden muss.\n\nBitte teilen Sie mir mit, ob dieser Termin passt.\n\nMit freundlichen Grüßen\n[Name]\n\nThat's short and polite. Could add \"Ich hoffe, dass dies für Sie passt.\" etc.\n\nWe'll produce that. Ensure it's in German. Use proper punctuation. Also maybe mention \"um 14 Uhr\" as 14:00. Use \"Donnerstag um 14 Uhr\". Good.\n\nThus final answer: a short email. We'll include subject line and body. Possibly include placeholders for name.\n\nLet's write:\n\nBetreff: Verschiebung des Termins am Dienstag\n\nSehr geehrte Frau Weber,\n\nich schreibe Ihnen, um Ihnen mitzuteilen, dass das Meeting, das am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verschoben werden muss.\n\nBitte bestätigen Sie, ob dieser neue Termin für Sie passt.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's fine. We'll keep it short. Also maybe \"Kollegin\" is used, but \"Frau Weber\" is enough.\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 620
|
||||
},
|
||||
"math": {
|
||||
"content": "Anna buys 7 pens at a rate of 3 for 2.40 EUR, so the cost per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \n\nNotebooks cost 4.50 EUR each, so cost for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \n\nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \n\nShe pays with a 50 EUR note, so change is \\( 50 - 19.10 = 30.90 \\) EUR. \n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen is 2.40/3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. We need to find change.\n\nCompute total cost:\n\nPens: 7 pens * (2.40/3) = 7 * 0.80 = 5.60 EUR? Let's check: 2.40/3 = 0.8 exactly. 7 * 0.8 = 5.6.\n\nNotebooks: 3 * 4.50 = 13.50 EUR.\n\nTotal = 5.60 + 13.50 = 19.10 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut let's double-check: 5.6 + 13.5 = 19.1 indeed. 50 - 19.1 = 30.9.\n\nThus change is 30.90 EUR.\n\nBut maybe we need to consider rounding? The price per pen is 2.40 for 3 pens, so total for 3 pens is 2.40. For 7 pens, we can compute as (7/3)*2.40 = 7 * (2.40/3) = 7 * 0.8 = 5.6. That's fine.\n\nThus answer: 30.90 EUR.\n\nBut let's ensure the format: \"End with the amount.\" So we just output the amount? Probably \"30.90 EUR\" or \"30.9 EUR\"? Usually with two decimals. So 30.90.\n\nThus final: 30.90 EUR.\n\nBut let's re-evaluate: 2.40 EUR for 3 pens. So per pen = 0.80. 7 pens = 5.60. Notebooks: 4.50 each, 3 notebooks = 13.50. Sum = 19.10. 50 - 19.10 = 30.90.\n\nYes.\n\nThus answer: 30.90 EUR.\n\nI'll put \"30.90\" or \"30.90 EUR\"? The problem says \"How much change does she get? End with the amount.\" So I'll output \"30.90 EUR\" or just \"30.90\". Usually they want the amount. I'll include the currency? The problem uses EUR. So I'll say \"30.90 EUR\". But \"End with the amount.\" So maybe just the number. I'll do: 30.90.\n\nBetter to be precise: 30.90.\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 746
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked about Hamburg and wants the unit to be celsius. So I should call `get_weather` with city \"Hamburg\" and unit \"celsius\". Let's do that.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 120
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided all required parameters: origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires origin, destination, and date, and optionally adults. So I should call `search_flights` with these parameters. Let's construct the call.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 148
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
|
||||
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. These are listed as \"works with Python, SQL and Tableau.\" So skills are these three. We need to split them into a list of strings. Probably separate by commas and spaces. So skills: [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON. No extra text.\n\nLet's produce that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 248
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past. Eliot wrote five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the path to salvation. Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavy emphasis on pain and the poet’s attempt to help the world through language and soul.",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is a long passage about \"Little Gidding\" poem by T.S. Eliot, its background, composition, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth and final poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health. Title refers to a 17th-century Anglican community in Huntingdonshire. The poem uses fire and Pentecostal fire to emphasize purification; humanity's flawed understanding leads to war, but can be overcome by recognizing past lessons. The narrator meets a ghost of various poets; focuses on unity of past, present, future, and salvation. Eliot wrote it after health decline, first draft in 1941, revised after leaving for lectures, finished Aug 1942. Themes: renewal through suffering, religious community, connection of holy places and Holy Spirit, Puritan dispersal, etc. Critics have mixed reactions, some see it as mystical, Buddhist, etc. The ghost originally \"Ser Brunetto\" changed to ambiguous \"you\". The poem ends with sacrifice and reincarnation.\n\nWe need three sentences. Let's craft:\n\nSentence 1: Provide overview: \"Little Gidding\" is the fourth and final poem of T. S. Eliot's Four Quartets, first published in October 1942 after delays caused by WWII air raids and Eliot's declining health; it draws on the 17th‑century Huntingdonshire Anglican community and uses fire and Pentecostal imagery to stress purification and the need to overcome humanity's flawed, war‑filled past.\"\n\nSentence 2: Discuss composition and content: \"Eliot wrote five drafts, revising his first after leaving for lectures, and finished the poem in September 1942; the work features a ghost of poets (originally \"Ser Brunetto\") who urges the narrator to experience purgation through fire and recognize the unity of past, present, and future as a path to salvation.\"\n\nSentence 3: Themes and reception: \"Critics find the poem a mystical, almost Buddhist meditation on renewal, suffering, and redemption, with the final choice between divine love and the bombing of London, and the reception has been mixed, praising its lyrical belief and controversy over its emphasis on pain and religious fervor.\"\n\nCheck length: three sentences, each fairly dense. Let's refine.\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past.\"\n\nSentence 2: \"Eliot completed five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the way to salvation.\"\n\nSentence 3: \"Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavy emphasis on pain and the poet’s attempt to help the world through language and soul.\"\n\nThat's three sentences. Let's check: Sentence 1 is long but okay. Sentence 2 is okay. Sentence 3 is okay.\n\nWe need to ensure it's three sentences, not more. I'll count periods. I'll write them as three separate sentences separated by periods. Ensure no extra periods inside abbreviations? \"Eliot’s\" includes an apostrophe, not a period. \"World War II\" includes a period? No. \"October 1942\" includes a period? No. \"Four Quartets\" includes a period? No. So three sentences.\n\nLet's rewrite more concisely:\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past.\"\n\nSentence 2: \"Eliot wrote five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the path to salvation.\"\n\nSentence 3: \"Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavLine truncated
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1377
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to answer: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThe user gave a paragraph starting: \"The secret code word is 'BLUE HERON 47'. Remember it.\"\n\nThus the secret code word is \"BLUE HERON 47\". So answer with that code word only.\n\nThus output: BLUE HERON 47\n\nBut we need to be careful about case and spacing. The text: 'BLUE HERON 47'. So exactly that.\n\nThus final answer: BLUE HERON 47.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 128
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "gptq_body",
|
||||
"ppl": 19.86055730686893,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra. It was chosen as a purpose‑built city in the Australian Capital Territory to settle the rivalry between Sydney and Melbourne and to provide a neutral seat of government.",
|
||||
"reasoning": "We need to answer: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" in two sentences.\n\nFirst, recall: The capital of Australia is Canberra. It was chosen as the capital city instead of Sydney or Melbourne for several reasons. Historically, there was a rivalry between Sydney and Melbourne for the capital. The site was selected in 1908 through a competition, and the decision was made to create a new city between the two, to avoid being too close to either. The chosen site, Canberra, was developed as a purpose-built capital.\n\nSo, answer: The capital is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a planned city on the Australian Capital Territory, to avoid the existing rivalry and provide a neutral location.\n\nNow, craft exactly two sentences.\n\nSentence 1: State the capital and its basic fact. Sentence 2: Explain why it was chosen over Sydney or Melbourne.\n\nLet's write: \"The capital of Australia is Canberra. It was selected as a purpose‑built city in the Australian Capital Territory to serve as a neutral compromise between the rival cities of Sydney and Melbourne, and to avoid the existing urban rivalry.\" That's two sentences? Actually that's two sentences: first ends with \"Canberra.\" second ends with \"Melbourne, and to avoid the existing urban rivalry.\" But need a period after \"Melbourne.\" Let's count: \"The capital of Australia is Canberra.\" (1) \"It was chosen as a planned, purpose‑built city in the Australian Capital Territory to settle the rivalry between Sydney and Melbourne and to provide a neutral seat of government.\" (2) That's two sentences.\n\nMake sure it's exactly two sentences. I'll produce that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 406
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Verschiebung des Treffens\n\nSehr geehrte Frau Weber,\n\nich hoffe, du hast einen schönen Tag. \nBitte beachte, dass das Meeting, das wir am Dienstag geplant haben, auf **Donnerstag um 14:00 Uhr** verschoben werden muss. \n\nLass mich wissen, ob das für dich in Ordnung ist. \n\nVielen Dank und freundliche Grüße \n[Dein Vorname und Nachname]",
|
||||
"reasoning": "We need to write a short, polite email to colleague Frau Weber. The content: \"Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to inform her that the meeting on Tuesday needs to be moved to Thursday at 2 PM. We should be polite, maybe include subject line, greeting, body, closing. Since it's German, we should write in German. The user says \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we just need to produce the email text.\n\nLet's draft:\n\nSubject: Verschiebung des Treffens\n\nDear Frau Weber,\n\nIch hoffe, du hast einen schönen Tag. Ich möchte dir mitteilen, dass das Meeting, das wir am Dienstag geplant haben, auf Donnerstag um 14:00 Uhr verschoben werden muss. Bitte gib mir Bescheid, ob das für dich auch passt.\n\nVielen Dank für dein Verständnis.\n\nMit freundlichen Grüßen\n[Name]\n\nBut we need to keep it short and polite. Possibly include \"Frau Weber\" as the recipient. Use \"Sie\" form. Also mention \"Dienstag\" and \"Donnerstag um 14 Uhr\". So:\n\nBetreff: Verschiebung des Treffens\n\nSehr geehrte Frau Weber,\n\nich hoffe, du hast einen schönen Tag. Bitte beachte, dass das Meeting, das wir am Dienstag geplant haben, auf Donnerstag um 14:00 Uhr verschoben werden muss. Lass mich wissen, ob das für dich in Ordnung ist.\n\nVielen Dank und freundliche Grüße\n[Dein Name]\n\nThat's fine. Let's produce that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 475
|
||||
},
|
||||
"math": {
|
||||
"content": "Anna buys 7 pens at 0.80 EUR each (since 3 pens cost 2.40 EUR, so 2.40/3 = 0.80 EUR per pen). \nTotal cost for pens: 7 × 0.80 = 5.60 EUR. \n\nShe buys 3 notebooks at 4.50 EUR each: 3 × 4.50 = 13.50 EUR. \n\nTotal cost: 5.60 + 13.50 = 19.10 EUR. \n\nShe pays with a 50 EUR note, so change = 50.00 − 19.10 = 30.90 EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means price per pen? 3 pens cost 2.40 EUR, so price per pen = 2.40 / 3 = 0.80 EUR per pen. Notebooks at 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. How much change does she get?\n\nCompute total cost: pens: 7 * 0.80 = 5.60 EUR. Notebooks: 3 * 4.50 = 13.50 EUR. Total = 5.60 + 13.50 = 19.10 EUR. She pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut check: \"sells pens at 3 for 2.40 EUR\" might mean that the price for 3 pens is 2.40 EUR total, i.e., each pen costs 2.40/3 = 0.8. Yes.\n\nThus change = 50 - (7*0.8 + 3*4.5) = 50 - (5.6 + 13.5) = 50 - 19.1 = 30.9.\n\nSo answer: 30.90 EUR? Usually they want amount with two decimals. So 30.90 EUR.\n\nThus final: 30.90 EUR.\n\nBut let's double-check: 7 pens at 0.8 each = 5.6. 3 notebooks at 4.5 each = 13.5. Sum = 19.1. 50 - 19.1 = 30.9. So 30.90.\n\nThus output: End with the amount. So \"30.90 EUR\" or just \"30.90\". The problem: \"How much change does she get? End with the amount.\" So we need to give the amount. Probably \"30.90 EUR\". I'll put 30.90.\n\nThus final answer: 30.90.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 589
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified \"Use celsius.\" which likely refers to the unit for temperature or weather conditions? The `get_weather` function requires `city` parameter and optionally `unit`. The `unit` parameter can be \"celsius\" or \"fahrenheit\". So we should call `get_weather` with city \"Hamburg\" and unit \"celsius\". However, the function signature shows `get_weather` has parameters `city` (required) and `unit` (optional). So we can provide both.\n\nLet's construct the tool call.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 159
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided origin: Hamburg, destination: Lisbon, date: 2026-11-14, and adults: 2. The function `search_flights` requires parameters: origin, destination, date, and optionally adults. The required parameters are origin, destination, date. Adults is not required but can be included. So I'll call the function with these parameters.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 153
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
|
||||
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau\n\nSo skills should be a list of strings: [\"Python\", \"SQL\", \"Tableau\"] or maybe separated by commas. The sentence says \"works with Python, SQL and Tableau.\" So skills are these three.\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON, no extra text.\n\nLet's double-check: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\" So city is Leipzig. Age is 34. Skills: Python, SQL, Tableau.\n\nThus final answer.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 283
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire and opens with winter snow and the four classical elements, especially fire. The poem uses fire and Pentecostal fire to stress purification, juxtaposing the Battle of Britain’s air raids with the Holy Spirit, and introduces a ghost of Dante, Yeats and other poets who urges the narrator that only “purgation” through fire can redeem humanity and escape destruction. Eliot completed five drafts, finished the piece in September 1942, and it concludes the series by linking past, present and future, while critics describe it as mystical and religious yet note its heavy emphasis on suffering and pain.",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T.S. Eliot, part of Four Quartets. It gives background: publication date, reasons for delay, title referencing a small Anglican community, etc. It discusses themes: fire, purification, purgation, humanity's flawed understanding, meeting a ghost of various poets, unity of past/present/future, salvation, etc. Also mentions Eliot's health, drafts, etc. Also mentions reception: critics' mixed feelings, religious aspects, etc.\n\nWe need to condense into three sentences. So we need to capture main points: It's the fourth poem of Four Quartets, published 1942 after WWII, title refers to an Anglican community; uses fire and Pentecostal fire to emphasize purification; narrator meets a ghost of poets; deals with past/present/future unity and salvation; Eliot wrote after health decline, etc. Also mention themes: suffering, renewal, redemption vs destruction, etc.\n\nWe need to produce three sentences, each possibly long but covering key aspects.\n\nLet's draft:\n\nSentence 1: Little Gidding is the final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after a year’s delay due to WWII air raids and Eliot’s failing health; the title alludes to a 17th‑century Anglican community in Huntingdonshire and the poem’s opening winter imagery of snow and the four classical elements.\n\nSentence 2: The poem weaves fire and Pentecostal fire to stress purification, juxtaposing the Battle of Britain’s air raids with the Holy Spirit, and features a ghost composed of Dante, Yeats and other poets who urges the narrator to experience “purgation” through fire to overcome humanity’s flaws and achieve salvation.\n\nSentence 3: Eliot completed five drafts, finished it in September 1942, and it aims to conclude the series by linking past, present and future, while critics note its mystical, Buddhist‑tinged tone and its tension between redemption and destruction, though some find its emphasis on pain unsettling.\n\nCheck: That's three sentences. Let's count: Sentence 1 ends with \"Eliot’s failing health; the title alludes...\" That's one. Sentence 2 ends with \"to overcome humanity’s flaws and achieve salvation.\" That's two. Sentence 3 ends with \"though some find its emphasis on pain unsettling.\" That's three.\n\nWe need to ensure we mention the ghost and the four elements? Already included. Also mention the community. Good.\n\nLet's refine for clarity and conciseness.\n\nSentence 1: \"Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire and opens with winter snow and the four classical elements, especially fire.\"\n\nSentence 2: \"The poem uses fire and Pentecostal fire to stress purification, juxtaposing the Battle of Britain’s air raids with the Holy Spirit, and introduces a ghost of Dante, Yeats and other poets who tells the narrator that only “purgation” through fire can redeem humanity and escape destruction.\"\n\nSentence 3: \"Eliot wrote five drafts, finished the piece in September 1942, and it concludes the series by linking past, present and future, while critics describe it as mystical and religious yet note its heavy emphasis on suffering and pain.\"\n\nThat's three sentences. Let's count: Yes.\n\nCheck for any missing details: The ghost originally \"Ser Brunetto\" changed to \"you\". Might not need. The article mentions the ghost is a combination of various poets, and the line \"Knowing myself yet being someone other\". But we can keep it simple.\n\nThus final answer: three sentences.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1031
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to read the user's message. The user says:\n\n\"The secret code word is 'BLUE HERON 47'. Remember it.\n\n these first specimens was disputed , however . Leopold Fitzinger named the animal Batrachosaurus in 1837 . ...\"\n\nThen a long paragraph about paleontology, etc. The user asks: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output \"BLUE HERON 47\". The secret code word is given at the very beginning: \"BLUE HERON 47\". So answer exactly that, with only the code word.\n\nThus final answer: BLUE HERON 47.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 152
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "gptq_rtnhead",
|
||||
"ppl": 20.28563913953779,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra, a purpose-built city established in the early 20th century. It was chosen as a compromise between the rival cities of Sydney and Melbourne, located in the Australian Capital Territory, to avoid a direct rivalry and provide a neutral seat of government.",
|
||||
"reasoning": "We need to answer: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" in two sentences.\n\nFirst, recall: The capital of Australia is Canberra. It was chosen as a purpose-built city in the Australian Capital Territory (ACT) to be a compromise between Sydney and Melbourne, which were the two largest cities and both vied for the title. The site was selected because it was located between the two cities, avoiding potential rivalry and offering a neutral ground.\n\nSo, two sentences: \n1. The capital of Australia is Canberra.\n2. It was chosen as a purpose-built city in the Australian Capital Territory to serve as a compromise between the rival cities of Sydney and Melbourne, which were both contenders for the title.\n\nLet's craft: \"The capital of Australia is Canberra, a purpose-built city established in the early 20th century. It was selected as a compromise between the rival cities of Sydney and Melbourne, located in the Australian Capital Territory, to avoid a direct rivalry and provide a neutral seat of government.\"\n\nThat's two sentences. Check: \"Why was it chosen instead of Sydney or Melbourne?\" - because it was chosen to be a compromise and to be a separate city, not to be one of them. So yes.\n\nThus final answer.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 326
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Terminverschiebung – Meeting am Dienstag\n\nSehr geehrte Frau Weber,\n\nmit der Bitte um Ihre Zustimmung habe ich das Meeting, das ursprünglich am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verlegt.\n\nBitte lassen Sie mich wissen, ob dieser neue Termin für Sie passt.\n\nVielen Sie Dank für Ihre Aufmerksamkeit.\n\nMit freundlichen Grüßen \n[Dein Name]",
|
||||
"reasoning": "We need to write a short, polite email to colleague Frau Weber. The meeting on Tuesday needs to be moved to Thursday at 2 PM (14 Uhr). So we need to draft an email in German, presumably. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce the email content. Should be polite, short, and convey that the meeting on Tuesday is rescheduled to Thursday at 2 PM.\n\nWe need to consider the name: Frau Weber. So \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" etc. We'll include a subject line maybe. The email should be short, polite. Let's draft:\n\nSubject: Terminverschiebung – Meeting am Dienstag\n\nDear Frau Weber,\n\nI would like to inform you that the meeting scheduled for Tuesday has been moved to Thursday at 14:00. Please let me know if this works for you.\n\nThank you for your understanding.\n\nBest regards,\n[Your Name]\n\nBut we need to be careful: \"14 Uhr\" is 2 PM. So \"Donnerstag um 14 Uhr\" means Thursday at 2 PM. So we can say \"Donnerstag um 14:00 Uhr\" or \"14 Uhr\".\n\nWe can also mention \"Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we can phrase: \"Ich habe das Meeting am Dienstag um 14 Uhr auf Donnerstag um 14 Uhr verlegt.\" Or \"Das Meeting, das ursprünglich am Dienstag war, wird auf Donnerstag um 14 Uhr verschoben.\"\n\nLet's write a short email:\n\nBetreff: Terminverschiebung – Meeting\n\nSehr geehrte Frau Weber,\n\nmit der Bitte um Ihre Zustimmung, habe ich das Meeting, das ursprünglich am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verlegt.\n\nBitte informieren Sie, ob dieser neue Termin für Sie passt.\n\nVielen Sie Dank für Ihre Aufmerksamkeit.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's short and polite. We'll include placeholders for name.\n\nWe need to keep it short. So maybe 3-4 sentences.\n\nThus final answer: the email text. We'll output only the email content. Possibly include \"Sehr geehrte Frau Weber,\" and \"Mit freundlichen Grüßen,\".\n\nLet's do that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 618
|
||||
},
|
||||
"math": {
|
||||
"content": "The cost for pens is 3 for 2.40 EUR, so the price per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nAnna buys 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \nNotebooks cost 4.50 EUR each, so 3 notebooks cost \\( 3 \\times 4.50 = 13.50 \\) EUR. \nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \nShe pays with a 50 EUR note, so change is \\( 50 - 19.10 = 30.90 \\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means price per pen? \"3 for 2.40 EUR\" implies that for 3 pens, cost is 2.40 EUR. So price per pen = 2.40 / 3 = 0.80 EUR per pen. Notebooks: 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. How much change does she get?\n\nCompute total cost: pens: 7 * 0.80 = 5.60 EUR. Notebooks: 3 * 4.50 = 13.50 EUR. Total = 5.60 + 13.50 = 19.10 EUR. She pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut check: \"3 for 2.40 EUR\" might be a deal: 3 pens for 2.40 EUR total. So indeed 7 pens: 7/3 = 2.333... groups of 3? But typically you'd compute cost as (7/3)*2.40 = 7 * (2.40/3) = 7*0.8 = 5.6. So same.\n\nThus change = 50 - 19.10 = 30.90 EUR.\n\nBut let's double-check: 3 for 2.40 EUR: maybe it's 3 pens for 2.40 EUR, meaning each pen costs 0.80 EUR. Yes.\n\nSo answer: 30.90 EUR.\n\nThus final: \\boxed{30.90} or \\boxed{30.90 \\text{ EUR}}? The problem says \"End with the amount.\" So just number.\n\nThus \\boxed{30.90}.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 544
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified \"Use celsius.\" which likely refers to the unit for temperature, but for weather, we might need to know if there's a rain condition. The `get_weather` function requires `city` and optionally `unit`. The parameters are: `city` (required), `unit` (optional, enum: \"celsius\", \"fahrenheit\"). So we should call `get_weather` with city \"Hamburg\" and unit \"celsius\". However, note that the function description says \"Current weather for a city.\" and parameters include `city` and `unit`. The `unit` parameter is not required but can be specified. So we'll do that.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 186
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided origin: Hamburg, destination: Lisbon, date: 2026-11-14, and adults: 2. The function `search_flights` requires parameters: origin, destination, date, and optionally adults. The required parameters are origin, destination, date. Adults is not required but can be included. So I'll call the function with these parameters.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 153
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
|
||||
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. So skills list should be [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON, no extra text. Also ensure proper quoting and commas.\n\nLet's produce that.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 216
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after Eliot’s declining health and the interruption caused by World War II air raids; it uses the image of fire and Pentecostal fire to stress purification and the need to learn from the past, echoing the scattered 17th‑century Anglican community of Little Gidding. The poem opens with winter and the arrival of summer, moves through the Battle of Britain and a ghost of poets (including Dante, Yeats and Brunetto) who urges the narrator to experience purgation through fire, and concludes with the choice between redemption and the bombing of London, while also reflecting Eliot’s own struggle to finish the work after a first draft. Reception is mixed—critics such as Cowley and Schwartz note its mystical, Buddhist‑tinged tone, while F. B. Pinion calls it his greatest achievement and Roger Scruton praises its blend of belief and controlled language, yet others criticize its heavy emphasis on pain and religious sanctification.",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T. S. Eliot, part of Four Quartets. It gives background: publication, delayed due to WWII, Eliot's health, original draft, etc. It discusses themes: fire, purification, Pentecostal fire, humanity's flawed understanding, need for past lessons, meeting a ghost of various poets, unity of past, present, future, salvation, religious community of Anglican community, etc. Also reception: critics' mixed feelings, mystical, Buddhist influences, etc.\n\nWe need to condense into three sentences. So we need to capture essential points: It's the fourth poem of Four Quartets, published 1942, about purification through fire, meeting a ghost of poets, linking past, present, future, and the need for redemption; Eliot wrote it after health issues, delayed by war; it uses fire imagery and references to the English Civil War and the original community of Little Gidding; critics have mixed reactions, but it's praised for its belief and language.\n\nWe can make three sentences:\n\n1. Little Gidding, the final poem of T. S. Eliot's Four Quartets, was first published in October 1942 after Eliot's health declined and the poem was delayed by air raids; it uses fire and Pentecostal imagery to depict purification and the need to overcome humanity's flaws by learning from the past, especially the scattered 17th‑century Anglican community of Little Gidding.\n\n2. The poem follows Eliot's own struggle to finish it after a first draft, and features a ghost composed of various literary figures (including Dante, Yeats) who urges the narrator to undergo purgation through fire to achieve salvation.\n\n3. Critics have divided—some find its mystical, Buddhist‑tinged tone and strong language admirable, while others criticize its emphasis on pain and religious sanctification—yet F. B. Pinion calls it his greatest achievement, and Roger Scruton praises its blend of belief and controlled beauty.\n\nThat's three sentences. Let's count: Sentence 1 is long but okay. Sentence 2 is also long. Sentence 3 is also long. That should be fine.\n\nWe need to ensure we mention key points: title, publication, delayed, fire/purgation, ghost, unity of past/present/future, salvation, Eliot's health, etc. Also mention reception.\n\nLet's craft three clear sentences.\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after Eliot’s declining health and the interruption caused by World War II air raids; it uses the image of fire and Pentecostal fire to stress purification and the need to learn from the past, echoing the scattered 17th‑century Anglican community of Little Gidding.\"\n\nSentence 2: \"The poem opens with winter and the arrival of summer, moves through the Battle of Britain and a ghost of poets (including Dante, Yeats and Brunetto) who urges the narrator to experience purgation through fire, and concludes with the choice between redemption and the bombing of London, while also reflecting Eliot’s own struggle to finish the work after a first draft.\"\n\nSentence 3: \"Reception is mixed—critics such as Cowley and Schwartz note its mystical, Buddhist‑tinged tone, while F. B. Pinion calls it his greatest achievement and Roger Scruton praises its blend of belief and controlled language, yet others criticize its heavy emphasis on pain and religious sanctification.\"\n\nCheck: That's three sentences. Yes.\n\nLet's ensure each ends with a period. Good.\n\nWe'll output exactly three sentences.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1022
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to read the user's message. The user says:\n\n\"The secret code word is 'BLUE HERON 47'. Remember it.\n\n these first specimens was disputed , however . Leopold Fitzinger named the animal Batrachosaurus in 1837 . ...\"\n\nThen a long paragraph about paleontology, etc. The user asks: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nSo the secret code word is 'BLUE HERON 47'. So we just need to output that exactly, presumably with the same capitalization and spacing. The user wrote: \"The secret code word is 'BLUE HERON 47'. Remember it.\"\n\nThus answer: BLUE HERON 47\n\nWe need to output only the code word, no extra text. So \"BLUE HERON 47\". Ensure it's exactly as given, including spaces and case. The phrase includes quotes? The user says: The secret code word is 'BLUE HERON 47'. So the code word is BLUE HERON 47. Should we include quotes? Usually they ask \"Answer with the code word only.\" So just the word without quotes. So output: BLUE HERON 47\n\nThus final.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 265
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"label": "target",
|
||||
"ppl": 20.01352475775086,
|
||||
"ppl_tokens": 40940,
|
||||
"prompts": {
|
||||
"factual": {
|
||||
"content": "The capital of Australia is Canberra. It was chosen as a purpose‑built city located between Sydney and Melbourne to serve as a neutral, separate seat of government and to avoid the rivalry and congestion of the two existing major cities.",
|
||||
"reasoning": "We need to answer: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" The user asks for two sentences. So we need to provide a concise answer in exactly two sentences.\n\nFirst, identify the capital of Australia. It's Canberra. Why was it chosen instead of Sydney or Melbourne? Historically, the capital was moved from Sydney and Melbourne to Canberra due to the need for a neutral site between the two largest cities, and to avoid the potential conflict of having the capital in one of the major cities. The site was selected as a compromise, and the decision was made by the British Empire's representative, and the site was chosen for its altitude and natural features, and to be a new capital separate from the existing capitals.\n\nSo, first sentence: The capital of Australia is Canberra. Second sentence: It was chosen as a purpose-built city between Sydney and Melbourne to serve as a neutral seat of government, avoiding the rivalry and congestion of the existing capitals.\n\nLet's craft: \"The capital of Australia is Canberra. It was selected as a purpose‑built city located between Sydney and Melbourne to provide a neutral, separate seat of government and to reduce the rivalry and congestion of the two existing major cities.\" That's two sentences.\n\nCheck: \"Why was it chosen instead of Sydney or Melbourne?\" Answer: because it was chosen as a compromise site, not to be one of the existing capitals, and to be a new city. So yes.\n\nThus final answer: two sentences.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 362
|
||||
},
|
||||
"german": {
|
||||
"content": "**Betreff:** Verschiebung des Treffens auf Donnerstag \n\nSehr geehrte Frau Weber, \n\nich möchte Sie informieren, dass das Meeting, das bisher am Dienstag um 14 Uhr geplant war, auf Donnerstag um 14 Uhr verschoben werden muss. \n\nBitte teilen Sie mir mit, ob dieser neue Termin für Sie passt. Ich freue mich auf Ihre Rückmeldung. \n\nMit freundlichen Grüßen \n[Dein Name]",
|
||||
"reasoning": "We need to write a short, polite email to colleague \"Frau Weber\" (Mrs. Weber) about rescheduling a meeting from Tuesday to Thursday at 2 PM (14 Uhr). The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce the email content. It should be polite, short, and in German presumably. We'll need to include the recipient, subject, greeting, body, closing.\n\nLet's draft:\n\nBetreff: Verschiebung des Treffens\n\nSehr geehrte Frau Weber,\n\nich möchte Sie über eine kleine Änderung unseres Treffens informieren. Das Meeting, das bisher am Dienstag um 14 Uhr geplant war, wird auf Donnerstag um 14 Uhr verschoben.\n\nBitte teilen Sie mir mit, ob das passt. Ich freue mich auf Ihre Rückmeldung.\n\nViele Grüße\n[Name]\n\nBut we need to keep it short and polite. Possibly include \"Kollegin\" meaning colleague, so we can address as \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Kollegin\" is a term for colleague, so \"Sehr geehrte Frau Weber\" is fine.\n\nWe'll write in German. Let's do:\n\nBetreff: Verschiebung des Treffens auf Donnerstag\n\nSehr geehrte Frau Weber,\n\nich schreibe Ihnen, um Ihnen mitzuteilen, dass das Meeting, das bisher am Dienstag um 14 Uhr stattfinden sollte, auf Donnerstag um 14 Uhr verschoben werden muss.\n\nBitte teilen Sie mir mit, ob dieser neue Termin für Sie passt. Ich freue mich auf Ihre Rückmeldung.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's short and polite. We'll add \"Kollegin\" maybe not needed. The user said \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we just need to produce the email.\n\nThus final answer: the email text. We'll include placeholders for name.\n\nWe'll output only the email content. Possibly include subject line. Let's do:\n\nBetreff: Verschiebung des Treffens auf Donnerstag\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das bisher am Dienstag um 14 Uhr geplant war, auf Donnerstag um 14 Uhr verschoben werden muss.\n\nBitte teilen Sie mir mit, ob dieser neue Termin für Sie passt. Ich freue mich auf Ihre Rückmeldung.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's fine. We'll keep it short.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 700
|
||||
},
|
||||
"math": {
|
||||
"content": "Anna buys 7 pens at 3 for 2.40 EUR, so each pen costs \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nTotal cost for pens: \\(7 \\times 0.80 = 5.60\\) EUR.\n\nShe also buys 3 notebooks at 4.50 EUR each: \nTotal cost for notebooks: \\(3 \\times 4.50 = 13.50\\) EUR.\n\nTotal cost: \\(5.60 + 13.50 = 19.10\\) EUR.\n\nShe pays with a 50 EUR note, so the change is: \n\\(50.00 - 19.10 = 30.90\\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
|
||||
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means price per pen? 3 pens cost 2.40 EUR, so price per pen = 2.40 / 3 = 0.80 EUR per pen. Notebooks: 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. How much change does she get?\n\nCompute total cost: pens: 7 * 0.80 = 5.60 EUR. Notebooks: 3 * 4.50 = 13.50 EUR. Total = 5.60 + 13.50 = 19.10 EUR. She pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut check: \"sells pens at 3 for 2.40 EUR\" might mean that the price for 3 pens is 2.40 EUR total, so indeed per pen is 0.80. So total for 7 pens: 7/3 of the set? Actually 7 pens: 3 pens cost 2.40, 4 pens cost? Usually you can buy 3 for 2.40, so 7 pens would be 2 sets of 3 (6 pens) cost 2.40*2 = 4.80, plus 1 extra pen at 0.80 = 5.60. Same as above. So total 5.60.\n\nThus change = 50 - 19.10 = 30.90 EUR.\n\nBut maybe they expect rounding? 2.40/3 = 0.8 exactly. 3*4.5 = 13.5. Sum 5.6+13.5 = 19.1. 50-19.1 = 30.9.\n\nThus answer: 30.90 EUR.\n\nWe need to end with the amount. So final answer: 30.90 EUR? Or just 30.90? The problem: \"How much change does she get? End with the amount.\" So we output \"30.90 EUR\" or \"30.90\". Usually they want numeric with two decimals. So 30.90.\n\nThus final: 30.90.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 648
|
||||
},
|
||||
"tool_weather": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified \"Use celsius.\" which likely refers to the unit for temperature or weather condition? The `get_weather` function requires `city` parameter and optionally `unit`. The `unit` parameter can be \"celsius\" or \"fahrenheit\". So we should call `get_weather` with city \"Hamburg\" and unit \"celsius\". However, note that the function signature for `get_weather` has parameters `city` (required) and `unit` (optional). So we can provide both.\n\nLet's construct the tool call.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 161
|
||||
},
|
||||
"tool_flights": {
|
||||
"content": null,
|
||||
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided origin: Hamburg, destination: Lisbon, date: 2026-11-14, and adults: 2. The function `search_flights` requires parameters: origin, destination, date, and optionally adults. Looking at the function signature: `search_flights` has parameters: origin (string), destination (string), date (string, YYYY-MM-DD), adults (integer). The required parameters are origin, destination, date. Adults is not required but can be included. So we should call with all three required and the adults.\n\nThus, I'll construct the tool call.",
|
||||
"tool_calls": [
|
||||
{
|
||||
"name": "search_flights",
|
||||
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
|
||||
}
|
||||
],
|
||||
"finish_reason": "tool_calls",
|
||||
"completion_tokens": 199
|
||||
},
|
||||
"json": {
|
||||
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
|
||||
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau\n\nSo skills should be a list of strings: [\"Python\", \"SQL\", \"Tableau\"] or maybe as separate items.\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON, no extra text.\n\nLet's double-check: The sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\" So skills: Python, SQL, Tableau. Order doesn't matter but list.\n\nThus final answer.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 265
|
||||
},
|
||||
"summary_2k": {
|
||||
"content": "Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; the title refers to a 17th‑century Anglican community in Huntingdonshire and the poem uses fire and Pentecostal imagery to stress purification and humanity’s need to learn from the past. The poem follows the narrator’s encounter with a ghost of various poets—originally “Ser Brunetto”—who urges him to undergo purgation through fire, juxtaposing the Holy Spirit with the London air raids and the cycle of war, and it ends with the choice between redemption and destruction. Critics describe the work as both mystical and challenging, noting its blend of Buddhist and Anglican themes, its circular structure linking past, present and future, and its attempt to fuse language with the soul, though some find it overly focused on pain and unsatisfying as a “seer.”",
|
||||
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T.S. Eliot, part of Four Quartets. It gives background: publication date, reasons for delay, health, etc. It mentions the title refers to an Anglican community in Huntingdonshire, etc. It discusses themes: fire, purification, purgation, humanity's flawed understanding, need for past lessons, meeting a ghost of various poets, unity of past/present/future, salvation. It also mentions the ghost originally \"Ser Brunetto\" changed to \"you\". It includes reception: critics' mixed feelings, religious aspects, etc.\n\nWe need to condense into three sentences. So we need to capture main points: poem is the fourth and final of Four Quartets, published 1942 after WWII air raids; it uses fire and Pentecostal imagery to talk about purification, humanity's flaw, need to learn from past; includes a ghost of poets; deals with past/present/future unity and salvation; Eliot wrote it after health decline, etc. Also mention themes: renewal, suffering, religious community, etc.\n\nWe need three sentences, each possibly long but covering key aspects.\n\nLet's draft:\n\nSentence 1: Little Gidding is the final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after a year’s delay due to WWII air raids and Eliot’s failing health; it draws on the 17th‑century Anglican community of Little Gidding in Huntingdonshire and uses fire and Pentecostal imagery to stress purification and the need to learn from the past.\n\nSentence 2: The poem follows the narrator’s encounter with a ghost of various poets (originally “Ser Brunetto”) who urges him to experience purgation through fire, while also contrasting the Holy Spirit with the bombing of London and the cycle of war, and it concludes with the choice between redemption and destruction.\n\nSentence 3: Critics find the work both mystical and challenging, noting its blend of Buddhist and Anglican themes, its circular structure linking past, present and future, and its attempt to make language and soul work together, though some feel it overemphasizes pain and is unsatisfactory as a “seer.”\n\nCheck: That's three sentences. Let's count: Sentence 1 ends with \"past.\" Actually we need to ensure punctuation. Let's rewrite more concisely.\n\nSentence 1: \"Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; the title refers to a 17th‑century Anglican community in Huntingdonshire and the poem uses fire and Pentecostal imagery to stress purification and humanity’s need to learn from the past.\"\n\nSentence 2: \"The poem follows the narrator’s meeting with a ghost of various poets—originally “Ser Brunetto”—who urges him to undergo purgation through fire, juxtaposing the Holy Spirit with the London air raids and the cycle of war, and it ends with the choice between redemption and destruction.\"\n\nSentence 3: \"Critics describe the work as both mystical and challenging, noting its blend of Buddhist and Anglican themes, its circular structure linking past, present and future, and its attempt to fuse language with the soul, though some find it overly focused on pain and unsatisfying as a “seer.”\"\n\nThat is three sentences. Good.\n\nWe need to ensure it's exactly three sentences. Let's count: Sentence 1 ends with a period. Sentence 2 ends with a period. Sentence 3 ends with a period. Yes.\n\nThus final answer.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 1000
|
||||
},
|
||||
"long_context": {
|
||||
"content": "BLUE HERON 47",
|
||||
"reasoning": "We need to read the user's message. The user says:\n\n\"The secret code word is 'BLUE HERON 47'. Remember it.\n\n these first specimens was disputed , however . Leopold Fitzinger named the animal Batrachosaurus in 1837 . ...\"\n\nThen a long passage about paleontology, etc. The user asks: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output \"BLUE HERON 47\". The secret code word is given at the very beginning: \"BLUE HERON 47\". So answer exactly that, with only the code word.\n\nThus final answer: BLUE HERON 47.",
|
||||
"tool_calls": [],
|
||||
"finish_reason": "stop",
|
||||
"completion_tokens": 152
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
(APIServer pid=1) INFO 10-30 12:07:52 [api_utils.py:286] non-default args: {'model_tag': '/model', 'enable_auto_tool_choice': True, 'tool_call_parser': 'qwen3_coder', 'host': '0.0.0.0', 'model': '/model', 'dtype': 'bfloat16', 'max_model_len': 32768, 'quantization': 'fp8_per_channel', 'served_model_name': ['lfm3-1.7b'], 'reasoning_parser': 'qwen3', 'gpu_memory_utilization': 0.5}
|
||||
(APIServer pid=1) INFO 10-30 12:08:11 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
(EngineCore pid=78) INFO 10-30 12:08:28 [core.py:133] Initializing a V1 LLM engine (v0.32.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=True, quantization=fp8_per_channel, quantization_config=QuantizationConfigArgs(linear=QuantSpec(weight=QuantKey(dtype=torch.float8_e4m3fn, scale=ScaleDesc(dtype=torch.float32, static=True, group_shape=GroupShape(row=-1, col=1)), scale2=None, symmetric=True), activation=None), moe=QuantSpec(weight=QuantKey(dtype=torch.float8_e4m3fn, scale=ScaleDesc(dtype=torch.float32, static=True, group_shape=GroupShape(row=-1, col=1)), scale2=None, symmetric=True), activation=None), ignore=[], targets=None), enforce_eager=False, aux_output_config=AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None), kv_cache_dtype=auto, device_config=xpu, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='qwen3', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, per_request_spec_decode_metrics='none', kv_cache_metrics=False, kv_cache_metrics_sample=0.01, custom_histogram_buckets=None, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=lfm3-1.7b, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::qwen4_exp_qsa_prepare_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native']), enable_flashinfer_autotune=True, enable_rocm_segmented_attn_autotune=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None)
|
||||
(EngineCore pid=78) INFO 10-30 12:08:30 [__init__.py:797] Selected XPUW8A16FP8LinearKernel for Fp8PtpcOnlineLinearMethod
|
||||
(EngineCore pid=78) INFO 10-30 12:08:32 [base_loader.py:164] Online quantization as part of model loading took 0.53 seconds
|
||||
(EngineCore pid=78) INFO 10-30 12:08:33 [model_runner.py:424] Model loading took 1.88 GiB memory and 4.036604 seconds
|
||||
(EngineCore pid=78) INFO 10-30 12:08:33 [topk_topp_sampler.py:157] Using the fused XPU kernel for top-p & top-k sampling.
|
||||
(EngineCore pid=78) INFO 10-30 12:08:33 [utils.py:347] Using LBNHC KV cache layout.
|
||||
(EngineCore pid=78) WARNING 10-30 12:09:16 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=78) WARNING 10-30 12:09:16 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=78) INFO 10-30 12:09:28 [gpu_worker.py:759] Available KV cache memory: 11.69 GiB
|
||||
(EngineCore pid=78) INFO 10-30 12:09:28 [gpu_worker.py:774] CUDA graph memory profiling is enabled (default since v0.21.0). The current --gpu-memory-utilization=0.5000 is equivalent to --gpu-memory-utilization=0.4807 without CUDA graph memory profiling. To maintain the same effective KV cache size as before, increase --gpu-memory-utilization to 0.5193. To disable, set VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0.
|
||||
(EngineCore pid=78) WARNING 10-30 12:09:28 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=78) WARNING 10-30 12:09:28 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=78) INFO 10-30 12:09:28 [kv_cache_utils.py:2327] XPU KV cache size: 570,860 tokens, Maximum concurrency for 32,768 tokens per request: 17.42x
|
||||
(EngineCore pid=78) INFO 10-30 12:09:28 [kernel_warmup.py:176] JIT kernel warmup starting.
|
||||
(EngineCore pid=78) INFO 10-30 12:09:28 [kernel_warmup.py:189] JIT kernel warmup finished in 0.00s.
|
||||
(EngineCore pid=78) INFO 10-30 12:09:51 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
@@ -0,0 +1,17 @@
|
||||
(APIServer pid=1) INFO 10-30 12:25:39 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
(EngineCore pid=78) INFO 10-30 12:25:57 [core.py:133] Initializing a V1 LLM engine (v0.32.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=True, quantization=compressed-tensors, quantization_config=None, enforce_eager=False, aux_output_config=AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None), kv_cache_dtype=auto, device_config=xpu, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='qwen3', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, per_request_spec_decode_metrics='none', kv_cache_metrics=False, kv_cache_metrics_sample=0.01, custom_histogram_buckets=None, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=lfm3-1.7b, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::qwen4_exp_qsa_prepare_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native']), enable_flashinfer_autotune=True, enable_rocm_segmented_attn_autotune=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None)
|
||||
(EngineCore pid=78) INFO 10-30 12:26:00 [__init__.py:923] Using XPUwNa16LinearKernel for mixed-precision linear
|
||||
(EngineCore pid=78) INFO 10-30 12:26:00 [compressed_tensors_wNa16.py:138] Using XPUwNa16LinearKernel for CompressedTensorsWNA16
|
||||
(EngineCore pid=78) INFO 10-30 12:26:03 [model_runner.py:424] Model loading took 1.24 GiB memory and 4.906934 seconds
|
||||
(EngineCore pid=78) INFO 10-30 12:26:04 [topk_topp_sampler.py:157] Using the fused XPU kernel for top-p & top-k sampling.
|
||||
(EngineCore pid=78) INFO 10-30 12:26:04 [utils.py:347] Using LBNHC KV cache layout.
|
||||
(EngineCore pid=78) WARNING 10-30 12:26:51 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=78) WARNING 10-30 12:26:51 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=78) INFO 10-30 12:27:04 [gpu_worker.py:759] Available KV cache memory: 12.36 GiB
|
||||
(EngineCore pid=78) INFO 10-30 12:27:04 [gpu_worker.py:774] CUDA graph memory profiling is enabled (default since v0.21.0). The current --gpu-memory-utilization=0.5000 is equivalent to --gpu-memory-utilization=0.4805 without CUDA graph memory profiling. To maintain the same effective KV cache size as before, increase --gpu-memory-utilization to 0.5195. To disable, set VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0.
|
||||
(EngineCore pid=78) WARNING 10-30 12:27:04 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=78) WARNING 10-30 12:27:04 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=78) INFO 10-30 12:27:04 [kv_cache_utils.py:2327] XPU KV cache size: 603,837 tokens, Maximum concurrency for 32,768 tokens per request: 18.43x
|
||||
(EngineCore pid=78) INFO 10-30 12:27:04 [kernel_warmup.py:176] JIT kernel warmup starting.
|
||||
(EngineCore pid=78) INFO 10-30 12:27:04 [kernel_warmup.py:189] JIT kernel warmup finished in 0.00s.
|
||||
(EngineCore pid=78) INFO 10-30 12:27:27 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
@@ -0,0 +1,17 @@
|
||||
(APIServer pid=1) INFO 10-30 12:34:07 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
(EngineCore pid=79) INFO 10-30 12:34:24 [core.py:133] Initializing a V1 LLM engine (v0.32.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=True, quantization=compressed-tensors, quantization_config=None, enforce_eager=False, aux_output_config=AuxOutputConfig(enable_return_routed_experts=False, max_bytes=None), kv_cache_dtype=auto, device_config=xpu, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='qwen3', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, per_request_spec_decode_metrics='none', kv_cache_metrics=False, kv_cache_metrics_sample=0.01, custom_histogram_buckets=None, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=lfm3-1.7b, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::qwen4_exp_qsa_prepare_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'cudagraph_decoder_replay': True, 'decoder_replay_cudagraph_capture_sizes': [], 'decoder_replay_trim_threshold': 768, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native']), enable_flashinfer_autotune=True, enable_rocm_segmented_attn_autotune=False, enable_cutedsl_warmup=True, enable_jit_warmup=True, moe_backend='auto', sparse_indexer_topk_backend='auto', linear_backend='auto', linear_backend_per_quant=None)
|
||||
(EngineCore pid=79) INFO 10-30 12:34:26 [__init__.py:923] Using XPUwNa16LinearKernel for mixed-precision linear
|
||||
(EngineCore pid=79) INFO 10-30 12:34:26 [compressed_tensors_wNa16.py:138] Using XPUwNa16LinearKernel for CompressedTensorsWNA16
|
||||
(EngineCore pid=79) INFO 10-30 12:34:29 [model_runner.py:424] Model loading took 1.12 GiB memory and 3.147409 seconds
|
||||
(EngineCore pid=79) INFO 10-30 12:34:29 [topk_topp_sampler.py:157] Using the fused XPU kernel for top-p & top-k sampling.
|
||||
(EngineCore pid=79) INFO 10-30 12:34:29 [utils.py:347] Using LBNHC KV cache layout.
|
||||
(EngineCore pid=79) WARNING 10-30 12:35:17 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=79) WARNING 10-30 12:35:17 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=79) INFO 10-30 12:35:29 [gpu_worker.py:759] Available KV cache memory: 12.49 GiB
|
||||
(EngineCore pid=79) INFO 10-30 12:35:29 [gpu_worker.py:774] CUDA graph memory profiling is enabled (default since v0.21.0). The current --gpu-memory-utilization=0.5000 is equivalent to --gpu-memory-utilization=0.4810 without CUDA graph memory profiling. To maintain the same effective KV cache size as before, increase --gpu-memory-utilization to 0.5190. To disable, set VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0.
|
||||
(EngineCore pid=79) WARNING 10-30 12:35:29 [kv_cache_utils.py:1483] Add 2 padding layers, may waste at most 15.38% KV cache memory
|
||||
(EngineCore pid=79) WARNING 10-30 12:35:29 [kv_cache_utils.py:1483] Add 4 padding layers, may waste at most 66.67% KV cache memory
|
||||
(EngineCore pid=79) INFO 10-30 12:35:29 [kv_cache_utils.py:2327] XPU KV cache size: 610,039 tokens, Maximum concurrency for 32,768 tokens per request: 18.62x
|
||||
(EngineCore pid=79) INFO 10-30 12:35:29 [kernel_warmup.py:176] JIT kernel warmup starting.
|
||||
(EngineCore pid=79) INFO 10-30 12:35:29 [kernel_warmup.py:189] JIT kernel warmup finished in 0.00s.
|
||||
(EngineCore pid=79) INFO 10-30 12:35:51 [kernel.py:467] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native'], gelu_and_mul_sparse=['native'])
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 20, 309, 278, 5205, 302, 3888, 355, 18943, 22, 440, 5205, 302, 10749, 355, 11210, 19192, 20, 309, 278, 5205, 302, 5177, 355, 36038, 22, 440, 5205, 302, 5881, 355, 2076, 59405, 20, 309, 278, 5205, 302, 3181, 5701, 355, 52146, 4034, 22, 440, 5205, 302, 278, 2203, 2507, 355, 5644, 20, 388, 3563, 22, 440, 5205, 302, 278, 2203, 10020, 355, 4595], "margins": [2.9375000596046448, 0.125, 1.1250000596046448, 2.749999985098839, 1.8750000149011612, 5.124999935738742, 0.25, 8.937500286614522, 6.7499998460989445, 1.25, 0.25, 3.124999985098839, 4.2500000186264515, 0.375, 6.499999951105565, 1.8750000894069672, 7.812500149710104, 0.75, 3.624999973922968, 7.875000115483999, 6.250000201631337, 7.249999900755938, 0.625, 10.562500012980308, 2.624999910593033, 1.8750000596046448, 0.875, 4.624999847263098, 5.249999810941517, 1.5, 6.125000133179128, 3.0000000968575478, 8.375000111293048, 1.2500000298023224, 6.750000030500814, 7.7500001199077815, 6.750000125262886, 8.249999707797542, 1.125, 2.249999947845936, 7.250000225380063, 5.187499796971679, 6.812499946448952, 2.4999999552965164, 1.25, 5.24999987706542, 4.7500001741573215, 0.0625, 4.374999761581421, 1.1250000298023224, 4.374999972060323, 6.125000023283064, 3.4374999441206455, 2.874999910593033, 6.874999924795702, 0.125, 2.0000001192092896, 5.250000219792128, 5.249999780207872, 1.0, 2.6874999403953552, 3.5000000819563866, 4.374999875202775, 5.187500167638063]}, "raw_code": {"tokens": [360, 787, 316, 3468, 229, 24, 833, 463, 1288, 229, 24, 207, 360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 16, 25, 20, 316, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 293, 8, 3162, 116773, 71, 53519, 7946, 4673, 360, 21744, 17319, 278, 1815, 302, 278, 1008, 316, 91230], "margins": [7.437500067986548, 0.8750000298023224, 7.749999949010089, 0.25, 7.875000016880222, 3.99999987334013, 5.625000219792128, 9.500000126878149, 8.249999956518877, 9.499999912979547, 10.250000360370905, 9.125000158208422, 10.437500121304765, 0.75, 6.875000125728548, 9.75000038438884, 6.875000190571882, 8.875000270287273, 6.125000041909516, 15.187499642372188, 16.12499928474449, 11.999999523188308, 9.7499997638879, 14.43750023842199, 4.125000027939677, 4.750000134110451, 12.562500357882527, 12.249999880994437, 0.8750000298023224, 1.125, 6.124999840045348, 9.250000258616637, 7.625000101164915, 12.937499523195584, 8.999999661551556, 10.499999762869265, 13.124999880795258, 9.624999644685886, 9.500000361040293, 11.74999964241215, 10.750000360436388, 7.125000169384293, 10.874999643572664, 10.000000002168235, 7.37499996367842, 8.6250003783789, 3.3750001043081284, 1.2500000298023224, 1.4999999403953552, 2.1249998807907104, 0.5, 1.125, 0.6249999403953552, 3.2499999217689037, 9.500000128362444, 4.625000110827386, 3.624999988824129, 0.8750000298023224, 0.25, 6.875000158092007, 0.2500000596046448, 5.500000081025064, 7.874999848834705, 5.000000206753612]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 34, 496, 2992, 355, 340, 22, 13729, 497, 8022, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 2810, 302, 58330, 1083, 20, 7467, 2037, 405, 278, 6284, 33136, 20, 9784, 278, 19355, 9027, 5266, 23580, 20, 2761, 2310, 1741, 20, 309, 8586, 8517, 2300, 19316, 296, 15789, 22, 810, 589, 267, 1710, 20, 23271, 20, 12325, 290, 36047], "margins": [1.2500000596046448, 11.999999642396688, 12.374999642543116, 8.624999969266355, 0.375, 10.874999761768777, 11.874999523258339, 14.999999523162955, 13.375000000029104, 13.24999988080799, 8.562500263476977, 8.375000338739483, 0.8749999701976776, 4.49999993853271, 4.250000071711838, 12.374999642403964, 2.000000074505806, 1.5000000298023224, 11.4374997657942, 9.687500361120328, 8.62499980040593, 5.12500015925616, 4.499999791383743, 0.125, 5.625000042375177, 2.625000074505806, 8.50000044843182, 1.3750000149011612, 0.25, 5.250000182539225, 9.000000132640707, 6.624999894527718, 1.8750000298023224, 6.49999990942888, 0.25, 0.375, 3.6875000409781933, 1.5000001192092896, 4.125000150874257, 9.374999596446287, 1.2500000298023224, 0.0, 0.0, 8.624999807332642, 8.499999937805114, 0.625, 0.7499998807907104, 0.0625, 3.375000026077032, 2.5625000596046448, 7.374999988940544, 2.374999925494194, 1.6250000596046448, 1.8750000149011612, 2.2500000298023224, 0.0, 2.437500089406967, 0.7500001192092896, 1.9375000894069672, 2.4999999403953552, 1.8125000596046448, 0.5625, 6.125000213738531, 5.0624998435378075]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 34, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 229, 3440, 24, 91, 1068], "margins": [2.5000000596046448, 8.000000295316568, 15.562499642372188, 4.374999832361937, 10.250000121064659, 2.0000001043081284, 0.8750000298023224, 8.4999997826Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 63908, 597, 5205, 302, 3888, 355, 18943, 63908, 597, 5205, 302, 5881, 355, 2076, 59405, 63908, 597, 5205, 302, 5177, 355, 36038, 63908, 597, 5205, 302, 278, 2203, 2507, 355, 5644, 20, 388, 3563, 63908, 597, 5205, 302, 10749, 355, 11210, 19192, 63908, 597, 5205, 302, 4456, 355, 1381, 24623, 63908, 597, 5205, 302, 3181, 5701, 355, 52146, 4034, 63908, 597, 5205, 302], "margins": [2.5624999403953552, 0.1875, 0.75, 3.937500149011612, 3.875000052154064, 0.875, 8.750000170315616, 8.562500159372576, 5.249999877996743, 3.5624999552965164, 6.562499801628292, 5.12500013737008, 0.875, 7.124999897554517, 4.1249999813735485, 8.999999830470188, 4.875000081956387, 2.625, 4.499999940395355, 5.124999771825969, 0.625, 8.000000108149834, 4.125000203028321, 5.750000165309757, 3.0625000596046448, 4.62500012665987, 4.874999767169356, 0.375, 5.562499947845936, 2.2500000298023224, 2.625000037252903, 7.562500005122274, 2.1250000596046448, 4.624999864026904, 7.374999893596396, 4.375000167638063, 2.1875000596046448, 4.437499828636646, 3.3750000819563866, 0.25, 7.125000162515789, 2.624999947845936, 7.187500186264515, 4.999999823048711, 2.875000089406967, 5.812500078231096, 5.2500001597218215, 0.0, 6.624999973457307, 4.5000001564621925, 5.125000074505806, 3.9999999217689037, 3.3750001043081284, 6.37500006519258, 5.3750000689178705, 0.625, 4.374999947845936, 5.249999831430614, 6.3749998970888555, 4.937499842606485, 2.875000074505806, 3.187499910593033, 5.187500197440386, 5.000000086612999]}, "raw_code": {"tokens": [360, 787, 316, 25615, 229, 24, 833, 463, 1288, 229, 24, 207, 360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 640, 229, 25, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 293, 8, 3162, 116773, 71, 3162, 7946, 4673, 360, 21744, 17319, 278, 316, 8418, 91230, 1579, 1492, 267], "margins": [6.9375000146683306, 0.8750000298023224, 9.124999614199623, 0.8750000596046448, 8.624999694235157, 2.750000052154064, 5.375000145286322, 7.312499851163011, 2.874999899417162, 5.500000237952918, 8.875000018742867, 6.625000233296305, 9.749999884486897, 0.25, 7.750000000698492, 8.937499736639438, 6.500000101164915, 8.374999540275894, 7.375000207743142, 14.750000238418806, 13.624999761586196, 10.249999881485564, 6.87499984796159, 12.937500238462235, 3.875000098720193, 4.500000129453838, 11.74999976228355, 12.31250000030741, 0.5, 2.1249999180436134, 8.125000435044058, 11.50000000005457, 12.124999761848812, 12.749999880802534, 14.12500035762912, 14.75000035762804, 15.249999642372188, 10.249999762552761, 13.250000000004093, 16.312499880790718, 11.250000000960426, 6.7500001832377166, 11.624999523737642, 12.374999642421244, 9.625000002226443, 12.25000011924476, 3.125000048428774, 1.5000000298023224, 1.125, 2.1250001192092896, 0.0, 1.6249999403953552, 4.937499932944775, 5.250000167638063, 8.12500045960769, 4.374999765306711, 4.87500006519258, 4.624999839812517, 3.750000089406967, 9.500000462925527, 4.6249999683350325, 8.374999772757292, 0.875, 0.375]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 34, 496, 2992, 355, 340, 22, 13729, 497, 39, 41774, 296, 1046, 19027, 2426, 1672, 522, 1094, 310, 9173, 340, 22, 13729, 497, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 1931, 302, 58330, 1083, 20, 267, 6284, 33136, 20, 7467, 1092, 296, 6298, 1597, 20, 3654, 296, 27826, 309, 1508, 15789, 22, 810, 589, 267, 2761, 2310], "margins": [1.0000000596046448, 12.749999761612344, 12.18750000088039, 6.374999972293153, 0.25, 12.62500035763378, 12.500000357669705, 14.875000238418806, 12.187500357712452, 14.750000000000455, 8.750000253436156, 10.124999525425665, 0.125, 8.75000002910383, 16.249999642372188, 11.000000000181899, 9.37500000410364, 7.999999944440788, 2.5000001192092896, 3.7499998807907104, 3.374999899417162, 2.6250000670552254, 0.8750000596046448, 5.562500150874257, 10.874999763072992, 9.312500005406037, 10.375000003681635, 0.12499994039535522, 2.1249998956918716, 7.374999917112291, 2.0000001043081284, 1.6249999850988388, 10.999999890627805, 10.56250035841731, 8.499999909006874, 6.125000061001629, 5.8750000956933945, 1.1250000596046448, 10.93750000174623, 0.875, 9.375000045984052, 0.8750000298023224, 0.625, 1.4999998807907104, 3.875000001862645, 2.2500000596046448, 1.0, 0.5, 1.5000000298023224, 0.0, 8.124999887950253, 0.24999994039535522, 2.749999977648258, 0.25, 0.625, 3.875000085681677, 0.125, 8.250000399304554, 0.375, 3.2499999701976776, 1.3749999403953552, 3.1250001043081284, 0.0625, 8.187499984866008]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 34, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 229, 3440, 24, 91, 1068], "margins": [2.3750001043081284, 7.875000075873686, 13.62500035762912, 4.99999984819442, Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 63908, 597, 5205, 302, 3888, 355, 18943, 63908, 597, 5205, 302, 5881, 355, 2076, 59405, 63908, 597, 5205, 302, 5177, 355, 36038, 63908, 597, 5205, 302, 278, 2203, 2507, 355, 5644, 20, 388, 3563, 63908, 597, 5205, 302, 10749, 355, 11210, 19192, 63908, 597, 5205, 302, 4456, 355, 1381, 24623, 63908, 597, 5205, 302, 3181, 5701, 355, 52146, 4034, 63908, 597, 5205, 302], "margins": [2.562499925494194, 0.4375, 0.625, 4.250000149011612, 3.3749999329447746, 1.4999998807907104, 8.875000215135515, 8.375000157742761, 6.000000055413693, 3.5, 6.187499824911356, 5.000000030733645, 0.75, 7.374999810708687, 4.62499980814755, 8.250000023923349, 5.249999891035259, 2.562500089406967, 4.750000007450581, 4.875000026077032, 0.625, 8.124999561870936, 5.12499978672713, 6.1249998232815415, 2.8125, 4.8125, 4.625000227242708, 0.4375, 5.437500100582838, 2.3750000596046448, 3.4999999925494194, 7.500000075669959, 2.0000000596046448, 4.687500134110451, 7.499999885098077, 4.1250001937150955, 1.8750000596046448, 4.687500149011612, 3.1249999701976776, 0.25, 7.375000111875124, 2.750000089406967, 6.875000030151568, 5.125000128522515, 2.6874999701976776, 6.124999839812517, 4.874999764375389, 0.125, 6.375000198138878, 4.5000001871958375, 4.9999998696148396, 4.249999850988388, 3.312499910593033, 6.437499953433871, 5.250000062864274, 0.6250000596046448, 4.749999917112291, 5.124999841675162, 6.374999955762178, 5.124999986030161, 2.3750000298023224, 3.1874999403953552, 5.437499932944775, 4.875000218860805]}, "raw_code": {"tokens": [360, 787, 316, 25615, 229, 24, 833, 463, 1288, 229, 24, 207, 360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 640, 229, 25, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 293, 8, 3162, 116773, 71, 3162, 7946, 4673, 360, 21744, 17319, 278, 316, 8418, 91230, 1579, 1492, 267], "margins": [6.312500175088644, 0.75, 8.75000034304685, 1.0000000298023224, 9.124999847321305, 2.249999925494194, 5.8750000433065, 7.500000231724698, 3.124999914318323, 4.625000101514161, 8.000000335334335, 5.7499999650754035, 9.500000005908078, 0.625, 6.874999893363565, 8.4375001010485, 6.624999828636646, 7.999999718449544, 6.749999871943146, 14.87500035762804, 14.124999761583695, 10.999999642543116, 6.2500001604203135, 14.124999642377361, 3.374999985098839, 4.375000054948032, 11.312500239175279, 12.250000000181899, 0.375, 1.9999999105930328, 9.250000128231477, 11.00000023856228, 12.499999761701474, 13.37500035763378, 13.249999642374632, 14.37500011920963, 15.874999880790718, 10.375000000763976, 13.749999761583695, 16.374999880790718, 11.250000240153895, 6.250000118976459, 12.124999523353836, 13.249999880802534, 9.375000242078386, 11.374999761732397, 2.750000014901161, 1.5000000596046448, 0.625, 2.1249999403953552, 0.125, 0.8749999403953552, 4.187500208616257, 5.250000072643161, 8.062499530962668, 3.3750001043081284, 4.499999791383743, 3.999999910593033, 3.2500001043081284, 8.749999888415914, 4.749999804422259, 8.12500022398308, 0.5000000596046448, 0.375]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 34, 496, 2992, 355, 340, 22, 13729, 497, 8022, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 1931, 302, 58330, 1083, 20, 267, 6284, 33136, 20, 7467, 1092, 296, 6298, 1597, 20, 3654, 296, 27826, 309, 1508, 15789, 22, 810, 589, 267, 2300, 19316, 22, 1672, 20, 522, 1094, 310, 18960, 395, 296, 1046, 19027, 63908, 9077, 12683], "margins": [0.875, 12.562499880858013, 12.374999765968823, 6.625000228639692, 0.0, 13.124999761583695, 11.999999523233782, 14.37500011920963, 12.062499880894393, 14.374999523163865, 8.999999889725586, 10.500000001091394, 0.375, 3.7499999925494194, 3.625000076368451, 11.374999880974428, 2.5000000074505806, 1.1249999701976776, 11.62500000158252, 10.00000000163709, 8.62499978323467, 6.124999845400453, 5.624999773455784, 1.0000000596046448, 11.312499762869265, 0.5, 9.500000275031198, 1.3750000298023224, 0.7500000298023224, 1.6249999403953552, 4.874999830499291, 1.3750000298023224, 2.250000089406967, 1.25, 1.8749998807907104, 0.0, 7.999999662919436, 0.2500000596046448, 3.6249999031424522, 0.5, 1.5, 3.499999910593033, 0.25, 8.124999856576324, 1.2499999403953552, 1.125, 1.9999998807907104, 4.124999828636646, 0.375, 6.875000029336661, 1.2499999403953552, 3.1250001043081284, 0.0, 0.5, 0.25, 2.0000000447034836, 0.875, 3.125000014901161, 1.7500000298023224, 1.1249999701976776, 5.000000189058483, 2.1249999925494194, 1.6249999403953552, 4.624999910593033]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 34, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 229, 3440, 24, 91, 1068], "margins": [2.3749999403953552, 8.000000299245585, 13.68750035762912, 4.8750000055879354, 12.12500035766152, 0.375, 2.249999Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 20, 309, 278, 5205, 302, 278, 2203, 10020, 355, 4595, 22, 4741, 355, 4907, 296, 278, 9150, 691, 302, 3980, 20, 309, 4595, 355, 296, 278, 32081, 302, 5189, 22, 3980, 355, 2037, 374, 851, 26883, 20, 309, 278, 2203, 10020, 355, 8333, 374, 851, 2628, 309, 4508, 22, 4741, 355, 267, 2437, 5554, 374, 1321, 309, 12187, 20, 1657, 4595, 355, 267], "margins": [1.5624999701976776, 0.6874999403953552, 1.0, 0.375, 0.9375, 4.8749999310821295, 0.4999999403953552, 4.249999884516001, 1.3749999552965164, 5.500000026542693, 7.499999796622433, 2.125000074505806, 0.4999999403953552, 2.125, 0.125, 2.3749999701976776, 1.0000000596046448, 1.5, 2.999999977648258, 7.99999979371205, 2.125, 2.7499999403953552, 1.2500000596046448, 2.8749999031424522, 5.374999861232936, 0.7499999403953552, 1.625, 0.25, 1.125, 0.25, 3.499999988824129, 0.125, 0.75, 0.125, 1.625, 1.7500000596046448, 1.125, 1.2499999701976776, 0.5, 0.8750000298023224, 1.0, 8.374999814521288, 1.6250000298023224, 2.8749998807907104, 7.999999875813955, 2.2500000596046448, 0.625, 0.625, 2.0624998807907104, 2.624999985098839, 0.875, 0.0, 0.375, 1.3749999403953552, 1.7500000298023224, 1.7499999403953552, 1.2500000298023224, 1.3750000298023224, 3.8749999403953552, 3.4999999403953552, 0.375, 7.000000235391781, 3.6250000447034836, 3.0]}, "raw_code": {"tokens": [360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 267, 8, 5176, 7146, 553, 91143, 16, 654, 3364, 124900, 124895, 3162, 116773, 7946, 4673, 360, 21744, 17319, 278, 316, 8418, 91230, 1579, 43659, 360, 267, 20, 293, 550, 229, 24, 20, 229], "margins": [7.187499919207767, 0.375, 5.749999937834218, 8.500000422704034, 4.125000067055225, 9.749999633437255, 8.87499953949009, 14.50000035762804, 15.93749976158145, 10.87500011940756, 7.374999870778993, 15.062500000000455, 3.7499999217689037, 2.1250000968575478, 8.624999668856617, 11.374999883155397, 6.250000018393621, 10.187500244726834, 12.062500238492248, 8.625000259387889, 12.374999523176484, 11.250000000116415, 9.249999529019988, 10.000000120839104, 14.187499880791279, 8.874999773848685, 7.374999968567863, 11.499999880939868, 10.375000001804437, 8.124999567575287, 11.125000358340912, 7.749999991123332, 2.8749999180436134, 0.12500005960464478, 4.500000111758709, 4.93749977927655, 7.624999944702722, 8.562500308034942, 2.75, 1.1249999403953552, 0.375, 0.125, 1.375, 3.1249998956918716, 4.4999998435378075, 3.6249998845160007, 8.937500168045517, 3.500000111758709, 7.874999935273081, 7.874999849474989, 5.12500021699816, 10.87499988473428, 8.624999691091944, 7.875000201282091, 4.374999962747097, 7.249999799008947, 4.500000094994903, 7.874999973108061, 12.375000119273864, 8.125000044266926, 14.124999642385319, 11.375000358053512, 12.750000000016371, 13.499999761594154]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 278, 3451, 34, 496, 2992, 355, 340, 22, 13729, 497, 8022, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 2300, 19316, 20, 267, 6284, 33136, 20, 7467, 2037, 405, 278, 58330, 1083, 22, 810, 589, 267, 2810, 302, 58330, 1083, 20, 278, 1008, 2037, 29350, 17753, 19316, 310, 551, 267, 4655, 15620, 4668, 7969, 20, 309, 435, 589], "margins": [0.875, 11.874999761686922, 10.312499885534635, 4.999999837949872, 0.375, 8.750000289059244, 3.6249999180436134, 10.999999523335646, 11.000000119538527, 13.874999761583695, 10.49999976239269, 14.43750035762912, 9.24999953265069, 10.000000359585101, 2.6250001043081284, 1.8750000447034836, 2.1249999925494194, 11.749999880939868, 2.3749999552965164, 1.75, 12.18750000127693, 9.687499885818397, 9.999999524829036, 4.750000057742, 2.0000000298023224, 0.125, 4.187499795109034, 0.2500000596046448, 1.2500000596046448, 0.375, 2.999999899417162, 1.2500000596046448, 0.75, 1.3749999701976776, 3.750000085681677, 3.187499888241291, 0.9375000596046448, 8.375000364845619, 0.9375, 2.4999998807907104, 2.1250001043081284, 3.0000000968575478, 0.125, 5.87500015925616, 0.4375, 6.3124997965060174, 1.8124999403953552, 0.0625, 0.6875, 1.4375, 0.5, 5.874999861931428, 0.375, 1.7500001192092896, 0.8749999701976776, 0.0, 0.9375, 3.8750001043081284, 1.125, 8.874999761232175, 2.1250000596046448, 0.6250000596046448, 1.125, 4.125000204890966]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2496, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 22, 810, 34782, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 1068, 3603], "margins": [1.8750000149011612, 6.1250001636799425, 13.125000119230663, 3.124999947845936, 11.749999523286533, 0.4999999403953552, 6.499999967869371, 1.7499999552965164, 8.499999782448867, 13.749999880792757, 12.624999523168299, 5.12500000372529, 5.875000079162419, 5.249999917577952, 1.8750000447034836, 1.3750000298023224, 2.2499Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 20, 309, 278, 5205, 302, 278, 2203, 10020, 355, 4595, 22, 4741, 355, 4907, 296, 278, 9150, 691, 302, 3980, 20, 309, 4595, 355, 296, 278, 9069, 691, 302, 278, 2203, 10020, 22, 4741, 355, 2037, 374, 851, 1321, 309, 4508, 20, 309, 4595, 374, 851, 2628, 309, 5776, 7451, 22, 440, 5205, 302, 3980, 355, 4741, 20, 309, 278, 5205, 302, 278], "margins": [2.1249999403953552, 0.18749994039535522, 0.8750000596046448, 0.0, 1.125, 4.749999922700226, 0.5, 4.624999845400453, 0.7500000596046448, 5.750000101048499, 7.37499999080319, 2.1250001192092896, 0.4999999403953552, 1.9999999701976776, 0.125, 2.874999985098839, 0.7499999403953552, 1.0625000596046448, 2.9999999925494194, 7.749999986728653, 2.124999985098839, 2.4999998807907104, 1.5000000298023224, 3.125000022351742, 4.249999998137355, 1.2499999403953552, 1.125, 0.125, 3.999999977648258, 3.000000089406967, 0.7500000596046448, 2.0000000298023224, 7.0624997686827555, 2.8750001192092896, 0.5000000596046448, 0.7500000596046448, 3.2499998807907104, 2.250000074505806, 0.7500000298023224, 0.375, 0.125, 3.6250000074505806, 4.499999767169356, 0.7499999701976776, 4.249999970197678, 0.6249999701976776, 4.750000236555934, 0.5, 3.3749999403953552, 0.0, 0.125, 2.8749999925494194, 0.5, 1.8750001192092896, 2.1250001192092896, 0.125, 0.8749999403953552, 0.25, 2.375000089406967, 0.9999999403953552, 1.6249999701976776, 2.7499999403953552, 3.6249999552965164, 0.625]}, "raw_code": {"tokens": [360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 267, 8, 5176, 7146, 553, 91143, 16, 654, 3364, 229, 2178, 38803, 34, 229, 3377, 207, 5176, 7146, 553, 91143, 16, 24, 3364, 266, 2178, 38803, 34, 229, 24, 207, 5176, 7146, 553], "margins": [7.0625000725267455, 0.8750000298023224, 5.75000003259629, 8.500000255182385, 4.250000195577741, 9.375000278989319, 9.624999647516233, 14.937499642372188, 15.687499642372188, 11.124999642494004, 7.625000141793862, 14.875000000000455, 4.12500019185245, 2.0000000596046448, 8.37499955718522, 11.437500241096132, 6.1249999918509275, 10.437499884988938, 12.250000238492248, 8.999999890904292, 12.81250035763378, 11.250000238545908, 9.249999767416739, 9.624999645842763, 14.56250011920963, 8.750000134416041, 8.000000032712705, 11.499999523335646, 10.499999882380507, 7.875000073283445, 11.125000358082616, 7.499999819556251, 3.125000085681677, 0.25, 4.74999990966171, 4.31249987334013, 7.624999839230441, 8.93750042328611, 2.7499999403953552, 1.2499999701976776, 0.0, 7.624999932420906, 1.3749998807907104, 2.7500000819563866, 5.874999904073775, 1.8749999403953552, 0.625, 5.124999921768904, 8.375000368687324, 7.187499864026904, 9.375000164582161, 8.812500175496098, 0.2500000596046448, 7.625000017753337, 0.25, 4.874999912921339, 7.374999935505912, 13.50000035764242, 11.49999988115087, 9.125000404950697, 2.249999985098839, 3.499999962747097, 9.187500043946784, 9.249999843799742]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 278, 3451, 34, 496, 2992, 355, 340, 22, 13729, 497, 8022, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 2300, 19316, 20, 267, 6284, 33136, 20, 7467, 2037, 405, 278, 58330, 1083, 22, 810, 589, 267, 2810, 302, 58330, 1083, 20, 1008, 4524, 296, 278, 229, 1580, 24, 91, 20, 309, 435, 589, 1092, 296, 1597, 2387, 310], "margins": [0.625, 11.875000000130967, 10.187499529551133, 5.125000183470547, 0.375, 8.124999938125256, 3.2500000931322575, 10.999999523319275, 10.75000035811172, 14.125000238419943, 10.375000120209734, 14.312500238419943, 8.999999894731445, 10.374999763233063, 2.375000074505806, 2.3750000596046448, 2.374999985098839, 11.749999523335646, 2.3749998956918716, 1.7500000596046448, 12.250000120387995, 9.43749953090446, 9.874999763287633, 4.500000072643161, 1.7499999850988388, 0.5, 4.750000048428774, 0.375, 1.0000000298023224, 0.125, 3.124999977648258, 1.3750000596046448, 0.75, 0.8749999701976776, 4.249999988824129, 3.6875, 1.4999999403953552, 8.000000001396984, 0.625, 2.875000037252903, 1.8750000149011612, 2.875000022351742, 0.5, 5.750000215135515, 1.0625, 6.437499918043613, 2.0000000596046448, 0.5625, 1.3749999701976776, 1.5, 0.5, 2.875, 1.0, 10.93750000174623, 10.562500122039637, 3.249999947845936, 0.25, 0.5, 4.000000234693289, 0.125, 3.000000014901161, 0.625, 0.375, 11.25000023856228]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2496, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 22, 810, 34782, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 1068, 3603], "margins": [1.5, 6.124999988824129, 12.875000119237484, 2.8750000074505806, 11.249999880994437, 0.0, 7.000000155065209, 1.6250000596046448, 8.750000131869456, 13.874999880792757, 13.37500035762912, 4.874999788589776, 5.875000154599547, 5.624999948777258, 1.874Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 63908, 597, 5205, 302, 3888, 355, 18943, 63908, 597, 5205, 302, 5881, 355, 2076, 59405, 63908, 597, 5205, 302, 5177, 355, 36038, 63908, 597, 5205, 302, 278, 2203, 2507, 355, 5644, 20, 388, 3563, 63908, 597, 5205, 302, 10749, 355, 11210, 19192, 63908, 597, 5205, 302, 4456, 355, 1381, 24623, 63908, 597, 5205, 302, 3181, 5701, 355, 52146, 4034, 63908, 597, 5205, 302], "margins": [2.5624999403953552, 0.1875, 0.75, 3.937500149011612, 3.875000052154064, 0.875, 8.750000170315616, 8.562500159372576, 5.249999877996743, 3.5624999552965164, 6.562499801628292, 5.12500013737008, 0.875, 7.124999897554517, 4.1249999813735485, 8.999999830470188, 4.875000081956387, 2.625, 4.499999940395355, 5.124999771825969, 0.625, 8.000000108149834, 4.125000203028321, 5.750000165309757, 3.0625000596046448, 4.62500012665987, 4.874999767169356, 0.375, 5.562499947845936, 2.2500000298023224, 2.625000037252903, 7.562500005122274, 2.1250000596046448, 4.624999864026904, 7.374999893596396, 4.375000167638063, 2.1875000596046448, 4.437499828636646, 3.3750000819563866, 0.25, 7.125000162515789, 2.624999947845936, 7.187500186264515, 4.999999823048711, 2.875000089406967, 5.812500078231096, 5.2500001597218215, 0.0, 6.624999973457307, 4.5000001564621925, 5.125000074505806, 3.9999999217689037, 3.3750001043081284, 6.37500006519258, 5.3750000689178705, 0.625, 4.374999947845936, 5.249999831430614, 6.3749998970888555, 4.937499842606485, 2.875000074505806, 3.187499910593033, 5.187500197440386, 5.000000086612999]}, "raw_code": {"tokens": [360, 787, 316, 25615, 229, 24, 833, 463, 1288, 229, 24, 207, 360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 640, 229, 25, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 293, 8, 3162, 116773, 71, 3162, 7946, 4673, 360, 21744, 17319, 278, 316, 8418, 91230, 1579, 1492, 267], "margins": [6.9375000146683306, 0.8750000298023224, 9.124999614199623, 0.8750000596046448, 8.624999694235157, 2.750000052154064, 5.375000145286322, 7.312499851163011, 2.874999899417162, 5.500000237952918, 8.875000018742867, 6.625000233296305, 9.749999884486897, 0.25, 7.750000000698492, 8.937499736639438, 6.500000101164915, 8.374999540275894, 7.375000207743142, 14.750000238418806, 13.624999761586196, 10.249999881485564, 6.87499984796159, 12.937500238462235, 3.875000098720193, 4.500000129453838, 11.74999976228355, 12.31250000030741, 0.5, 2.1249999180436134, 8.125000435044058, 11.50000000005457, 12.124999761848812, 12.749999880802534, 14.12500035762912, 14.75000035762804, 15.249999642372188, 10.249999762552761, 13.250000000004093, 16.312499880790718, 11.250000000960426, 6.7500001832377166, 11.624999523737642, 12.374999642421244, 9.625000002226443, 12.25000011924476, 3.125000048428774, 1.5000000298023224, 1.125, 2.1250001192092896, 0.0, 1.6249999403953552, 4.937499932944775, 5.250000167638063, 8.12500045960769, 4.374999765306711, 4.87500006519258, 4.624999839812517, 3.750000089406967, 9.500000462925527, 4.6249999683350325, 8.374999772757292, 0.875, 0.375]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 34, 496, 2992, 355, 340, 22, 13729, 497, 39, 41774, 296, 1046, 19027, 2426, 1672, 522, 1094, 310, 9173, 340, 22, 13729, 497, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 1931, 302, 58330, 1083, 20, 267, 6284, 33136, 20, 7467, 1092, 296, 6298, 1597, 20, 3654, 296, 27826, 309, 1508, 15789, 22, 810, 589, 267, 2761, 2310], "margins": [1.0000000596046448, 12.749999761612344, 12.18750000088039, 6.374999972293153, 0.25, 12.62500035763378, 12.500000357669705, 14.875000238418806, 12.187500357712452, 14.750000000000455, 8.750000253436156, 10.124999525425665, 0.125, 8.75000002910383, 16.249999642372188, 11.000000000181899, 9.37500000410364, 7.999999944440788, 2.5000001192092896, 3.7499998807907104, 3.374999899417162, 2.6250000670552254, 0.8750000596046448, 5.562500150874257, 10.874999763072992, 9.312500005406037, 10.375000003681635, 0.12499994039535522, 2.1249998956918716, 7.374999917112291, 2.0000001043081284, 1.6249999850988388, 10.999999890627805, 10.56250035841731, 8.499999909006874, 6.125000061001629, 5.8750000956933945, 1.1250000596046448, 10.93750000174623, 0.875, 9.375000045984052, 0.8750000298023224, 0.625, 1.4999998807907104, 3.875000001862645, 2.2500000596046448, 1.0, 0.5, 1.5000000298023224, 0.0, 8.124999887950253, 0.24999994039535522, 2.749999977648258, 0.25, 0.625, 3.875000085681677, 0.125, 8.250000399304554, 0.375, 3.2499999701976776, 1.3749999403953552, 3.1250001043081284, 0.0625, 8.187499984866008]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 34, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 229, 3440, 24, 91, 1068], "margins": [2.3750001043081284, 7.875000075873686, 13.62500035762912, 4.99999984819442, Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"raw_short": {"tokens": [4741, 63908, 597, 5205, 302, 3888, 355, 18943, 63908, 597, 5205, 302, 5881, 355, 2076, 59405, 63908, 597, 5205, 302, 5177, 355, 36038, 63908, 597, 5205, 302, 278, 2203, 2507, 355, 5644, 20, 388, 3563, 63908, 597, 5205, 302, 10749, 355, 11210, 19192, 63908, 597, 5205, 302, 4456, 355, 1381, 24623, 63908, 597, 5205, 302, 3181, 5701, 355, 52146, 4034, 63908, 597, 5205, 302], "margins": [2.562499925494194, 0.4375, 0.625, 4.250000149011612, 3.3749999329447746, 1.4999998807907104, 8.875000215135515, 8.375000157742761, 6.000000055413693, 3.5, 6.187499824911356, 5.000000030733645, 0.75, 7.374999810708687, 4.62499980814755, 8.250000023923349, 5.249999891035259, 2.562500089406967, 4.750000007450581, 4.875000026077032, 0.625, 8.124999561870936, 5.12499978672713, 6.1249998232815415, 2.8125, 4.8125, 4.625000227242708, 0.4375, 5.437500100582838, 2.3750000596046448, 3.4999999925494194, 7.500000140629709, 2.000000089406967, 4.687499959953129, 7.625000207684934, 4.2499999310821295, 1.9375000596046448, 4.750000208616257, 3.1249999701976776, 0.125, 7.375000131665729, 2.7500000447034836, 6.875000017462298, 5.124999807216227, 2.8125000298023224, 6.124999770894647, 4.875000092200935, 0.125, 6.375000100582838, 4.499999940395355, 4.87500003632158, 4.375000197440386, 3.312499910593033, 6.437500113621354, 5.124999932013452, 0.625, 4.750000023283064, 5.249999785795808, 6.437499789986759, 5.124999936670065, 2.2499999701976776, 3.124999910593033, 5.50000000372529, 4.875000019557774]}, "raw_code": {"tokens": [360, 787, 316, 25615, 229, 24, 833, 463, 1288, 229, 24, 207, 360, 267, 20, 293, 550, 229, 24, 20, 229, 25, 207, 360, 374, 1830, 296, 3294, 7946, 640, 229, 25, 4673, 463, 267, 20, 293, 550, 293, 20, 267, 1510, 293, 207, 360, 1288, 293, 8, 3162, 116773, 71, 3162, 7946, 4673, 360, 21744, 17319, 278, 316, 8418, 91230, 1579, 1492, 267], "margins": [6.312500175088644, 0.75, 8.75000034304685, 1.0000000298023224, 9.124999847321305, 2.249999925494194, 5.8750000433065, 7.500000231724698, 3.124999914318323, 4.625000101514161, 8.000000335334335, 5.7499999650754035, 9.500000005908078, 0.625, 6.874999893363565, 8.4375001010485, 6.624999828636646, 7.999999718449544, 6.749999871943146, 14.87500035762804, 14.124999761583695, 10.999999642543116, 6.2500001604203135, 14.124999642377361, 3.374999985098839, 4.375000054948032, 11.312500239175279, 12.374999642508556, 0.25, 2.0000000447034836, 9.374999649749952, 11.125000238531356, 12.499999642494004, 13.312500000007276, 13.249999642374632, 14.37500011920963, 15.874999880790718, 10.375000000763976, 13.749999761583695, 16.374999880790718, 11.24999964408562, 6.249999789521098, 12.125000000181899, 13.249999880802534, 9.249999527848559, 11.375000119354809, 2.500000052154064, 1.4999999552965164, 0.625, 2.0000000596046448, 0.125, 0.75, 4.125000171363354, 5.249999867752194, 8.125000236934284, 3.374999899417162, 4.5000001303851604, 3.999999888241291, 3.3749998807907104, 8.749999524618033, 4.749999932944775, 8.000000439817086, 0.4999999403953552, 0.375]}, "chat_short": {"tokens": [2083, 1094, 310, 5141, 34, 496, 2992, 355, 340, 22, 13729, 497, 8022, 296, 1046, 19027, 22, 340, 22, 13729, 497, 355, 267, 1931, 302, 58330, 1083, 20, 267, 6284, 33136, 20, 7467, 1092, 296, 6298, 1597, 20, 3654, 296, 27826, 309, 1508, 15789, 22, 810, 589, 267, 2300, 19316, 22, 1672, 20, 522, 1094, 310, 18960, 395, 296, 1046, 19027, 63908, 9077, 12683], "margins": [0.8749999701976776, 12.562500000065484, 12.499999764884706, 6.624999955762178, 0.0, 13.124999761583695, 12.000000238492248, 14.375000000000455, 11.937500119354809, 14.374999523163865, 8.999999651336111, 10.37499988198033, 0.375, 3.7500001043081284, 3.625000076368451, 11.50000023857865, 2.5000000670552254, 1.1249999701976776, 11.624999763123924, 9.999999524829036, 8.749999540712452, 6.124999879626557, 5.499999847263098, 1.0, 11.375000120249751, 0.5, 9.4999999217398, 1.25, 0.7500000298023224, 1.6249998807907104, 5.0000001904554665, 1.375, 2.25, 1.125, 1.8750000596046448, 0.0, 7.9999996614060365, 0.25, 3.6250001154839993, 0.5, 1.5000000596046448, 3.500000063329935, 0.125, 7.9999997654231265, 1.25, 1.1250000596046448, 1.8749999105930328, 4.125000014901161, 0.375, 6.99999986239709, 1.125, 3.125000111758709, 0.0, 0.375, 0.25, 2.1250001192092896, 0.8749998807907104, 2.9999999552965164, 1.7500000447034836, 0.9999999701976776, 4.875000165775418, 2.125000037252903, 1.75, 4.624999823048711]}, "chat_long_600": {"tokens": [2083, 1094, 310, 47275, 278, 2803, 296, 1703, 34013, 4019, 22, 440, 2803, 355, 836, 278, 2628, 302, 278, 38890, 34, 2459, 13968, 342, 69962, 282, 475, 229, 5269, 31, 20, 794, 7040, 985, 608, 229, 3317, 24, 91, 4770, 8830, 688, 12429, 7040, 985, 310, 4248, 15078, 6804, 6624, 87, 5672, 3929, 342, 74, 2118, 80, 5101, 608, 229, 3440, 24, 91, 1068], "margins": [2.3749999403953552, 8.125000047439244, 13.62500035762912, 4.875000131316483, 12.12500035766152, 0.375, 2.2500000298023224, 9.875000239782821, 14.00000035762912, 13.749999880791279, 5.75000014854Line truncated
|
||||
Loaded 100 of 115 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user