Discover and explore top open-source AI tools and projects—updated daily.
Stable Diffusion for Android with NPU acceleration
Top 86.3% on SourcePulse
Local Dream enables Stable Diffusion image generation on Android devices, leveraging Snapdragon NPU acceleration for high performance. It targets users who want to run advanced AI art tools locally on their mobile devices, offering features like text-to-image, image-to-image, and inpainting.
How It Works
The project utilizes the Qualcomm QNN SDK for NPU acceleration, employing W8A16 static quantization for optimal performance on supported Snapdragon chipsets. For broader compatibility, it also supports CPU and GPU inference via the MNN framework, using W8 dynamic quantization and allowing flexible input resolutions.
Quick Start & Requirements
build.sh
or build.bat
) in app/src/main/cpp/
after cloning the repository and configuring SDK paths.Highlighted Details
Maintenance & Community
The project is open-sourced and seeks sponsorship for continued development, model integrations, new features, and bug fixes.
Licensing & Compatibility
The project's licensing is not explicitly stated in the README, but it uses libraries with various open-source licenses (e.g., MIT, Apache 2.0). Commercial use compatibility would require verification of all dependencies.
Limitations & Caveats
NPU acceleration is limited to specific Snapdragon chipsets. High-resolution NPU generation may result in poor image layout. CPU/GPU mode results can vary between devices.
1 month ago
Inactive