Skip to content

Add Megascale Hangs Playbook as a how-to guide - #2490

Merged
copybara-service[bot] merged 1 commit into
AI-Hypercomputer:mainfrom
melissawm:add-megascale-guide
Oct 21, 2025
Merged

Add Megascale Hangs Playbook as a how-to guide#2490
copybara-service[bot] merged 1 commit into
AI-Hypercomputer:mainfrom
melissawm:add-megascale-guide

Conversation

@melissawm

Copy link
Copy Markdown
Collaborator

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):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

Comment thread docs/guides/megascale_hang_playbook.md Outdated
Comment thread docs/guides/megascale_hang_playbook.md Outdated
Comment thread docs/guides/megascale_hang_playbook.md
@melissawm
melissawm force-pushed the add-megascale-guide branch from a2bdbfc to 102cc2a Compare October 16, 2025 21:03
Comment thread docs/guides/megascale_hang_playbook.md Outdated
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.

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.

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(...)

@melissawm
melissawm force-pushed the add-megascale-guide branch from 8f16de7 to 87e44f3 Compare October 21, 2025 14:12
@copybara-service
copybara-service Bot merged commit 2b68435 into AI-Hypercomputer:main Oct 21, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants