LAION-AI / LAION-AI/Open-Assistant
RuntimeError: Timed out initializing process group in store based barrier on rank 2
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to run pretrain of LLaMA 30b. And here is my running cmd:
deepspeed trainer_sft.py --configs defaults llama-30b-pretrain pretrain --cache_dir $DATA_PATH --output_dir $MODEL_PATH/llama-30b-pre --deepspeed
And after the model was loaded, it stucked for a long time(I think it was 30 mins for the default timeout of pytorch is 30mins).
And this error is raised:
RuntimeError: Timed out initializing process group in store based barrier on rank 2 # for all rank
Any solutions?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the deepspeed trainer_sft.py command with the listed LLaMA pretraining configurations and inspect the process-group initialization failure on rank 2. Compare the distributed launch and timeout behavior across ranks; done means identifying the initialization cause and completing model startup without the store-based barrier timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- distributed-systems, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100