-
Notifications
You must be signed in to change notification settings - Fork 245
fix: Remove obsolete MoE aux loss validation assertion #1852
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
base: main
Are you sure you want to change the base?
Conversation
Removed assertion for MoE aux loss validation due to known bug. The issue from megatron-lm has already beenn fixed ("NVIDIA/Megatron-LM#1984" ), so there is no need to hold the assertion
Signed-off-by: Mingmao Sun <mingmao.sun@inflection.ai>
📝 WalkthroughWalkthroughA runtime assertion in the MoE training configuration validation function was removed from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
terrykong
left a comment
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.
What does this PR do?
Removes the assertion for MoE aux loss validation that was blocking usage due to a known bug in Megatron-LM. The upstream issue has been resolved (NVIDIA/Megatron-LM#1984), so this assertion is no longer necessary.
Issues
N/A — This is a cleanup PR removing an outdated workaround.
Usage
No usage changes. MoE aux loss can now be used without triggering the assertion error.
Before your PR is "Ready for review"
Pre checks:
Additional Information
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.