Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

How to run CPU tasks on GPU Workers #4871

Closed
IamSunGuangzhi opened this issue Sep 3, 2020 · 4 comments
Closed

How to run CPU tasks on GPU Workers #4871

IamSunGuangzhi opened this issue Sep 3, 2020 · 4 comments
Assignees

Comments

@IamSunGuangzhi
Copy link

How to run CPU tasks on GPU Workers?
I submit a job (gpu=0) on gpu worker, the task occupy all gpu on gpu node.

OpenPAI Environment:

  • OpenPAI version: v1.0.1
@IamSunGuangzhi
Copy link
Author

When can this problem be fixed?

@fanyangCS
Copy link
Contributor

related to #4602.

@abuccts
Copy link
Member

abuccts commented Sep 4, 2020

@IamSunGuangzhi Could you describe your question more clearly? Which scheduler did you use, k8s default scheduler or HiveD scheduler? And what configuration did you use?

If you are using HiveD scheduler, you could always submit a job with 1 GPU and run CPU only process in that job. There's no way to submit CPU only job on GPU nodes if you also want to run GPU jobs on that node which will break cell assignment in scheduler.

You can either set up CPU nodes and corresponding VC for CPU jobs, or change to k8s default scheduler.

@fanyangCS
Copy link
Contributor

closed as no further response.

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

No branches or pull requests

3 participants