[Nightly benchmarking suite] Remove pkill python from run benchmark suite (#6965)

This commit is contained in:
Cade Daniel 2024-07-30 16:28:05 -07:00 committed by GitHub
parent 40c27a7cbb
commit 79319cedfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,11 +73,6 @@ kill_gpu_processes() {
echo "All GPU processes have been killed."
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
# loop while nvidia-smi returns any processes
while [ -n "$(nvidia-smi --query-compute-apps=pid --format=csv,noheader)" ]; do