News for hackers. Stuff that matters.
Re:Cloud TPUs in Beta by perfmode on Monday February 12, 2018 @09:49AM (#16358876)
It is. TPUs perform calculations on weights using low-precision floating point and integer types. This saves a ton of computation, but doesn't matter much for training models.
Re:Cloud TPUs in Beta by bicubic on Monday February 12, 2018 @09:56AM (#16358938)
But GPU is also able to use lower resolution types. There must be more to the TPU advantage.
Re:Cloud TPUs in Beta by Cyph0n on Monday February 12, 2018 @10:05AM (#16359007)
GPUs are much more complex (general-purpose) and therefore cannot be optimized beyond a certain point due to timing requirements and PVT (process, temperature, voltage) variations. In other words, the more stuff you have on an ASIC, the more careful you have to be ensure a margin of tolerance for variations.
Re:Cloud TPUs in Beta by saguro on Monday February 12, 2018 @10:34AM (#16359233)
So the only advantage of the TPU is it's a simpler and more specialized asic? Google didn't break any new ground in terms of training perf?
Re:Cloud TPUs in Beta by dgacmu on Monday February 12, 2018 @01:37PM (#16360783)
So, a way to think of this is: The speed (and therefore, cost) of training a machine learning model depends on (a) the ML techniques (how rapidly the model converges and to what accuracy); and (b) how quickly the processor executes the operations involved in the ML techniques.

The TPU is only an improvement in (b). It's not going to result in a big-O style speedup, because the same training algorithms and architectures will run on it that we run on CPUs & GPUs today.

I'm not sure what counts as "breaking new ground" - is that 10%? 100%? 1000? :-) The things to watch out for in benchmarks will be:

(a) Perf/$. This is actually a big deal - one of my students recently blew through $5000 of Google Cloud credits running Imagenet experiments, in a week. And we didn't finish them! As this cost really drops, it enables things like Neural Architecture Search, which uses tons of compute capability to explore architectural variants automatically.

(b) Absolute perf.

(c) Performance scaling. To what degree will the fast, 2D torroidal mesh allow a full pod of Cloud TPUs to scale nearly-linearly? Absolute training times matter from a user productivity standpoint. Waiting 30 minutes for a result is very different from waiting 12 hours (you can do one of these while you sneak out to go running! :-).

The NIPS'17 slides have more technical context for some of this: https://supercomputersfordl2017.github.io/Presentations/Imag...

Re:Cloud TPUs in Beta by Cyph0n on Monday February 12, 2018 @11:05AM (#16359508)
> So the only advantage of the TPU is it's a simpler and more specialized asic

And everything that entails: lower energy consumption, higher throughput, lower cost at volume, higher profits for GCP, etc.

> Google didn't break any new ground in terms of training perf?

Relative to GPUs, sure, but I can't say how well they stack up against other custom ASICs for DL applications.