Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

hakurei
/
waifu-diffusion

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
138

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
waifu-diffusion
5.48 GB
Ctrl+K
Ctrl+K
  • 8 contributors
History: 30 commits
unknownh's picture
unknownh
Update README.md
54b25dd over 3 years ago
  • feature_extractor
    add v1-2 weights over 3 years ago
  • safety_checker
    Add WD 1.3 float32 weights over 3 years ago
  • scheduler
    Add WD 1.3 float32 weights over 3 years ago
  • text_encoder
    Add WD 1.3 float32 weights over 3 years ago
  • tokenizer
    add v1-2 weights over 3 years ago
  • unet
    Add WD 1.3 float32 weights over 3 years ago
  • vae
    Add WD 1.3 float32 weights over 3 years ago
  • .gitattributes
    1.61 kB
    Add WD 1.3 float32 weights over 3 years ago
  • README.md
    3.29 kB
    Update README.md over 3 years ago
  • model_index.json
    550 Bytes
    Add WD 1.3 float32 weights over 3 years ago