Skip to content

Use launcher world size before distributed init - #8685

Open
rohan-patnaik wants to merge 1 commit into
deepspeedai:masterfrom
rohan-patnaik:fix/config-env-world-size
Open

rohan-patnaik wants to merge 1 commit into
deepspeedai:masterfrom
rohan-patnaik:fix/config-env-world-size

Conversation

@rohan-patnaik

Copy link
Copy Markdown

Fixes #6501.

When configuration is constructed before distributed initialization, use the launcher-provided RANK and WORLD_SIZE instead of assuming a single process. Preserve the single-process defaults and sequence-parallel world-size adjustment.

Verification:

  • reporter-shaped WORLD_SIZE=2 repro: fails on master, passes after the change
  • focused fallback cases: 3 passed
  • config module: 70 passed, 4 skipped; 7 CUDA-build cases unavailable without CUDA_HOME
  • changed-file pre-commit hooks passed

Signed-off-by: Rohan Patnaik <rohan-patnaik@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Config mesh_device None

1 participant