maguro
is a simple job scheduler for multiple-GPU enviroments.
Scheduling is not the optimal, but you do not need run scripts manually after you register (push
) tasks.
- Python >= 3.7
This library relies only on the standard libraries and nvidia-smi
.
pip install -U git+https://github.com/moskomule/maguro
maguro push [-r,--num_repeat 1] [-g,--num_gpus 1] [--logdir maglog] COMMAND
Here, COMMAND
is like python ~/train.py
. --num_gpus
specifies the number of GPUs required to run the submitted job.
Note that paths in COMMAND
should be absolute if you run from different directory
maguro run [--forever]
maguro list [--all]
maguro delete IDS
This IDS
can be checked by maguro list --all
.