Earlier quoted context omitted.
Halide is much more flexible. OpenCV is a fixed high level toolbox, combining things requires lots of intermediate buffers. Halide allows compiling arbitrary kernels in a fused way with extremely good performance. Sure you could implement OpenCV functions using Halide, but better to expose the lower level more flexible API. Source: I’ve rewritten parts of an OpenCV app in Halide for performance. Also your argument th…
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.
Pixel Visual Core: Google’s first custom-designed co-processor
71–80 of 102 posts
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#72It seems odd to me that Samsung isn't doing things like this. After all they have both the chip design talent in house, they design their own Eynos chips, and even have the fabs in house as well. They're not as well regarded for software, but they do at least have some in house dev capability. A Samsung Galaxy with that sort of differentiation would, like this phone, make even a die hard iPhone user like me take seri…
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#73I wish my Nikon pro camera had a similar chip inside. Now we have two worlds - awesome pro cameras with incapable post-processing chips (I mean beyond RAW and initial processing) and horrible mobile cameras with outstanding post-processing chips.
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#74> HDR+ addresses this problem by taking a burst of shots with short exposure times, aligning them algorithmically, and replacing each pixel with the average color at that position across all the shots. This is almost exactly how you'd make super-resolution pictures (adding a nearest-point scaling up step at some point! Yet their super-resolution app (Photoscan) has some sort of artificial upper resolution limit. If t…
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#75Maybe Google should start designing it's own CPUs/SoCs as well, since Qualcomm doesn't really seem capable of keeping up with what Apple is doing. Snapdragon 835 came out 6 months after the A10, and scored about 2/3 as well at single core, and less than 10% on Geekbench 4. A11 scored twice what the 835 did on single core, and over 50% more on multi core, and the 835 is going to be the best chip available in the U.S.…
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#76I wish my Nikon pro camera had a similar chip inside. Now we have two worlds - awesome pro cameras with incapable post-processing chips (I mean beyond RAW and initial processing) and horrible mobile cameras with outstanding post-processing chips.
Also the double lens, one for wide angle, one for tele, snapping at the same time and combining the images into one. It will be a looooong time until we see that on a pro camera with interchangeable lenses, if ever.
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#77I wish my Nikon pro camera had a similar chip inside. Now we have two worlds - awesome pro cameras with incapable post-processing chips (I mean beyond RAW and initial processing) and horrible mobile cameras with outstanding post-processing chips.
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#78Earlier quoted context omitted.
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.
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-processor
#79Earlier quoted context omitted.
Their results are quite bad compared to a passably competent Photoshop user willing to spend 2 minutes per picture. But if you need the computer to do all the color adjustment for you, so you can post your snapshot on facebook or print it at the local drug store with no manual intervention, this might be a good enough result.
I think you are missing the point with improvements of this nature. Take for example: you have kids. You're at an event with said kids. While I still own a mirror-less micro 4/3rds, I often time don't have it with me. It's easy to snap hundreds of photos in random life events with a good smart phone camera. I personally have almost 2TB of family photo and video and I've got a long way to go. Can you imagine me spendi…
Re: Pixel Visual Core: Google’s first custom-designed co-processor
#80Maybe Google should start designing it's own CPUs/SoCs as well, since Qualcomm doesn't really seem capable of keeping up with what Apple is doing. Snapdragon 835 came out 6 months after the A10, and scored about 2/3 as well at single core, and less than 10% on Geekbench 4. A11 scored twice what the 835 did on single core, and over 50% more on multi core, and the 835 is going to be the best chip available in the U.S.…
Firstly yes Apple is well ahead in CPU core design and has been since 2013 when they brought out the first 64-bit ARM chip. And yes I know 64 bit by itself doesn't account for the performance increase, but the 64-bit ARM core architecture is much more streamlined and efficient than 32-bit which had accumulated all sorts of cruft over the years. The A7 wasn't just 64-bit, it was step change up in performance creating a gap that the other ARM vendors have never caught up with.
That's not the whole story though, core design alone isn't the only reason Apple chips are faster, another is they have dramatically more cache memory on chip that other designs. The A10 had a total of 7MB of L2 and L3 cache, more than double the maximum configuration for the 835. Apple SOCs are massive, which makes them expensive.
Finally, they can build in customised capabilities in hardware to support specific high level features, such as the secure enclave and the neural engine in A11 Bionic to support image post-processing effects and face recognition. This is clearly what Google is trying to do, but in an add-on chip because they're not (yet?) up to designing their own SOC.
So it's not just the the Apple SOCs are faster, the reasons why they are faster are on several different axes. Some SOC vendors apparently say their profit margin lies in shaving off just one or two square millimetres of die size. Market forces like that would never produce a chip like the A11. So really this approach by Google of designing their own custom co-processor, and maybe eventually their own SOCs, could be the only way to close this gap.