Stable-Diffusion-Android icon indicating copy to clipboard operation
Stable-Diffusion-Android copied to clipboard

NNAPI error, Pixel 8 Pro

Open james-banks opened this issue 1 year ago • 2 comments

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):

  • Device: Pixel 8 Pro
  • OS: Android 14 Beta, 5th March Security update
  • Version: 0.5.6 and 0.6.0

Additional context N/A

james-banks avatar Mar 27 '24 17:03 james-banks

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

KintCark avatar Mar 27 '24 18:03 KintCark

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

nonetrix avatar May 23 '24 07:05 nonetrix