Repository navigation
closure attestation: expect the targets the build resolved (#250) - #419
Merged
AzeezIsh merged 1 commit intoNov 25, 2026
Merged
Conversation
…#250) `the_baked_attestation_reproduces_from_the_tree` required every gb10/nvfp4 target in the tree to be attested, which only an all-models build does. A one-model build (`ATLAS_TARGET_MODEL=<model>`, as product images build) attests that model's targets, so the test failed there and images skipped it. build.rs now bakes the targets it resolved (`ATLAS_TARGETS_RESOLVED`) and the model spec it resolved them from (`ATLAS_TARGET_MODEL_SPEC`), exposed as `atlas_kernels::TARGETS_RESOLVED` and `TARGET_MODEL_SPEC`. The test expects the whole tree when the spec is `*`, as before, and the resolved targets otherwise; a new test checks every attested target was resolved. Checked on a GB10 with real single-target kernel builds: with `ATLAS_TARGET_MODEL=glm-5.3-flash` all four tests pass ("1 target(s) reproduced from the tree"). With `ATLAS_TARGET_MODEL=inkling-2-mini` the resolved-target check passes and the hash check fails: a target with `kernel_source` hashes the source target's kernels in build.rs but not in `taxon::sources` / `taxon::configs`, a separate resolver drift. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 task done
Contributor
|
Queued in train #422 ( 🤖 Generated with Claude Code |
Contributor
|
GB10 gate of train #422 is green; results are on #422 (closure_attestation passes on one-model builds; 0 test failures; cold start −1.54 s; outputs identical). Merge follows #421. 🤖 Generated with Claude Code |
AzeezIsh
added a commit
that referenced
this pull request
Nov 25, 2026
…t cold start (#398) GB10 (sparky 189): closure_attestation passes on one-model inkling-2-mini and qwen3.8-27b builds; full suite 6,829/0; Qwen3.8-27B lp_dump max|d| 0 and greedy C1/C8 8/8 vs #421; Inkling greedy 8/8; cold start 13.79 -> 12.25 s (-1.54 s). AMD (DevLab 45651124584): strix-hip builds with #420's build.rs, Strict/Spark --check, Spark C1 42.7 / C8 84.1. Follow-ups: c4108fd (rustdoc private link), c73fa30 (fast_weights_parity temp-dir race).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #250.
closure_attestation::the_baked_attestation_reproduces_from_the_treerequired everygb10/*/nvfp4target in the tree to be attested. Only an all-models build does that. A one-model build (ATLAS_TARGET_MODEL=<model>, the way product images build) attests that model's targets only, so the test failed there and downstream images skipped it.What
atlas-kernels/build.rsbakes the targets it resolved (ATLAS_TARGETS_RESOLVED, comma-separatedhw/model/quant) and the model spec it resolved them from (ATLAS_TARGET_MODEL_SPEC,*by default), from the sameresolve_targetscall that feeds the attestation.atlas_kernels::TARGETS_RESOLVEDandatlas_kernels::TARGET_MODEL_SPECexpose them (option_env!, so an olderOUT_DIRstill builds; empty and*when nothing was compiled).*, exactly as before, so the qwen3.6-27b case it was written for is still caught. Otherwise it expects the resolved targets.every_attested_target_was_resolved, checks the two lists agree.Checked
On one GB10 with real single-target kernel builds (
atlas-release-builder:1.93.1):ATLAS_TARGET_MODEL=glm-5.3-flash: all four tests pass; "closure attestation: 1 target(s) reproduced from the tree".ATLAS_TARGET_MODEL=inkling-2-mini: the new resolved-target checks pass, and the hash check fails with a separate bug this fix uncovers. A target with[model] kernel_source(inkling-2-mini uses laguna-s-2.1; qwen3.8-27b uses qwen3.6-27b) has the source target's kernels andKERNEL.tomlhashed inbuild.rs, buttaxon::sources/taxon::configsresolve onlycommon/and the target's own<model>/<quant>/. That belongs in its own change rather than this one.cargo fmt --checkandcargo clippy --tests(atlas-kernels, spark-server) are clean on Rust 1.93.1.Authorship
AI-authored: Claude (Opus 5.5) in Claude Code, directed and reviewed by a human; no hand-written code.
CLA
🤖 Generated with Claude Code