[ckpt] feat: Add versioned weight update manifests - #5769
Draft
yaoyu-33 wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
/ok to test 733a69f |
yaoyu-33
force-pushed
the
yuya/landscape-weight-update-manifest-20260824
branch
from
August 24, 2026 19:24
733a69f to
73d022f
Compare
Contributor
Author
|
/ok to test 73d022f |
Signed-off-by: Yu Yao <yaoyu.094@gmail.com>
yaoyu-33
force-pushed
the
yuya/landscape-weight-update-manifest-20260824
branch
from
August 24, 2026 19:34
73d022f to
3b3549c
Compare
Contributor
Author
|
/ok to test 3b3549c |
50 tasks
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.
What does this PR do?
Adds a small transport-neutral contract for versioning and verifying the existing one-shot Hugging Face-coordinate weight stream returned by
AutoBridge.export_hf_weights().WeightUpdateRecorderobserves names, shapes, and dtypes while tensors flow through without retaining payloads. The producer sends aWeightUpdateManifestas the stream trailer. Before activating staged weights, the consumer validates the exact recorded inventory plus expected model, config, update mode, base version, and target version.This is a bounded implementation under #4515 and #5371. It does not change a protected
AutoBridgesignature.Supported trigger and impact
The RL integration guide already documents streaming
export_hf_weights()and reusable ordered conversion tasks across TP/PP/MoE/CP. It currently leaves identity, completeness, ordering, and version visibility to downstream transport code.Recent primary evidence shows why this boundary matters:
Changelog
WeightUpdateRecorder, which preserves a one-shot stream and retains metadata only.WeightUpdateManifestandWeightUpdateTensortypes.0.4.2docs remain unchanged.Validation
Fail-before on unmodified base
dd150c1d73ed9a25ad3ee87149cb98a0a2ca3614:Pass-after for the same regression plus adjacent export/documentation contracts:
Additional gates:
Scope and non-goals
Before this PR is ready for review
Commit:
3b3549c936f77aa0c97c7c0eaa733692960f1e1e.