mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Android error message : internal:Failed to initialize engine: %INVALID_ARGUMENT: Unknown backend

Open siz0001 opened this issue 5 months ago • 0 comments

Hello, I have searched extensively for a solution but have not been able to resolve the issue, so I am writing this message.

I tried running the mediapipe-samples - LLM inference - android example on two devices following the guide:

  1. Galaxy S22 Ultra, GPU: Adreno 730 818 MHz
  2. Galaxy S10e GPU: Mali-G76 MP12
  3. Android 8.1 Device based on ARM Cortex A53 MP Processor, GPU: ARM Mali T820 MP1

Model used: gemma-2b-it-gpu-int8.bin

In environment 1, 2, the model inferred successfully. In environment 3, the model displayed an error message saying: "internal: Failed to initialize engine: %INVALID_ARGUMENT: Unknown backend"

I believe this issue occurs because the backend cannot find the GPU. I would like to know what the cause of the issue is and how to resolve it.

siz0001 avatar Sep 17 '24 10:09 siz0001