Skip to content

fix(train): destroy process group after training#106

Open
Explorer-Dong wants to merge 3 commits intothu-ml:mainfrom
Explorer-Dong:main
Open

fix(train): destroy process group after training#106
Explorer-Dong wants to merge 3 commits intothu-ml:mainfrom
Explorer-Dong:main

Conversation

@Explorer-Dong
Copy link
Contributor

The process group should be destroyed after training to prevent memory leak.

ref: https://docs.pytorch.org/docs/stable/distributed.html#shutdown

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

Successfully merging this pull request may close these issues.

1 participant