Reputation: 123
Is there a way to enable gpu for tensorflowlite for android? I am using inceptionv3 pretrained model with tensorflow lite in android but it takes about 1-1.5 seconds to inference. I checked the android neural network api but it supports only android 8.1 onwards.
Upvotes: 0
Views: 753
Reputation: 171
As far as I know, most of Android phones in the market have Qualcomm Chipsets with Adreno GPU. The interface for Adreno GPU is not yet supported by Qualcomm which means that even if you convert your model to tflite, most of the speedup you get is from Neon optimization and not from GPU. There are plans to support DSP for the next generation of phones but so far there are no phones in the market that support tflite with Qualcomm DSP (HVX). Hope this helps.
Upvotes: 2