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

RuntimeError #16

Open
swayampragnya-malla opened this issue Dec 15, 2023 · 2 comments
Open

RuntimeError #16

swayampragnya-malla opened this issue Dec 15, 2023 · 2 comments

Comments

@swayampragnya-malla
Copy link

swayampragnya-malla commented Dec 15, 2023

i am getting RuntimeError("Default process group has not been initialized, "
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group. issue while training MAGE and i am using only one gpu for training.
error

@LTH14
Copy link
Owner

LTH14 commented Dec 15, 2023

Did you use DDP? The original code is designed for multi-GPU DDP and thus cannot work without DDP. You can follow the command in Readme and use DDP even with 1 GPU, by setting --nproc_per_node=1 --nnodes=1.

@swayampragnya-malla
Copy link
Author

Thank you so much for your guide, now i can able to train and waiting for the result

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

2 participants