feat(refit): add canonical S3 revision publisher - #612
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
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 trainer-side publisher for canonical model revisions and exact-base deltas stored in S3. The publisher gathers canonical Hugging Face tensor identities across source ranks, computes deterministic XOR deltas from the installed base, uploads bounded compressed buckets, and publishes the immutable revision manifest through the revision catalog.
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
N -> N+1updates.Publication Flow
READYin the catalog.The publisher owns canonicalization, delta construction, object publication, and revision identity. S3 carries the bytes; the catalog carries only immutable metadata.
Correctness
Validation
pre-commit run --from-ref origin/main --to-ref hwoo/mx-delta-phase3-prscargo fmtcargo clippycargo check