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
- Draw Things
- DiffusionBee
which folder should I put those file in?
#107
by LPP123 - opened
I got ckpt but I dont know how to use these files, Please help!
where did you get ckpt file?
put the ckpt in a folder name 'models' under stable diffusion
where did you get ckpt file?
from the waifu v1-4, I thought this one is an update, but how can I use this, I only find bin and json in this model.