Instructions to use Nilaier/Waifu-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nilaier/Waifu-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Nilaier/Waifu-Diffusers", 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
metadata
language:
- en
tags:
- stable-diffusion
- text-to-image
license: unknown
datasets:
- Danbooru2021
inference: true
Repo Overview
A version of Waifu Diffusion v1.4 Float32 Booru 110k model and VAE from Waifu Diffusion v1.4 converted to work with Diffusers library.
^ Extremely long resolution test
Model Description
The current model has been fine-tuned on a Stable Diffusion 2.1 model with 110k anime-styled images using a technique known as aspect ratio bucketing.
That allows Waifu Diffusion v1.4 to handle different resolutions much better than its previous models.
Source
WD v1.4 VAE: https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime2.ckpt


