Instructions to use hakurei/waifu-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hakurei/waifu-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hakurei/waifu-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Add `steps_offset=1` to config to suppress deprecation warning
Hey Waifu-Diffusion! We have introduced a `steps_offset` variable to scheduler configs to have a cleaner API and now want to incentivize SD schedulers to add this to the config as otherwise it'll eventually lead to silent errors. See: https://github.com/huggingface/diffusers/blob/7258dc4943e73b8799003771e86a44424afb996d/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py#L60 Best, Diffusers Team!b5f06b8
-
Fix license
b8e2b62
-
Update README.md (#10)
- Update README.md (8891818646c7e292d6940e8da3afad957640d9ef) Co-authored-by: Multimodal AI art <multimodalart@users.noreply.huggingface.co>364c9bf
-
add notice
9dcd38d
-
add description about gradio in colab (#7)
- add description about gradio in colab (b52fc7fc4052f613a3099ea38bdf250c5cee1ff2) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>d3090d5
-
Update scheduler
1676798
-
update scheduler setting (#3)
- update scheduler setting (f060b02899acec41b028dfa79595a5930345f1bb) - Update README.md (255579ce919616b13f9174e5c9a2e3c102dfc7f5) Co-authored-by: Yuta Hayashibe <shirayu@users.noreply.huggingface.co>63e6c05 -
Add mirror
3e50d29 -
add colab badge to run model with gradio and diffusers (#2)
- add colab badge to run model with gradio and diffusers (77a79b50661de18f461be685586a5a2386de0bea) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>802894b -
Add explicit reference to the LICENSE (#1)
- Add explicit reference to the LICENSE (49a6ceca047467beba2a6970dd5757936564cf75) Co-authored-by: Multimodal AI art <multimodalart@users.noreply.huggingface.co>b4d0e7a -
Update readme
4fc1291 -
fix size
e42477c -
Update README
3c2e359 -
add v1-2 weights
1692f03 -
Remove diffusers weights
23eab1c
-
Update README.md
d126343 -
Fix typo
5bd24c8 -
Update README
c2ea614 -
redo readme
3802058 -
Update README
60ddcb5 -
add weights
8ceb21e -
Fix code syntax
2b70c93 -
Update README
675c8ee -
Update README.md
d54a055
-
Add model card
9e45f8d
-
initial commit
a982013