-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tflite Neuron delegate fails to apply NNAPI delegate on MT6893 #12
Comments
For the NN API error: it's returned by NNAPI runtime. You can find the clue in the AOSP NNAPI runtime source code. |
Hi @freedomtan
|
Sorry to hear that. I don't have any Dimensity 1200 phone. Something must be wrong. I have an old Dimesity 1000 device, running Android 10, on my desk, latest Neuron delegate still works on it. Does CLI program, e.g., |
Hi @freedomtan Thanks for the response. I am able to run my app on the Dimensity 9000+. Before that I have a couple of questions: Regards |
|
Hi @freedomtan Thanks for the response.
Regards |
Hi @freedomtan Any updates on the documentation? Regards |
I am trying to run a tflite SR model (few convolution layers & casting layer) on the MT6893 using an Android app with NeuronDelegate ,added as AAR dependency.
I declared the Neurondelegate class like this :
`public NeuronDelegate neuronDelegate;
neuronDelegate = new NeuronDelegate();
......
new Interpreter.Options().addDelegate(neuronDelegate).setNumThreads(4))
`
I get the following logs :
`
I neuron error: Neuron adapter API exists: 0
I Found interface mtk-dsp (version = ACCELERATOR_APUSYS)
I Found interface mtk-gpu (version = ACCELERATOR_APUSYS)
I Found interface mtk-mdla (version = ACCELERATOR_APUSYS)
I Found interface mtk-neuron (version = ACCELERATOR_APUSYS)
I Created TensorFlow Lite delegate for NNAPI.
Internal error: Failed to apply delegate: NN API returned error ANEURALNETWORKS_BAD_DATA at line 4483 while completing NNAPI compilation.
`
So Error here is :
What could be the error here : Is there something wrong with the declaration , if not what could be the error here. ?
Regards
Adarsh
The text was updated successfully, but these errors were encountered: