mim icon indicating copy to clipboard operation
mim copied to clipboard

How to start a task on a slurm cluster without calling the gpu

Open GhaSiKey opened this issue 2 years ago • 3 comments

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,但是似乎不可行。 image

GhaSiKey avatar Jan 03 '23 06:01 GhaSiKey

The command I use is:mim train mmcls resnet18_b16x8_cifar10.py --work-dir tmp --launcher slurm --partition aide_dev --gpus-per-node 0

GhaSiKey avatar Jan 03 '23 06:01 GhaSiKey

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

HAOCHENYE avatar Jan 03 '23 09:01 HAOCHENYE

image It told me that I still have to enter gpus-per-node.

GhaSiKey avatar Jan 03 '23 09:01 GhaSiKey