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
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:
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 A100is the fastest.Nvidia Tesla P4is the slowest.Nvidia A100is the most expensive.Nvidia Tesla T4is the cheapest.Nvidia Tesla T4has the highest operations per dollar.Nvidia Tesla V100has the lowest operations per dollar.And you can observe that clearly in the following figure:
I hope that was helpful!