Skip to content

feat(manifests/hpc02): #152 with the recurrent qkv projections on Q4_K by kq_imatrix - #163

Closed
ms911112 wants to merge 1 commit into
coderbench:mainfrom
ms911112:hpc02-pr152-qkv-q4k-imatrix
Closed

ms911112 wants to merge 1 commit into
coderbench:mainfrom
ms911112:hpc02-pr152-qkv-q4k-imatrix

Conversation

@ms911112

Copy link
Copy Markdown
Contributor

Candidate

manifest manifests/hpc02/pr152-qkv-q4k-kq-imatrix.yaml
candidate id e3565d5e6e5d0acc
summary Q4_K@kq_imatrix ×30 · Q5_K@kq_imat ×80 · Q6_K@kq_imat ×40 · Q8_0@kq_rtn ×1 · Q8_0@unsloth_ud ×221 · searchable bytes ≈ 24.12 GiB
new encoder? no (kq_imatrix is on main since #146)

Hypothesis

#152 (routed gate/up on Q5_K and every routed down on Q6_K, both by kq_imat, dense projections and the shared experts on unsloth Q8_0, lm_head on Q8_0: RP-KL 0.0304, decode 383.6, prefill 36,808, 29.47 GiB) with the 30 recurrent qkv projections on Q4_K by kq_imatrix.

#129 measured that format step on #126: decode 404 → 431 (+6.7%), prefill unchanged, at +0.012 RP-KL with kq_rtn. #146 rounded the same qkv with kq_imatrix (GPTQ on attn_input.xtx) and measured 0.0547 against #129's 0.0612 at the same decode. The qkv are 0.50 B weights read in full for every decoded token, so decode should move by about that same +27 tok/s, toward ~410. kq_imatrix kept #146 0.0065 below the kq_rtn qkv map, so the drift cost should be smaller than #129's +0.012.

Gate/up stay Q5_K kq_imat. Every routed down stays Q6_K kq_imat on all 40 layers. #157's Q4_K/Q6_K split of those downs, plus a qkv step, failed the private holdout; this keeps #152's uniform Q6_K. Attention, recurrent z/out and the shared experts stay unsloth Q8_0.

Checklist

  • bittrellis --track HPC-02 manifest manifests/hpc02/pr152-qkv-q4k-kq-imatrix.yaml --against manifests/hpc02/ passes (no duplicate)
  • no changes to protected evaluator paths (see CONTRIBUTING.md)

…h recurrent qkv projections and updated routing rules
@coderbench coderbench added bt:derivative close to an earlier PR by another author; credited only for what it adds bt:gate-fail failed a quality, task, runtime or holdout gate eval:REJECT failed a gate, the audit or a screen labels Oct 10, 2026
@coderbench

Copy link
Copy Markdown
Owner

BitTrellis evaluation · pr152-qkv-q4k-kq-imatrix · e3565d5e6e5d0acc

Score: eval:REJECT · ×0 · failed a gate

Epoch hpc02-e1 · status bt:gate-fail

RP-KL ↓ tasks passed ↑ decode tok/s ↑ prefill 4K tok/s ↑ peak GPU GiB ↓ holdout FG-2
this PR 0.0358 not run 408.7 36,832 29.23 FAIL 0.000%
V0 incumbent 0.0450 570/784 398.5 39,151 25.51 — —

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.0092 nats/token, 95% CI [-0.0127, -0.0060] (significant); decode +2.6%, prefill -5.9%, peak GPU +3.72 GiB.

Gate failures:

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.5 min · performance 0.3 min · holdout 1.6 min

@coderbench coderbench closed this Oct 10, 2026
@coderbench

Copy link
Copy Markdown
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bt:derivative close to an earlier PR by another author; credited only for what it adds bt:gate-fail failed a quality, task, runtime or holdout gate eval:REJECT failed a gate, the audit or a screen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants