This program will print a file path on the beginning and will start an infinite loop, if the file is not there it will kill all your python processes and processes that use gpu memory on the machine and will recreate this file.
WARNINGS:
- If you have other process that might consume gpu memory and won't be killed by the default commands, please add the command to kill it in
killfile.shline 29. - This program will kill all your python and gpu consuming processes.
- This program won't stop unless you kill it.
Run instructions:
- run:
./killfile_wrapper.sh