ShiftHackZ / Stable-Diffusion-Android

Stable Diffusion AI client app for Android
https://sdai.moroz.cc
GNU Affero General Public License v3.0
534 stars 56 forks source link

NNAPI error, Pixel 8 Pro #160

Open james-banks opened 3 months ago

james-banks commented 3 months ago

Describe the bug Error when trying to use NNAPI

To Reproduce Steps to reproduce the behavior:

  1. Using a Pixel 8 Pro on the latest android beta and versions 0.6.0 and 0.5.6 of this app
  2. Turn on NNAPI
  3. Attempt to generate txt2img at various resolutions (512x512, 386x512)
  4. Use previous sole local diffusion model or dreamshaper
  5. Wait 5-10 seconds, and receive an error:
Error

Error code - ORT_EP_FAIL - message: The model cannot run using the current set of target devices, [Name: [google-edgetpu], Type [4]],,

Expected behavior Image generation as occurs when NNAPI is disabled

Screenshots Screenshot_20240327-161943.png

Smartphone (please complete the following information):

Additional context N/A

KintCark commented 3 months ago

My phone does same thing but I figured out that I can't use embedding and can't put steps above 40 or I get device not compatible error

nonetrix commented 1 month ago

Duplicate of https://github.com/ShiftHackZ/Stable-Diffusion-Android/issues/82