Repository navigation
docs: a fixture variant's card budget is planned on its own file; a stale one is made again by fixture-requant - #800
Conversation
…tale one is made again by fixture-requant
There was a problem hiding this comment.
Verdict: CLEAN: The revised variant-budget procedure matches the writer, gate reader and regeneration script.
Checked
Duplicates: 0 new code items; no duplicate procedure introduced; no dryer pairs supplied.
Complexity: no changed functions or crapper results.
Silent failure: 0 changed sites; stale variant budgets return errors naming the variant and regeneration command.
Tests: no tests changed; mutation checks do not apply. No tests run for this prose-only change.
Gates: no gate or pin changed.
Escape catalog: no patterns matched.
Behavior: shipped variants use planned budgets; regeneration plans the written variant before validation and refuses an existing output directory.
Notes
dryer and crapper did not run because no Rust file changed.
🔨 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. |
v0.3.9 뒤 fixture variant의 card budget 설명이 코드와 어긋난
docs/contrib/local-check.md의 두 문장을 고치는 문서 PR입니다.What and why
"When a recorded fixture budget is stale" in
docs/contrib/local-check.mdsays a fixture variant keeps its base fixture's budget and is not re-planned. Since v0.3.9 the code does the opposite. A variant records a budget planned on its own file (fixture variant-budget), and a gate re-plans it the same way it re-plans a base fixture's budget and names a stale one. Anyone who follows the old text would copy the base budget into a variant, or expect to regenerate variants only after the base.This PR rewrites those two paragraphs for the current behavior. The first says a variant records its own budget and why: requantizing can change the bytes of its experts and which layers can go on a card. The second says that a planner change can leave a variant stale too, and that the gate names the variant and the command that makes it again,
just fixture-requant FAMILY TAG, which plans the budget on the new file. Thefixture-requantnote about moving the old variant directory aside stays. The diff is 6 insertions and 4 deletions in one file, with no code change.I found the mismatch while following this section after the v0.3.9 planner change, which fills more card layers per role. The recorded budgets of the qwen38, glm5next and solar2 fixtures on a test workstation no longer matched the plan, and the procedure in this section brought them back.
Release notes: internal: the contributor guide now describes how a variant's budget is recorded and refreshed.
Code shape
cargo fmtandcargo clippyhave nothing to check: no Rust file changed.Duplication found or removed (
path:line), or "none": none.What I ran
Head
7a44ae1c2fe4c45b304d83c686293ee5e43b5e51on basee0c82e1779a8e754c53f4442800e6c3d61271a48. Because the PR changes only prose, these runs check the procedure the text describes, not the text.BLOOMERY_BOX_LOCAL=1 just gate-fixture-budgeton the workstation fails withtest result: FAILED. 0 passed; 1 failed. It names qwen38, glm5next and solar2 as stale and gives the current per-layer expert counts for each.fixture fetchinto a new directory. Each fetch ended with rc 0, and the gate against the new directory ended withGATE-REFRESH rc=0.BLOOMERY_BOX_LOCAL=1 just gate-fixture-budgetended withtest result: ok. 1 passed; 0 failed.Not run: clippy, T0 and the
check-*.shscripts, since no Rust file changed.Hardware (if the change is for a machine)
Not a machine change: no device path is touched. The runs above used a workstation with GPU cards, where the budget gate reads the fixtures.
AI help
AI 코딩 에이전트가 문서를 작성한 후 PR을 올렸습니다. diff 리뷰와 PR 리뷰는 제가 직접 했습니다.