Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

torch distributed address already in use

#Kill zombie processes set of by torch.distributed launch
# if a small number of gpus use
$ ps -a
$ kill -9 [pid]
#for larger numbers of gpus
$ kill $(ps aux | grep YOUR_TRAINING_SCRIPT.py | grep -v grep | awk '{print $2}')
Source by leimao.github.io #
 
PREVIOUS NEXT
Tagged: #torch #distributed #address
ADD COMMENT
Topic
Name
5+7 =