-
Notifications
You must be signed in to change notification settings - Fork 651
Add docs to explain COMM_MODE #2162
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: gh/fegin/58/base
Are you sure you want to change the base?
Conversation
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.
LGTM! Please fix lint error
tianyu-l
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.
debugging.md is becoming huge. We could either split it into multiple ones in a docs/debugging/ folder, or create a table of contents in the single file.
| - Simulates multi-GPU behavior on a single shared GPU | ||
| - Executes all collectives (all-reduce, all-gather, etc.) locally without network communication | ||
| - Maintains the same code paths as distributed training for accurate debugging | ||
| - Runs only one training step by default |
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.
why having this as default?
| - Runs only one training step by default | ||
|
|
||
| **When to use it:** | ||
| - Debugging distributed training logic (FSDP, TP, PP, CP, EP) with data dependencies without multi-GPU setup |
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.
add a note that fsdp doesn't work today?
Stack from ghstack (oldest at bottom):
As title