0

I have 2 servers with 4 tesla K40 GPUs.

I have successfully created a kubernetes cluster installed kubeflow 1.0 and evertything needed for it to work fine.

I can successfully create a Jupyter notebook server with 4 GPUs and use keras multigpu model on it and everything works fine.

Can I use 8 gpu (4 from one server and 4 from another) to create jupyter notebook server or run any gpupod or only 4 for one gpupod is avaliable for me?

When I try use 8 GPUs I get 0/2 nodes are available: 2 Insufficient nvidia.com/gpu

2
  • If i try use 8 GPUs i get "0/2 nodes are available: 2 Insufficient nvidia.com/gpu" Apr 10, 2020 at 13:28
  • Hello, could you share more information about the project? so I can try to reproduce your environment? Apr 14, 2020 at 14:26

2 Answers 2

0

Can I use 8 gpu (4 from one server and 4 from another) to create jupyter notebook server or run any gpupod or only 4 for one gpupod is avaliable for me?

No, Kubernetes pods can only use resources from one machine(node) at a time.

You can learn more here.


As a workaround, you can run your jupyter server on one cluster, but train on GPUs from multiple clusters with some minimal code changes, depending on which framework you're working.

kubeflow even has some nice UI support for that. Here are some sources to learn more about:

0

A kubeflow jupyter notebook is a pod, and a simple training job can scale up to the number of free GPUs you have in one GPU node of your kubernetes cluster.

To scale out your training horizontally and utilize more GPUs in your training job, you need to use a distributed training framework. Kubeflow provides tfjob for that purpose.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .