How many vCPUs are appropriate for cloud-based deep learning?

571 Views Asked by At

I am considering using one of the big-3 cloud platform services - AWS/GCP/AZURE - for machine-learning projects of my team. In viewing the compute services for each of them, I faced the concept of vCPUs. For example, GCP provides the following solution:

  • GPU : NVIDIA T4
  • GPU memory : 16GB GDDR6
  • vCPUS : 1~24

I understand the advantage of having more GPUs and GPU memories. But does it significantly matter to have more vCPUs for running deep learning algorithms on cloud platforms?
My interest is in convolutional neural network, clustering, and recommendations using deep learning.

2

There are 2 best solutions below

0
On

CPUs can be useful for tasks like data preparation, but usually don't matter that much if your training runs on GPU.

0
On

The answer to your question is it depends on what you want to do with the network. If you want to do training, GPU will be the way to go. If inference, CPU should be better. Of course irrespective of CPU or GPU, the more the number of cores the better.