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

No initialization for the process group #73

Open
Mugariya opened this issue Aug 28, 2024 · 1 comment
Open

No initialization for the process group #73

Mugariya opened this issue Aug 28, 2024 · 1 comment

Comments

@Mugariya
Copy link

In pred.py, there's dist.destroy_process_group() without any initialization before. So it throws an assertion error.

@bys0318
Copy link
Member

bys0318 commented Sep 6, 2024

Hi, you can change this line to

if dist.is_initialized():
    dist.destroy_process_group()

to avoid the assertion error.

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