[PR #3704] [CLOSED] [Benchmark] community KLD report: route tail-skip on the NVFP4-QAD pack (RTX 5090) #4753

Closed
opened 2026-11-07 15:38:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3704
Author: @jerry78424
Created: 10/22/2026
Status: ❌ Closed

Base: main ← Head: bench/rts-kld-nvfp4-qad


📝 Commits (1)

  • 8562dfa bench: KLD report - route tail-skip on the NVFP4-QAD pack (RTX 5090)

📊 Changes

17 files changed (+1615 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/README.md (+107 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/engine-log-excerpt.txt (+39 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/kld-matrix.json (+44 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A0.json (+168 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A0b.json (+168 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A7.json (+168 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A8.json (+168 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A9.json (+168 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/README.md (+54 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/ab_kld.py (+200 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/config.json (+62 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/corpus.json (+103 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/dlss.ids.json (+1 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/make_ids.py (+75 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A7.txt (+30 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A8.txt (+30 -0)
➕ bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A9.txt (+30 -0)

📄 Description

Problem and result. The engine's NVFP4 guard turns STRATA_ROUTE_TAIL_SKIP off by default with NVFP4 experts, resting on a teacher-forced KL of 0.035 measured on the GPTQ fork pack — the repo has no measurement of the skip on the QAD pack (nvidia/Qwen3.8-Flash-Next-FP4-Local, one of the FP4 cards in setup.py's MODELS). Measured with the committed tools/quant_quality.py yardstick (engine 0.1.46.1 / 9ae93f7b, RTX 5090, 46,050 teacher-forced positions, A/A floor exactly 0):

arm RTS mean KL p99 KL top-1 agree ppl missed experts skipped
A0b 0 0.000000 0.000 100.00% 6.570 0
A7 7 0.054316 0.789 91.71% 6.412 1,682,818
A8 8 0.039486 0.536 92.80% 6.525 1,141,890
A9 9 0.027325 0.366 94.07% 6.479 578,302

Approach. Results-only PR under bench/results/2026-10-22-community-rts-kld-nvfp4-qad/: the per-position tsvs are not committed (regenerable); reproduce/ carries the driver, the engine command line as received, the corpus ids and the manifest (memorization scan included). A robustness cut removes the corpus's one duplication (27 segments: rank 7 KL 0.055, top-1 91.78%) — the conclusion does not rest on corpus weighting.

Validation. Tested revisions: engine 0.1.46.1 (based on 9ae93f7b, source build) and the same-day yardstick.

  • Passed: full 5-arm matrix, every arm exit 0 with all 46,050 positions scored; A/A rerun byte-identical (floor exactly 0); skip firing verified against the engine's own counters (skips-A*.txt); the reproduce driver imports and runs --help from the committed layout.
  • Failed: none observed.
  • Not run: free-run acceptance and decode tok/s (speed was reserved for a rank that survived the quality gate; none did).

Limits. One machine, one corpus (NVIDIA technical English), one build; the teacher-forced top-1 is a per-step divergence proxy, not free-run acceptance; dead-99 % positions (8.3-24.4 %) are included; storage and PCIe link width were not recorded.


🔄 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/3704 **Author:** [@jerry78424](https://github.com/jerry78424) **Created:** 10/22/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/rts-kld-nvfp4-qad` --- ### 📝 Commits (1) - [`8562dfa`](https://github.com/Niko1221/Strata/commit/8562dfa21a9bcd92124ddac7dc8ecab829ff1d62) bench: KLD report - route tail-skip on the NVFP4-QAD pack (RTX 5090) ### 📊 Changes **17 files changed** (+1615 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/README.md` (+107 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/engine-log-excerpt.txt` (+39 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/kld-matrix.json` (+44 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A0.json` (+168 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A0b.json` (+168 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A7.json` (+168 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A8.json` (+168 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/out-A9.json` (+168 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/README.md` (+54 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/ab_kld.py` (+200 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/config.json` (+62 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/corpus.json` (+103 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/dlss.ids.json` (+1 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/reproduce/make_ids.py` (+75 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A7.txt` (+30 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A8.txt` (+30 -0) ➕ `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/skips-A9.txt` (+30 -0) </details> ### 📄 Description **Problem and result.** The engine's NVFP4 guard turns `STRATA_ROUTE_TAIL_SKIP` off by default with NVFP4 experts, resting on a teacher-forced KL of 0.035 measured on the GPTQ fork pack — the repo has no measurement of the skip on the QAD pack (`nvidia/Qwen3.8-Flash-Next-FP4-Local`, one of the FP4 cards in `setup.py`'s `MODELS`). Measured with the committed `tools/quant_quality.py` yardstick (engine 0.1.46.1 / 9ae93f7b, RTX 5090, 46,050 teacher-forced positions, A/A floor exactly 0): | arm | RTS | mean KL | p99 KL | top-1 agree | ppl | missed experts skipped | |---|---|---|---|---|---|---| | A0b | 0 | 0.000000 | 0.000 | 100.00% | 6.570 | 0 | | A7 | 7 | 0.054316 | 0.789 | 91.71% | 6.412 | 1,682,818 | | A8 | 8 | 0.039486 | 0.536 | 92.80% | 6.525 | 1,141,890 | | A9 | 9 | 0.027325 | 0.366 | 94.07% | 6.479 | 578,302 | **Approach.** Results-only PR under `bench/results/2026-10-22-community-rts-kld-nvfp4-qad/`: the per-position tsvs are not committed (regenerable); `reproduce/` carries the driver, the engine command line as received, the corpus ids and the manifest (memorization scan included). A robustness cut removes the corpus's one duplication (27 segments: rank 7 KL 0.055, top-1 91.78%) — the conclusion does not rest on corpus weighting. **Validation.** Tested revisions: engine 0.1.46.1 (based on `9ae93f7b`, source build) and the same-day yardstick. - Passed: full 5-arm matrix, every arm exit 0 with all 46,050 positions scored; A/A rerun byte-identical (floor exactly 0); skip firing verified against the engine's own counters (`skips-A*.txt`); the reproduce driver imports and runs `--help` from the committed layout. - Failed: none observed. - Not run: free-run acceptance and decode tok/s (speed was reserved for a rank that survived the quality gate; none did). **Limits.** One machine, one corpus (NVIDIA technical English), one build; the teacher-forced top-1 is a per-step divergence proxy, not free-run acceptance; dead-99 % positions (8.3-24.4 %) are included; storage and PCIe link width were not recorded. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:38:49 +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#4753
No description provided.