BLIP icon indicating copy to clipboard operation
BLIP copied to clipboard

RuntimeError: Default process group has not been initialized, please make sure to call init_process_group (train_caption.py)

Open Y-HuiMing-Y opened this issue 2 years ago • 1 comments

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!

Y-HuiMing-Y avatar Jan 16 '24 08:01 Y-HuiMing-Y

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

chilljudaoren avatar Aug 18 '24 14:08 chilljudaoren