Skip to content

Revert accidental Muon optimizer code re-introduction from copilot PRs#6

Merged
nathon-lee merged 2 commits intomasterfrom
copilot/remove-commits-from-master
Mar 6, 2026
Merged

Revert accidental Muon optimizer code re-introduction from copilot PRs#6
nathon-lee merged 2 commits intomasterfrom
copilot/remove-commits-from-master

Conversation

Copy link

Copilot AI commented Mar 6, 2026

Three copilot-generated commits (001f77c3, b90aee5a, b6da9afd) were merged into master that re-introduced partial Muon optimizer scaffolding (uses_muon attribute, reduce_scatter incompatibility assertion, modified average_tensor conditional) that had been intentionally removed by ff886701.

Changes

  • deepspeed/runtime/zero/stage_1_and_2.py: Reverts b90aee5a via git revert, removing:
    • self.uses_muon broad param-group scan in __init__
    • assert False guard blocking reduce_scatter=True with Muon
    • any(self.group_uses_muon) branch in the average_tensor all-reduce path

The per-parameter Muon logic (muon_update, use_muon attribute checks) added by the fork's own commits is unaffected.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Remove specific commits from master Revert accidental Muon optimizer code re-introduction from copilot PRs Mar 6, 2026
@nathon-lee nathon-lee marked this pull request as ready for review March 6, 2026 06:48
@nathon-lee nathon-lee merged commit f7c5d75 into master Mar 6, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants