xororz/local-dream
关于
借助 Snapdragon NPU 加速在 Android 设备上运行 Stable Diffusion,同时支持 CPU/GPU 推理。
设计与媒体实测星标增长
- 24小时
- +15
- 7天
- +84
- 15天
- +193
- 1个月
- +353
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Local Dream 
Android Stable Diffusion with Snapdragon NPU acceleration
Also supports CPU/GPU inference

About this Repo
This project is now open sourced and completely free. Hope you enjoy it!
If you like it, please consider sponsor this project.
[!NOTE] Currently focused on SD1.5 and SDXL models. SD2.1 is no longer maintained due to poor quality and limited popularity.
NPU support:
- SD1.5 models are supported on Snapdragon NPUs with Hexagon V68 architecture or newer.
- SDXL models are supported on Snapdragon 8 Gen 3 and newer devices.
CPU/GPU inference supports SD1.5 and imported SDXL MNN packages. Large SDXL models require substantially more memory than SD1.5.
You can join our telegram group for discussion or help with testing.
User Guide
For certain reasons, all guides and documentation have been moved to Guide Site.
Credits & Acknowledgments
Local Dream is built on top of many excellent open-source projects. Sincere thanks to all the authors and contributors whose work made this project possible.
C++ Libraries
- Qualcomm QNN SDK - NPU model execution
- alibaba/MNN - CPU model execution
- happyyzy/stable-diffusion.cpp - Deep performance optimizations for on-device DiT inference
- xtensor-stack - Tensor operations & scheduling
- mlc-ai/tokenizers-cpp - Text tokenization
- yhirose/cpp-httplib - HTTP server
- nothings/stb - Image processing
- facebook/zstd - Model compression
- nlohmann/json - JSON processing
Android Libraries
- square/okhttp - HTTP client
- coil-kt/coil - Image loading & processing
- MoyuruAizawa/Cropify - Image cropping
- AOSP, Material Design, Jetpack Compose - UI framework
Models
- CompVis/stable-diffusion and all other model creators
- xinntao/Real-ESRGAN - Image upscaling
- Kim2091/UltraSharpV2 - Image upscaling
- bhky/opennsfw2 - NSFW content filtering
💖 Support This Project
If you find Local Dream useful, please consider supporting its development:
What Your Support Helps With:
- Additional Models - More AI model integrations
- New Features - Enhanced functionality and capabilities
- Bug Fixes - Continuous improvement and maintenance
Your sponsorship helps maintain and improve Local Dream for everyone!
探索相关项目
加载中…