mim
mim copied to clipboard
How to start a task on a slurm cluster without calling the gpu
I tried to use mim to start a task on a slurm cluster and not use gpu, but it seems that the mim command is not supported.
我尝试使用mim在slurm集群上启动任务--launcher slurm,并且不使用gpu,我设置了--gpus-per-node 0,但是似乎不可行。

The command I use is:mim train mmcls resnet18_b16x8_cifar10.py --work-dir tmp --launcher slurm --partition aide_dev --gpus-per-node 0
You can try to launch your task by
CUDA_VISIBLE_DEVICES="" mim train mmcls resnet18_b16x8_cifar10.py --work-dir tmp --launcher slurm --partition aide_dev
It told me that I still have to enter gpus-per-node.