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

单机单卡运行失败 #35

Open
wangshankun opened this issue Aug 16, 2022 · 4 comments
Open

单机单卡运行失败 #35

wangshankun opened this issue Aug 16, 2022 · 4 comments

Comments

@wangshankun
Copy link

单机train的时候当指令ng=1,不论是train还是test都会遇到同样的error;

当 --ng=1的时候出现Error:“`........please make sure to call init_process_group”

image

@yqyao
Copy link

yqyao commented Aug 18, 2022

For single device, maybe you don't need allreduce @wangshankun.

@wangshankun
Copy link
Author

For single device, maybe you don't need allreduce @wangshankun.

OK,But how to remove allreduce when only have one gpu card?

@yqyao
Copy link

yqyao commented Aug 18, 2022

Just delete this line or note it when world_size <= 1 @wangshankun

@mxyyy1002
Copy link

have you solved this problem?

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

3 participants