Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

split GPU for multiple users

avatar
Explorer

Hi everyone:

 

CDSW support using GPU for machine learning jobs, but it seems one GPU can only be used by one user at the same time.

Can we share one GPU with mulitple users or one GPU must be dedicated to one docker and nobody else can use it at the same time?

 

Thanks!

 

 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi,

 

CDSW relies on Kubernetes to allocate system resources to user workloads and Kubernetes doesn't allow sharing a GPU core like it does for CPUs.

 

The expectations are set in the Kubernetes documentation:

  • Containers (and pods) do not share GPUs. There’s no overcommitting of GPUs.
  • Each container can request one or more GPUs. It is not possible to request a fraction of a GPU.

from: https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/

 

Regards,

Peter

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hi,

 

CDSW relies on Kubernetes to allocate system resources to user workloads and Kubernetes doesn't allow sharing a GPU core like it does for CPUs.

 

The expectations are set in the Kubernetes documentation:

  • Containers (and pods) do not share GPUs. There’s no overcommitting of GPUs.
  • Each container can request one or more GPUs. It is not possible to request a fraction of a GPU.

from: https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/

 

Regards,

Peter

avatar
Explorer
Hi, Peter:
Thank you for your reply. That's really helpful.