NNVM Compiler: A New Open End-To-End Compiler for AI Frameworks
aws.amazon.com
aws.amazon.com
pip install tensorflow --upgrade
Fortunately I got a new machine with a cuDNN capable GPU, but I'll be testing the NNVM for Keras backend when its working. We might get to squeeze some epochs out of my old machine, now in the hands of a secretary who won't really notice we're training a net while he replies some emails.NNVM compiler is built on top of TVM, with additional graph level optimizers, and the two forms an end to end pipeline
- One of the Halide people.
Those long training times are for training from scratch. Most image tasks don't need that, although text tasks often do.
This is for training a competitive model from scratch on a fundamental problem like image recognition. If you don't care about the last 1-2%, it's possible to train a useful model in a few hours (but still on a GPU).
> is anyone actually using CPUs instead
There are useful things you can do without a GPU. For example, "Transfer learning", which can be as simple as chopping off the last layer of someone else's GPU-trained model and substituting your own, can be done on a CPU in reasonable time. This is because you typically need less data and because far fewer parameters need to be fit.
For example, HBO's "Hotdog/Not-hotdog" app was done this way. See their description of "V1" here: https://medium.com/@timanglade/how-hbos-silicon-valley-built...