Repolode
xororz

xororz/local-dream

Android app that runs Stable Diffusion image generation on-device, using Snapdragon NPU acceleration with CPU/GPU fallback.

Stars
3,737
Forks
263
Open issues
100
Last commit
17 hours ago

What is it?

Local Dream is an Android app for running Stable Diffusion models directly on a phone or tablet, without a server. It uses Qualcomm Snapdragon NPUs through the QNN SDK for hardware-accelerated inference, and falls back to CPU or GPU inference through MNN when an NPU is not available.

The project focuses on SD1.5 and SDXL models. SD1.5 runs on Snapdragon NPUs with Hexagon V68 or newer, while SDXL NPU support is limited to Snapdragon 8 Gen 3 and newer devices. CPU/GPU inference also works with imported SDXL MNN packages, though large SDXL models need considerably more memory than SD1.5.

The app is free and open source. Detailed setup and usage guides are hosted on a separate guide site.

Key features

  • 01Runs Stable Diffusion image generation locally on Android devices.
  • 02Uses Qualcomm Snapdragon NPU acceleration via the QNN SDK.
  • 03Falls back to CPU or GPU inference through MNN.
  • 04Supports SD1.5 and SDXL models, with imported SDXL MNN packages for CPU/GPU.

Use cases

  • Generating images from text prompts on a Snapdragon Android phone without cloud services.
  • Running img2img and inpainting workflows offline on mobile hardware.
  • Experimenting with Stable Diffusion models on-device for privacy-sensitive prompts.

Quick start

  1. 1

    Install the app from the official guide site

  2. 2

    Read the user guide for setup instructions

Things to know

  • Android only; no desktop or iOS version.
  • NPU acceleration requires Snapdragon chips with Hexagon V68 or newer, and SDXL needs Snapdragon 8 Gen 3 or newer.
  • SD2.1 is no longer maintained, and the project focuses on SD1.5 and SDXL.
  • Large SDXL models need substantially more memory than SD1.5 on CPU/GPU.

Topics

FAQ

What is local-dream?
Android app that runs Stable Diffusion image generation on-device, using Snapdragon NPU acceleration with CPU/GPU fallback. Local Dream is an Android app for running Stable Diffusion models directly on a phone or tablet, without a server. It uses Qualcomm Snapdragon NPUs through the QNN SDK for hardware-accelerated inference, and falls back to CPU or GPU inference through MNN when an NPU is not available.
Is local-dream free to use? What license does it have?
local-dream is open source under the Other license. Check the license terms before using it in commercial products.
Is local-dream still maintained?
Actively maintained. The last commit to local-dream was on Oct 20, 2026.
What can I use local-dream for?
Generating images from text prompts on a Snapdragon Android phone without cloud services. Running img2img and inpainting workflows offline on mobile hardware. Experimenting with Stable Diffusion models on-device for privacy-sensitive prompts.
How do I install local-dream?
Install the app from the official guide site Read the user guide for setup instructions
Where can I get local-dream?
The source code and installation instructions are on GitHub: https://github.com/xororz/local-dream

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects