-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Initialize the default process group twice, When integrating with DeepSpeed #536
Comments
Hello, I am running with the below config for the official example complete_nlp_example.py and everything is working as expected
Output:
Please provide a minimal script so that we can replicated the behaviour. |
I'm wondering whether it also works when deepspeed version is 0.6.7 |
Yup! Getting the error with deepspeed version 0.6.7. For time being, please use the deepspeed version 0.6.5.
|
Thanks! It works for me! |
The above merged PR should solve this issue and folks can now use latest DeepSpeed version without any problem. |
System Info
Information
Tasks
no_trainer
script in theexamples
folder of thetransformers
repo (such asrun_no_trainer_glue.py
)Reproduction
accelerator = Accelerator()
model, optimizer, train_dataloader, eval_dataloader = accelerator.prepare(
model, optimizer, train_dataloader, eval_dataloader)
Expected behavior
The text was updated successfully, but these errors were encountered: