A small utility to queue tasks.
Need Python 3.9
Run the server
$ python3 boque.py
To send the request to execute a new task, run below command
$ python3 client.py --cmd "echo 5000; sleep 50" --name test13
You can also specify the resource it requires
$ python3 client.py --cmd "CUDA_VISIBLE_DEVICES={cuda_device} echo 5000; sleep 50" --name test3 --resource cuda_device