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
Add explicit reference to the LICENSE
#1
by multimodalart HF Staff - opened
No description provided.
Got it, thanks!
hakurei changed pull request status to merged
Hi @hakurei ! Cool that you are using an OpenRAIL license to distribute the model! However, I would suggest you choose between the BigScience OpenRAIL-M and the CreativeML OpenRAIL-M. The one you chose, the BigScience BLOOM RAIL was specifically drafted for the BLOOM set of models, and your model is based on Stable Diffusion, not BLOOM. It would be also cool if you could include the license in your Spaces!
Thanks in advance and have a nice week🤗
Thanks for bringing it up, I hadn't noticed it! I will be using the CreativeML OpenRAIL-M license as it came with the original base models. I will also be adding the change to the Spaces repo.