1

Right now, I'm working on my master's thesis and I need to train a huge Transformer model on GCP. And the fastest way to train deep learning models is to use GPU. So, I was wondering which GPU should I use among the ones provided by GCP? The ones available at the current moment are:

  • NVIDIA® A100
  • NVIDIA® T4
  • NVIDIA® V100
  • NVIDIA® P100
  • NVIDIA® P4
  • NVIDIA® K80
4

1 回答 1

5

It all depends on what are the characteristics you're looking for.

First, let's collect some information about these different GPU models and see which one suits you best. You can google each model's name and see its characteristics. I did that and I created the following table:

Model FP32 (TFLOPS) Price TFLOPS/dollar
Nvidia A100 19.5 2.933908 6.646425178
Nvidia Tesla T4 8.1 0.35 23.14285714
Nvidia Tesla P4 5.5 0.6 9.166666667
Nvidia Tesla V100 14 2.48 5.64516129
Nvidia Tesla P100 9.3 1.46 6.369863014
Nvidia Tesla K80 8.73 0.45 19.4

In the previous table, you see can the:

  • FP32: which stands for 32-bit floating point which is a measure of how fast this GPU card with single-precision floating-point operations. It's measured in TFLOPS or *Tera Floating-Point Operations... The higher, the better.
  • Price: Hourly-price on GCP.
  • TFLOPS/Price: simply how much operations you will get for one dollar.

From this table, you can see:

  • Nvidia A100 is the fastest.
  • Nvidia Tesla P4 is the slowest.
  • Nvidia A100 is the most expensive.
  • Nvidia Tesla T4 is the cheapest.
  • Nvidia Tesla T4 has the highest operations per dollar.
  • Nvidia Tesla V100 has the lowest operations per dollar.

And you can observe that clearly in the following figure:

enter image description here

I hope that was helpful!

于 2021-10-22T09:35:14.270 回答