Re:Google’s Cloud TPU Pods are now publicly available in beta
by so_tired on Wednesday May 08, 2019 @08:32AM
(#19858187)
Err - i don't get it. What alternative r u suggesting for development which is aimed at eventual production?
I am a complete noob, so i just did Keras (to TF) and GPUs.
If i switch to TPU - its still the same code.
When i get the budget to cluster, i think I am better off with one of the Deepmind libs which TF based.
No?
Re:Google’s Cloud TPU Pods are now publicly available in beta
by m0zg on Wednesday May 08, 2019 @03:49PM
(#19862238)
If you're just using off-the-GitHub models and pressing them into service, sure, Keras is adequate. If your work actually requires research and experimentation (as most practical problems on which actual cash money can be made do) you'll be much better served with PyTorch. The main cost in all this is not actually implementing or training your final model. That can be done in any framework. The cost is finding a model that works really well for a particular task. You will get there a lot sooner and with a lot fewer headaches if you use PyTorch for this more "researchy" part.
As to deployment, once you figure out what works, there's also libtorch, or if that doesn't work for you for whatever reason, implementing a model you know working hyperparameters for can be done in a day or two on whatever framework works for your backend, including TF.
And the TPU is a story of its own when it comes to usability. Take a look at their docs. TPU actually has to run on a separate machine, which you need to provision manually using their `ctpu` tool, and training of a trivial network on CIFAR looks like this: https://github.com/tensorflow/tpu/blob/master/models/experim...