[PR #5290] [CLOSED] [Benchmark] Add results: Flash-Next 4-bit fidelity (IQ4_XS vs Q4_K_XL, engine 0.1.56) #5374

Closed
opened 2026-11-07 16:34:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5290
Author: @ShaggyDragon
Created: 11/5/2026
Status: ❌ Closed

Base: main ← Head: bench/flash-next-4bit-2026-11-05


📝 Commits (2)

  • 4ebd50c bench: Flash-Next 4-bit fidelity results (UD-IQ4_XS beats the 33%-larger UD-Q4_K_XL on engine 0.1.56)
  • 35be007 bench: point the COMMUNITY.md row at PR #5290

📊 Changes

6 files changed (+510 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-05-flash-next-4bit-fidelity/README.md (+136 -0)
➕ bench/results/2026-11-05-flash-next-4bit-fidelity/compare-4bit-20261105-2014.json (+92 -0)
➕ bench/results/2026-11-05-flash-next-4bit-fidelity/paired_compare.py (+111 -0)
➕ bench/results/2026-11-05-flash-next-4bit-fidelity/quality_window.sh (+65 -0)
➕ bench/results/2026-11-05-flash-next-4bit-fidelity/results.json (+105 -0)
📝 bench/results/COMMUNITY.md (+1 -0)

📄 Description

Problem and result

No 4-bit recipe for Qwen3.8-Flash-Next was ever scored on the quant_quality yardstick here, and two are
servable: UD-IQ4_XS (93.67 GB) and UD-Q4_K_XL (111.33 GB). Adding a results folder with the measurement and its
artifacts so the numbers can be re-checked instead of trusted from a table in prose.

Result, engine 0.1.56 on an RTX 5080 16 GB, 4,995 teacher-forced positions, reference IQ3_S (ppl 4.057):

  • UD-IQ4_XS: ppl 3.941 (−2.86%), mean KL 0.1163, p99 1.51 — better calibrated than the reference in all five
    segments.
  • UD-Q4_K_XL: ppl 4.087 (+0.74%), mean KL 0.1409, p99 2.01 — 33.2% more bytes than IQ3_S and worse than both
    smaller packs on every axis.
  • Paired McNemar on top-1 correctness puts the argmax gap inside noise (IQ4_XS vs Q4_K_XL p = 0.53), so the
    report claims better calibration, not higher accuracy.

Issue with the summary table and the mechanism discussion: linked below once created.

Approach

Add bench/results/2026-11-05-flash-next-4bit-fidelity/ containing:

  • README.md — question, machine, method (including which of ppl / KL / top-1 is absolute and which is
    reference-relative), results, per-segment table, effect size, mechanism, limits, reproduction commands.
  • results.json — the same numbers machine-readable, per arm and per segment, plus the McNemar results.
  • compare-4bit-20261105-2014.json — quant_quality.py compare --segments --json output, unmodified.
  • quality_window.sh — the window script that stops production by name and restores it on any exit path.
  • paired_compare.py — reproduces the McNemar and paired-logp figures from the three TSVs.

Results only: no engine change is proposed. Raw TSVs (~5 MB each) are excluded.

Validation

Ran on 2026-11-05, engine 0.1.56 (0.2.10-cuda13), RTX 5080 16 GB, driver 580, Unraid host, production
container stopped for the whole window and confirmed back to HTTP 200 afterwards.

Commands actually executed: iq_pack.py --compat-bf16 for each pack (43 s each), then per arm
quant_quality.py run --config cfg-<arm>.json --out <arm>.tsv --ids …/v1/set.ids.json, one at a time, then
quant_quality.py compare ref.tsv iq4xs.tsv q4kxl.tsv --segments --json. All three legs produced 4,995-row TSVs.
The reference leg reproduced ppl 4.057 exactly in two separate windows (deterministic scoring). paired_compare.py
was run against the three TSVs and its output is quoted verbatim in results.json.

Not run: decode speed of the +12.0% byte increase, and a Q8_0 anchor for absolute fidelity.

Limits

Single pass per arm; five fixed 999-position corpora; no long-context, tool-calling or multi-turn coverage;
quality-only (no tokens per second in this folder).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5290 **Author:** [@ShaggyDragon](https://github.com/ShaggyDragon) **Created:** 11/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/flash-next-4bit-2026-11-05` --- ### 📝 Commits (2) - [`4ebd50c`](https://github.com/Niko1221/Strata/commit/4ebd50c7359990e6f803715ce52c6f9e3fa4135e) bench: Flash-Next 4-bit fidelity results (UD-IQ4_XS beats the 33%-larger UD-Q4_K_XL on engine 0.1.56) - [`35be007`](https://github.com/Niko1221/Strata/commit/35be00704652f021c1cade325c2258cec385396a) bench: point the COMMUNITY.md row at PR #5290 ### 📊 Changes **6 files changed** (+510 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-05-flash-next-4bit-fidelity/README.md` (+136 -0) ➕ `bench/results/2026-11-05-flash-next-4bit-fidelity/compare-4bit-20261105-2014.json` (+92 -0) ➕ `bench/results/2026-11-05-flash-next-4bit-fidelity/paired_compare.py` (+111 -0) ➕ `bench/results/2026-11-05-flash-next-4bit-fidelity/quality_window.sh` (+65 -0) ➕ `bench/results/2026-11-05-flash-next-4bit-fidelity/results.json` (+105 -0) 📝 `bench/results/COMMUNITY.md` (+1 -0) </details> ### 📄 Description ## Problem and result No 4-bit recipe for Qwen3.8-Flash-Next was ever scored on the `quant_quality` yardstick here, and two are servable: UD-IQ4_XS (93.67 GB) and UD-Q4_K_XL (111.33 GB). Adding a results folder with the measurement and its artifacts so the numbers can be re-checked instead of trusted from a table in prose. Result, engine 0.1.56 on an RTX 5080 16 GB, 4,995 teacher-forced positions, reference IQ3_S (ppl 4.057): - **UD-IQ4_XS: ppl 3.941 (−2.86%), mean KL 0.1163, p99 1.51** — better calibrated than the reference in all five segments. - **UD-Q4_K_XL: ppl 4.087 (+0.74%), mean KL 0.1409, p99 2.01** — 33.2% more bytes than IQ3_S and worse than both smaller packs on every axis. - Paired McNemar on top-1 correctness puts the argmax gap inside noise (IQ4_XS vs Q4_K_XL p = 0.53), so the report claims better calibration, not higher accuracy. ## Related discussion Issue with the summary table and the mechanism discussion: linked below once created. ## Approach Add `bench/results/2026-11-05-flash-next-4bit-fidelity/` containing: - `README.md` — question, machine, method (including which of ppl / KL / top-1 is absolute and which is reference-relative), results, per-segment table, effect size, mechanism, limits, reproduction commands. - `results.json` — the same numbers machine-readable, per arm and per segment, plus the McNemar results. - `compare-4bit-20261105-2014.json` — `quant_quality.py compare --segments --json` output, unmodified. - `quality_window.sh` — the window script that stops production **by name** and restores it on any exit path. - `paired_compare.py` — reproduces the McNemar and paired-logp figures from the three TSVs. Results only: no engine change is proposed. Raw TSVs (~5 MB each) are excluded. ## Validation Ran on 2026-11-05, engine **0.1.56** (`0.2.10-cuda13`), RTX 5080 16 GB, driver 580, Unraid host, production container stopped for the whole window and confirmed back to HTTP 200 afterwards. Commands actually executed: `iq_pack.py --compat-bf16` for each pack (43 s each), then per arm `quant_quality.py run --config cfg-<arm>.json --out <arm>.tsv --ids …/v1/set.ids.json`, one at a time, then `quant_quality.py compare ref.tsv iq4xs.tsv q4kxl.tsv --segments --json`. All three legs produced 4,995-row TSVs. The reference leg reproduced ppl 4.057 exactly in two separate windows (deterministic scoring). `paired_compare.py` was run against the three TSVs and its output is quoted verbatim in `results.json`. Not run: decode speed of the +12.0% byte increase, and a Q8_0 anchor for absolute fidelity. ## Limits Single pass per arm; five fixed 999-position corpora; no long-context, tool-calling or multi-turn coverage; quality-only (no tokens per second in this folder). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:34:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5374
No description provided.