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: Default process group has not been initialized, please make sure to call init_process_group (train_caption.py) #194

Open
Y-HuiMing-Y opened this issue Jan 16, 2024 · 1 comment

Comments

@Y-HuiMing-Y
Copy link

Thank you for taking the time to look at my problem!
When I was training train_caption.py on windows, I set nproc_per_node=1 and default=False in main function, but I still got

"RuntimeError: Default process group has not been initialized, please make sure to call init_process_group "

Is there any need to set?
Thank you very much for your help!

@chilljudaoren
Copy link

确保 RANK、WORLD_SIZE 或 SLURM_PROCID 等环境变量在运行时正确配置。

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