Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GhaSiKey opened this issue Jan 3, 2023 · 3 comments
Open

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

GhaSiKey opened this issue Jan 3, 2023 · 3 comments

Comments

@GhaSiKey
Copy link

GhaSiKey commented Jan 3, 2023

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
Copy link
Author

GhaSiKey commented Jan 3, 2023

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

@HAOCHENYE
Copy link
Contributor

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

@GhaSiKey
Copy link
Author

GhaSiKey commented Jan 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants