News for hackers. Stuff that matters.
Re:Comparing Google’s TPUv2 against Nvidia’s V100 on ResNet-50 by elmarhaussmann on Thursday April 26, 2018 @11:26AM (#16932730)
In general, you try to keep the TPU/GPU busy 100%, so enough data needs to be readily accessible at any point in time. In this example, images needs to be read from disk, decoded, transformed (cropped, resized, normalized etc.) before they can be fed to the TPU. The transformations can be computationally intensive so they actually become a bottleneck.

In terms of how much compute power the TPU pre-processing needs I only have very rough numbers: I ran the same pre-processing while training ResNet-50 on a node with 4 GPUs and it was consistently utilizing >22 CPU cores (including all of the other CPU-tasks while training).

There are no comments on this comment yet.