Repository navigation
Conversation
…tion q and o projections on layers 11-39 using kq_imatrix and kq_imat
BitTrellis evaluation ·
|
| RP-KL ↓ | tasks passed ↑ | decode tok/s ↑ | prefill 4K tok/s ↑ | peak GPU GiB ↓ | holdout | FG-2 | |
|---|---|---|---|---|---|---|---|
| this PR | 0.0502 | not run | 422.4 | 37,449 | 26.56 | not run | 0.000% |
| V0 incumbent | 0.0450 | 570/784 | 398.5 | 39,151 | 25.51 | — | — |
↳ pr151-kq-imatrix-downs-qkv (#161) |
0.0445 | 570/784 | 419.8 | 38,230 | 26.65 | PASS | — |
↳ ud-lmhead-q4k-embed-q4k (#124) |
0.0459 | 566/784 | 398.9 | 39,071 | 25.12 | PASS | — |
↳ the nearest results already on the frontier: FG-2 is the space this PR adds beyond them and every other result. Bold marks where this PR beats every row shown.
RP-KL measures how closely the model keeps the original's predictions (fidelity), not task accuracy; tasks are a guard, compared with V0 question by question.
Paired RP-KL vs V0: +0.0052 nats/token, 95% CI [+0.0012, +0.0091] (significant); decode +6.0%, prefill -4.3%, peak GPU +1.05 GiB.
Dominated by pr129-kq-imatrix-downs-gdn-qkv, pr151-kq-imatrix-downs-qkv: at least as good on every objective within noise, and better on one.
- Tasks and private holdout skipped: they can only fail a result, and this one is already dominated on the measured objectives.
- All speeds compared here were measured on this evaluator's machine (references on 2026-10-08).
FG-2 is the share of the quality × speed × memory space (normalized to the track's box) that this result adds on top of every earlier result. It is the PR's score.
GPU time: quality 1.3 min · performance 0.2 min
|
Closed automatically. The evaluation above explains why this version is not merged. Closing does not affect your credibility on this repository, and a revised recipe is welcome as a new PR. |
Candidate
manifests/hpc02/pr161-attention-qo-11-39-q4k.yaml70145e592dad47fakq_imatrixis on main since #146)Hypothesis
#161 (routed gate/up on Q5_K by
kq_imat, every routed down and the recurrent qkv on Q4_K bykq_imatrix,lm_headon Q8_0: RP-KL 0.0445, decode 419.8, prefill 38,230, 26.65 GiB) with the attentionqandoprojections of layers 11–39 on Q4_K.That is the step #145 measured on #130 (RP-KL 0.0965 → 0.1016, decode 458.7 → 474.3, +3.4%) and #153 measured again on #148 (0.0598 → 0.0634, 447.2 → 460.3, +2.9%): about +0.004 RP-KL for +3% decode.
qandoare most of the attention bytes a decoded token reads. Attentionk/vand layers 3 and 7 stay Q8_0.Attention
qis rounded bykq_imatrix(GPTQ onattn_input.xtx). Attentionohas no pinned covariance and stayskq_imat, as in #153. Gate/up stay Q5_Kkq_imat. Recurrentz/out, the shared experts andlm_headstay Q8_0. The same per-token bytes that moved #148 to #153 should move #161 from 419.8 toward about 434 tok/s, with drift still near 0.049, ahead of #146 (0.0547 at 431.8) on fidelity.Checklist
bittrellis --track HPC-02 manifest manifests/hpc02/pr161-attention-qo-11-39-q4k.yaml --against manifests/hpc02/passes (no duplicate)