-
Notifications
You must be signed in to change notification settings - Fork 503
refactor(update-weight): rewrite LoRA weight update path #2756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yueming-yuan
merged 48 commits into
yueming/hf-weight-iterator-move
from
yueming/lora-weight-stream
Sep 3, 2026
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
241261a
refactor(lora): adapter tensors ride the base weight stream
yueming-yuan b2d8443
remove accidentally committed .rxignore (local devbox sync config)
yueming-yuan 5792835
cascade .rxignore removal
yueming-yuan 10efec6
cascade from yueming/hf-weight-iterator-move
yueming-yuan 2c39805
cascade from yueming/hf-weight-iterator-move
yueming-yuan 6344d53
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan 44359bd
rename the updater's lora helpers for clarity
yueming-yuan a40d8fa
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan 81561f0
cascade from yueming/hf-weight-iterator-dist
yueming-yuan b5572be
move record_lora_checksums into weight_update utils
yueming-yuan 70482b4
sort imports
yueming-yuan af10bae
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan fbe555b
rename uses_session_frame in the test mock
yueming-yuan d68b687
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan b324a5f
drop comments that restate the code
yueming-yuan 60ed310
cascade from yueming/hf-weight-iterator-move
yueming-yuan 94133c9
cascade from yueming/hf-weight-iterator-move
yueming-yuan 7002f78
cascade from yueming/hf-weight-iterator-bucketing
yueming-yuan b5dd6a1
cascade from yueming/hf-weight-iterator-move
yueming-yuan 110bb97
cascade from yueming/hf-weight-iterator-bucketing
yueming-yuan f07587e
cascade from yueming/hf-weight-iterator-dist
yueming-yuan ac366a8
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan 6313fad
format
yueming-yuan 3ae2a77
cascade from yueming/hf-weight-iterator-updater
yueming-yuan 89e8dfe
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan bc48803
reject hybrid colocated+distributed deployments for LoRA weight sync
yueming-yuan efc881b
cascade from yueming/hf-weight-iterator-refactor
yueming-yuan 4d6d1e8
register adapters unpinned (pinning every slot trips the pool anti-st…
yueming-yuan e31818f
Trigger CI: engine rebuild with deferred-free aliasing fix
yueming-yuan f5881e5
cascade from yueming/hf-weight-iterator-updater
yueming-yuan 4dd7c21
cascade from yueming/hf-weight-iterator-dist
yueming-yuan 443ec12
cascade from yueming/hf-weight-iterator-dist
yueming-yuan cd9d89e
cascade from yueming/hf-weight-iterator-ep-allgather
yueming-yuan 84c632c
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan e0d5de7
cascade from yueming/hf-weight-iterator-updater
yueming-yuan 1dbc39a
cascade from yueming/hf-weight-iterator-updater
yueming-yuan be0ba37
publish weight_version only after end_weight_update commits
yueming-yuan 220ba84
register LoRA adapters inside the paused window
yueming-yuan 83a5d7b
drop the comment on the version publish order
yueming-yuan 218cc1c
drop the comments on adapter registration
yueming-yuan 4a89f7d
mark the PP-local adapter branch as unreached behind the bridge guard
yueming-yuan 5fa4f9a
merge origin/yueming/hf-weight-iterator-move
yueming-yuan 6f6ec7c
cascade from yueming/hf-weight-iterator-colocate
yueming-yuan cda97d2
test: broadcast send_bucket no longer forwards a weight_version
yueming-yuan d672149
cascade from yueming/hf-weight-iterator-dist
yueming-yuan cefe854
assert the LoRA checksum manifest is recorded from a PP-gathered adapter
yueming-yuan 3e5a042
merge origin/yueming/hf-weight-iterator-move
yueming-yuan f2be133
cascade from yueming/hf-weight-iterator-move
yueming-yuan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
human cmt
[P2] Track native-LoRA disaggregate reachability
This placement-gated gather fixes the hardcoded
is_lora_sender = self.is_sender and shard == 0behavior discussed in #2747: withgather_pp=False, adapter tensors can now remain PP-local and ride each shard's normal sender stream.Native-LoRA disaggregate is still blocked by the actor-side
megatron_to_hf_mode == "bridge"assertion, so this path is not production-reachable today and no supported run is affected.Please leave a TODO linking this branch to removal of that guard when native-LoRA disaggregate is enabled.