Created
May 24, 2022 16:49
-
-
Save Jiayi-Pan/9ceb0836255e08c7d1a6a5885ee0937b to your computer and use it in GitHub Desktop.
Kill Zombie Process After Interruptions in Torch Distributed Training
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill $(ps aux | grep SCRIPT.py | grep -v grep | awk '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kill $(ps aux | grep train.py | grep -v grep | awk '{print $2}')