[Nightly benchmarking suite] Remove pkill python from run benchmark suite (#6965)
This commit is contained in:
parent
40c27a7cbb
commit
79319cedfa
@ -73,11 +73,6 @@ kill_gpu_processes() {
|
|||||||
echo "All GPU processes have been killed."
|
echo "All GPU processes have been killed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sometimes kill with pid doesn't work properly, we can also kill all process running python or python3
|
|
||||||
# since we are in container anyway
|
|
||||||
pkill -9 -f python
|
|
||||||
pkill -9 -f python3
|
|
||||||
|
|
||||||
# waiting for GPU processes to be fully killed
|
# waiting for GPU processes to be fully killed
|
||||||
# loop while nvidia-smi returns any processes
|
# loop while nvidia-smi returns any processes
|
||||||
while [ -n "$(nvidia-smi --query-compute-apps=pid --format=csv,noheader)" ]; do
|
while [ -n "$(nvidia-smi --query-compute-apps=pid --format=csv,noheader)" ]; do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user