Skip to content

[Dev] Drop has_internal_collective from magi_register_custom_op - #58

Merged
jiahy0825 merged 2 commits into
SandAI-org:mainfrom
wtr0504:refactor/internal_collective
Aug 17, 2026
Merged

[Dev] Drop has_internal_collective from magi_register_custom_op#58
jiahy0825 merged 2 commits into
SandAI-org:mainfrom
wtr0504:refactor/internal_collective

Conversation

@wtr0504

@wtr0504 wtr0504 commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

🗂️ PR Category

  • ✨ New Feature
  • 🚀 Optimization (performance, memory, etc.)
  • 💥 Breaking Change
  • 🐛 Bug Fix
  • 🛠️ Development / Refactoring
  • 📚 Documentation
  • 🧹 Chore (Dependencies, CI/CD, Configuration, etc.)
  • 🧪 Testing

📝 Description

Drop has_internal_collective from magi_register_custom_op. Every op registered through the decorator is now treated as lockstep-replay (has_internal_collective=True): seeded in __call__, measured in warm_and_sync with fixed iters, and included in the FSDP-overlap collective skeleton.

Call sites that passed has_internal_collective=True should just delete the argument. The low-level register_materialize_inputs(..., has_internal_collective=) flag is unchanged.

@jiahy0825 jiahy0825 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiahy0825
jiahy0825 merged commit 2f34d61 into SandAI-org:main Aug 17, 2026
5 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