Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Justin Yu <[email protected]>
Contributor
Author
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
|
This pull request has been automatically closed because there has been no more activity in the 14 days Please feel free to reopen or open a new pull request if you'd still like this to be addressed. Again, you can always ask for help on our discussion forum or Ray's public slack channel. Thanks again for your contribution! |
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
Train V2 pins workers to nodes in the AutoscalingCoordinator's reservation (#66002). The coordinator leaves out nodes that
ray.nodes()reports dead, but the GCS can still report a just-removed node as alive for a short time. When several nodes go down together (spot preemption waves, an AZ failure, the autoscaler removing several nodes), the first death triggers a restart while the others still look alive, so the new pins can name a node that's already gone. That bundle can never be placed, andWorkerGroupwaited the fullRAY_TRAIN_WORKER_GROUP_START_TIMEOUT_S(60s) before retrying.WorkerGroupnow waits for the placement group inPINNED_NODE_CHECK_INTERVAL_S(1s) intervals when workers are pinned to node IDs. Between waits it checksray.nodes()and stops as soon as a pinned node is no longer alive, raising the same retryableWorkerGroupStartupTimeoutError. Without node-id pins, it does a single full-timeout wait as before.test_elastic_e2eremoves every node at once and restarts right away, so it hits this window on purpose. Locally, that restart went from a 60s stall to giving up after about 1s ("Giving up on the placement group early…" in the controller log).Known gap: when it stops early, the retried
WorkerGroupStartupTimeoutErrorstill says "timed out after 60.0 seconds". The info log just before it gives the real reason.Related issues
Independent of the
ResizeDecisionpinning stack (linked in a comment) and can merge in either order. Together they address thetest_elastic_e2eflake.Testing
All passing locally (macOS,
ray_dev_py311):AI assistance (Claude Code) was used to write this change.
🤖 Generated with Claude Code