feat(refit): add canonical S3 revision receiver - #613
Open
nv-hwoo wants to merge 1 commit into
Open
Conversation
Signed-off-by: Hyunjae Woo <hwoo@nvidia.com>
nv-hwoo
force-pushed
the
hwoo/mx-delta-publish-pr
branch
from
August 12, 2026 15:51
3d8d01f to
9ff238e
Compare
nv-hwoo
force-pushed
the
hwoo/mx-delta-receiver-pr
branch
from
August 12, 2026 15:51
e867888 to
d557899
Compare
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.
Summary
Add the receiver-side reconstruction and SGLang installation path for canonical S3 revisions. The receiver seeds one private mutable checkpoint from the launch Hugging Face snapshot, applies exact-base XOR deltas in place, verifies the complete target identity, and installs the prepared checkpoint through SGLang’s native model loader.
This is a parallel effort along the current refit API work. A separate follow-up PRs will merge this into the standard refit API.
Changes
DefaultModelLoader.Receive Flow
Correctness
base_version + base_digestmatch.SGLang Integration
The receiver uses SGLang’s native
DefaultModelLoaderto install the prepared safetensors checkpoint. It does not alter the runner’s configured model path or load format, and it classifies failures according to whether model mutation may have begun.Validation
pre-commit run --from-ref origin/main --to-ref hwoo/mx-delta-phase3-prscargo fmtcargo clippycargo check