Unverified Commit 79319ced authored by Cade Daniel's avatar Cade Daniel Committed by GitHub
Browse files

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

parent 40c27a7c
...@@ -73,11 +73,6 @@ kill_gpu_processes() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment