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

Leverage Qualcomm APIs

Open cloud-commander opened this issue 1 year ago • 1 comments

Many thanks for a good app, having the ability to perform on-device inference is very welcome.

Unfortunately the time required for each image generation is painful slow.

Qualcomm have recently announced the AI hub that includes specific APIs and models for on device inference.

https://aihub.qualcomm.com/models/stable_diffusion_quantized

Any plans to update the app to take advantage of the Qualcomm announcements?

cloud-commander avatar Feb 28 '24 13:02 cloud-commander

Hi, thanks for your interest in SDAI app and sharing this information.

Looks like this model should be processed using qualcomm neural process sdk, which seems to be closed source and have non-free license. It means that I won't be able to distribute it in FOSS builds (that I publish on GitHub releases and F-Droid), it can only be included in build distributed in Google Play. This kind of feature fragmentation between different build sources may confuse app users.

Also there is another blocker for this, I tried to get their SDK, but this requires qualcomm developer account, for signing up they require my personal data which I am not sure I want to provide for them. Here is a response I got from them:

Screenshot from 2024-02-29 09-36-32

Also I am concerned about some potential restriction they mentioned in their response regarding "Ukraine or other embargoed country", which is unfortunately exactly my case.

ShiftHackZ avatar Feb 29 '24 07:02 ShiftHackZ