Add Megascale Hangs Playbook as a how-to guide - #2490
Merged
copybara-service[bot] merged 1 commit intoOct 21, 2025
Conversation
melissawm
requested review from
A9isha,
RissyRan,
bvandermoon,
gagika,
gobbleturk,
jacoguzo,
jiangjy1982,
richjames0,
shralex and
vipannalla
as code owners
October 13, 2025 13:39
bvandermoon
reviewed
Oct 15, 2025
melissawm
force-pushed
the
add-megascale-guide
branch
from
October 16, 2025 21:03
a2bdbfc to
102cc2a
Compare
bvandermoon
reviewed
Oct 17, 2025
Comment on lines
+95
to
+102
| For example, use | ||
|
|
||
| ```python | ||
| jax._src.distributed.global_state.client.wait_at_barrier("<barrier_id>") | ||
| multihost_utils.sync_global_devices(...) | ||
| ``` | ||
|
|
||
| for worker synchronization. |
Collaborator
There was a problem hiding this comment.
How about something like this instead?
As an example, this could occur when using an all-reduce to synchronize at the end of checkpoint loading. One possible solution would be to switch this collective barrier to use the JAX distributed wait_at_barrier API instead:
jax._src.distributed.global_state.client.wait_at_barrier(...)
bvandermoon
approved these changes
Oct 20, 2025
melissawm
force-pushed
the
add-megascale-guide
branch
from
October 21, 2025 14:12
8f16de7 to
87e44f3
Compare
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.
Description
Adds the Megascale Hangs Playbook as a how-to guide. Initial content review done by @bvandermoon
Tests
Documentation currently builds successfully despite warnings (as flagged in #2356)
Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.