Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by sandGorgon on Wednesday October 18, 2017 @11:47AM
(#15500129)
That bet is the problem. Tensorflow on mobile already targets GPU and is going to be even more so with XLA.
This debate is going to be hearsay unless we have an apples to apples comparison of the base tensorflow code running on the halide ir targeted to the tpu vs a vanilla ARM GPU... Even using opencv.
I find it telling that they compared cpu vs tpu... Not GPU vs tpu.
Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by trishume on Thursday October 19, 2017 @09:31AM
(#15507679)
I think you’re confusing two separate things. There’s two separate approaches to a computer vision task: classical and deep learning. Halide and OpenCV are for classical approaches, TensorFlow is for deep learning.
People don’t use both for the same problem, nobody is using “tensorflow code running on the halide ir”.
Both approaches use a lot of basic operations applied to matrices, so the custom ASIC supports either, but separately. HDR sounds like a better fit for a classical approach, so their HDR filter is probably written in Halide, with no machine learning or TensorFlow anywhere.
Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by joshuamorton on Wednesday October 18, 2017 @12:05PM
(#15500306)
I'm really confused why you keep bringing up opencv. What does opencv have to do with the (presumably) TF ML model running on the IPU that you want to benchmark against the TF ML model running on a GPU?
Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by sandGorgon on Wednesday October 18, 2017 @12:55PM
(#15500744)
Because halide is positioned as a high performance improvement over opencv. While I believe it is just an architectural decision to enable a non-portable ML model.
Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by trishume on Thursday October 19, 2017 @10:52AM
(#15508407)
But Halide does have higher performance, is portable to many platforms as well as GPUs, CPUs (w/ parallel SIMD), and isn’t used for ML models...
Re:Pixel Visual Core: Google’s first custom-designed co-proc...
by joshuamorton on Wednesday October 18, 2017 @02:57PM
(#15501903)
Where did I mention halide?
My question is why do you care about opencv when benchmarking neural network performance on various hardware?
Also your argument that it’s not about perf makes no sense to me. Sure other phones have HDR, I bet its way slower and more energy intensive than the Pixel 2. Except maybe the iPhone, which may also have custom silicon. If they had custom HDR tech in software they wanted to keep they could just keep the source closed, or patent it.