Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-machine Data Processing Fails #178

Open
J38 opened this issue Aug 17, 2022 · 0 comments
Open

Multi-machine Data Processing Fails #178

J38 opened this issue Aug 17, 2022 · 0 comments

Comments

@J38
Copy link
Contributor

J38 commented Aug 17, 2022

Here's the command when trying on 4 machines:

deepspeed --num_gpus 8 --num_nodes 4 --master_addr sphinx5 --hostfile hostfile train.py --config conf/mistral-32gpu.yaml --nnodes 4 --nproc_per_node 8 --training_arguments.fp16 true --training_arguments.per_device_train_batch_size 4 --training_arguments.deepspeed conf/deepspeed/z2-small-conf.json --run_id gpt2-32gpu-demo

Here's the crash error:

sphinx5:   File "train.py", line 264, in <module>
sphinx5: Traceback (most recent call last):
sphinx5:   File "train.py", line 264, in <module>
sphinx5: Traceback (most recent call last):
sphinx5:   File "train.py", line 264, in <module>
sphinx5: Traceback (most recent call last):
sphinx5: Traceback (most recent call last):
sphinx5: Traceback (most recent call last):
sphinx5: Traceback (most recent call last):
sphinx5:   File "train.py", line 264, in <module>
sphinx5:   File "train.py", line 264, in <module>
sphinx5:   File "train.py", line 264, in <module>
sphinx5:   File "train.py", line 264, in <module>
sphinx5:     train()
sphinx5:   File "train.py", line 122, in train
sphinx5:     train()
sphinx5:   File "train.py", line 122, in train
sphinx5:     train()
sphinx5:   File "train.py", line 122, in train
sphinx5:     custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:     train()
sphinx5:   File "train.py", line 122, in train
sphinx5:     custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:     train()    
sphinx5: _preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 256, in _preprocess_once_per_machine
sphinx5:   File "train.py", line 122, in train
sphinx5:         train()custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5: 
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:         custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)raise RuntimeError(f"Forked process exited with status {status[0]}")  File "train.py", line 122, in train
sphinx5: 
sphinx5: 
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:     RuntimeError_preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)    : Traceback (most recent call last):
sphinx5: 
sphinx5: Forked process exited with status -7train()
sphinx5:   File "train.py", line 256, in _preprocess_once_per_machine
sphinx5: 
sphinx5:   File "train.py", line 264, in <module>
sphinx5:   File "train.py", line 122, in train
sphinx5:     custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:     _preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 256, in _preprocess_once_per_machine
sphinx5:     _preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 256, in _preprocess_once_per_machine
sphinx5:     custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5:     raise RuntimeError(f"Forked process exited with status {status[0]}")
sphinx5:     custom_eval_datasets, lm_dataset = load_datasets(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 191, in load_datasets
sphinx5: RuntimeError: Forked process exited with status -7
sphinx5:     _preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)
sphinx5:   File "train.py", line 256, in _preprocess_once_per_machine
sphinx5:         _preprocess_once_per_machine(quinfig, paths, tokenizer, overwatch)raise RuntimeError(f"Forked process exited with status {status[0]}")
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

No branches or pull requests

1 participant