Repository navigation
gpu-gates: the qwen4exp e2e fixture budget carries the load's store page rounding - #1002
Conversation
There was a problem hiding this comment.
Verdict: CLEAN: The fixture budget now includes the loader's store padding without changing the expert-count contract.
Checked
Duplicates: 0 new functions, types or constants. The change reuses room_padding and plan_levers.
Complexity: the change adds no branches.
Silent failure: 0 new suppression sites. Card resolution, page-query and padding errors propagate to the gate's result; budget overflow remains a named error.
Tests: none changed. The PR reports that passing 0 instead of rounding at crates/gpu-gates/src/bin/gate_qwen4exp_e2e.rs:621 fails the GB10 half-expert check. The card leg uses the same context, one slot and no draft as the padding calculation.
Gates: no pins, bands, assertions or clauses changed. The real tier ignores extra.
Performance: gate initialization only; no decode or prefill work changed.
Escape catalog: none of C1–C4 matched.
Notes
No build or GPU gate was run during validation.
The PR supplies GB10 gate output, but omits the required nvidia-smi line. GPU evidence is incomplete.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/gate_qwen4exp_e2e.rs, crates/gpu-gates/src/tier.rs and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
The review is done and the contribution check passed, so I'm merging this. |
gate_qwen4exp_e2e의 fixture 카드 예산에 로드가 실제로 빼는 store page rounding을 더해, card leg가 전문가 절반(256)을 정확히 판정하도록 고쳤습니다.What and why
The fixture's card budget comes from the header and is planned without the store page rounding that the load reserves out of that same budget (
Open38::plan). The load therefore places fewer experts on the card than the header's half, and the card leg's "half the experts on every layer" check fails on GB10.gate_qwen4exp_e2enow reads the card's store page, computes the padding withPlanInputs::room_paddingand passes it asextratotier::plan_levers, so the planned budget carries the same reserve. The real tier does not useextra, so it is unchanged. Intier.rsonly the docs and the overflow message ofplan_leversandbudget_leverschange:extrais no longer described as draft-only.Release notes: Fixed: the qwen4exp end to end gate's card leg budget now includes the load's store page rounding
Code shape
The review reads these first. A box left unticked needs one line of why.
copying it (
AGENTS.md"Common code first",docs/rust-quality.mdR14). Where I found an existing copy, Inamed it below.
(tensor shapes, the attention kind, the quant). A common owner gained no per-model branch, flag or trait method.
tools/check-comments.sh).PIN(YYYY-MM-DD):and its reason.
cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line), or "none": noneWhat I ran
Base
ffe7d04e823287f4e55f66836e220ec2e85da6b9, head4a1a3f6cb5583cc4f387330c9f32f7c6e98029f1. The gate runs on the qwen38 fixture (sha2564cf13c5af27f38cc616e4bd6f0e63d394df47ba464ba85dbe83f75d650a96e09) withBLOOMERY_TIER=fixture.Before the fix (upstream
977e8e74d47c59b00f7672421eecf0a4c32b30d3):After the fix:
Hardware (if the change is for a machine)
AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.