Repository navigation
docs(automodel): finish the backend rename on main - #4815
Merged
Merged
Conversation
Signed-off-by: Yuki Huang <[email protected]>
Contributor
Author
|
/ok to test 96141da |
Signed-off-by: Yuki Huang <[email protected]>
yuki-97
commented
Oct 20, 2026
yuki-97
left a comment
Contributor
Author
There was a problem hiding this comment.
Self-review via /review-pr-team, run directly without spawning the agent team: the diff is comments, docs and one test name, with no runtime path touched. No devil's-advocate pass.
Verdict — no findings. LGTM, no action needed.
Verified clean
- The
dtensor_cfg:→automodel_cfg:change indocs/guides/sft.mdmatches the code:lm_policy.pyreadspolicy.automodel_cfg.enabled, anddtensor_cfgonly survives in the migration errors (outdated_config_checks.py,lm_policy.py,lm_value.py). - The reworded comments and messages agree with the code they sit on: the xtoken backend gate asserts
automodel_cfg.enabledfor the student and every teacher,AutomodelPolicyWorkeroverrides both_get_replica_groupand_local_coordsfromworker_mixin.py, andinitialize_refit_metadatarejects non-Megatron policies. - A repo-wide sweep of
origin/mainfor DTensor/FSDP2 in the backend sense finds nothing left. The remaining hits name tensor types or mechanisms (isinstance(..., DTensor),xferdtensor,FSDP2Config, the "DTensor v1" checkpoint-layout error, thedocs/conf.pyredirects), which are correct to keep. - The renamed test
test_refit_memory_release_rejects_automodel_policyhas no stale references in its body, and no other test name or file path still carries the old backend name.
Generated by Claude Code
yuki-97
marked this pull request as ready for review
October 20, 2026 14:52
Contributor
Author
|
/ok to test 0086399 |
terrykong
approved these changes
Oct 20, 2026
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 ?
Cleans up the remaining DTensor/FSDP2 backend mentions on
main, including the ones that exist only there.Closes #4535.
Verification
Re-ran each of the five PRs' own checks against
main: worker class and module names, therl.backendtag andTimerlabels;dtensor_cfgreaders,DTensorConfig,dtensor_enabled;recipe and driver filenames and every reference to them; test names, shard labels and
tests/unit/models/dtensor/; and a repo-wide backend-sense sweep. Nothing else remains.🤖 Generated with Claude Code