Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
10.3 GB
Ctrl+K
Ctrl+K
  • 8 contributors
History: 36 commits
TheGromch's picture
TheGromch
Delete safety_checker
e7ff61b about 3 years ago
  • feature_extractor
    add wd 1.4 anime model over 3 years ago
  • scheduler
    add wd 1.4 anime model over 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model (#116) about 3 years ago
  • tokenizer
    add wd 1.4 anime model over 3 years ago
  • unet
    Adding `safetensors` variant of this model (#116) about 3 years ago
  • vae
    Adding `safetensors` variant of this model (#114) about 3 years ago
  • .gitattributes
    1.9 kB
    Adding `safetensors` variant of this model (#114) about 3 years ago
  • README.md
    3.4 kB
    oops over 3 years ago
  • model_index.json
    577 Bytes
    add wd 1.4 anime model over 3 years ago