StableFused
Project description
StableFused
StableFused is a toy library to experiment with Stable Diffusion inspired by 🤗 diffusers and various other sources!
Installation
For usage, install the package from PyPI.
pip install stablefused
For development, fork the repository, clone it and install the package in editable mode.
git clone https://github.com/<YOUR_USERNAME>/stablefused.git
cd stablefused
pip install -e ".[dev]"
Usage
Checkout the examples folder for notebooks 🥰
Contributing
Contributions are welcome! Note that this project is not a serious implementation for training/inference/fine-tuning diffusion models. It is a toy library. I am working on it for fun and experimentation purposes (and because I'm too stupid to modify large codebases and understand what's going on).
As I'm not an expert in this field, I will have probably made a lot of mistakes. If you find any, please open an issue or a PR. I'll be happy to learn from you!
Acknowledgements
The following sources have been very helpful in helping me understand Stable Diffusion. I highly recommend you to check them out!
- 🤗 diffusers
- Karpathy's gist on latent walking
- Nateraw's stable-diffusion-videos
- 🤗 Annotated Diffusion Blog
- Keras CV
- Lillian Weng's Blogs
- Emilio Dorigatti's Blogs
- The AI Summer Diffusion Models Blog
Results
Visualization of diffusion process
These results are generated using the text_to_image notebook. Refer to the notebook for more details and enjoy the denoising process!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stablefused-0.1.2.tar.gz
.
File metadata
- Download URL: stablefused-0.1.2.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e135be130d5f7f69a93cecbd2a18df31b75098ef1e2f71594ebc831e052c55a |
|
MD5 | 7cf8786212b2241dd0f6c9978fdd6beb |
|
BLAKE2b-256 | 73bb5f1d6bf2ff87a8b282a43d24232b80560c6e0ced63bf0d2b388369efc6f8 |
File details
Details for the file stablefused-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: stablefused-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241e20b673a185d79bef7ccc58b57bb1cc008da1953d476627eda05ac21e825f |
|
MD5 | 797c5952f5edea0f3547526c98b2702a |
|
BLAKE2b-256 | 0741d3c055d33829dc4fdd279c0c7dc463f5bb55756175537dcd942a66a75619 |