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

  • Log In
  • Sign Up

daqingliu
/
stable-diffusion-xl

Text-to-Image
Diffusers
Safetensors
StableDiffusionXLPipeline
stable-diffusion
Model card Files Files and versions
xet
Community

Instructions to use daqingliu/stable-diffusion-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use daqingliu/stable-diffusion-xl with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("daqingliu/stable-diffusion-xl", 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
stable-diffusion-xl
28.3 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Daqing from 4090
init
75f9a35 almost 2 years ago
  • scheduler
    init almost 2 years ago
  • text_encoder
    init almost 2 years ago
  • text_encoder_2
    init almost 2 years ago
  • tokenizer
    init almost 2 years ago
  • tokenizer_2
    init almost 2 years ago
  • unet
    init almost 2 years ago
  • vae
    init almost 2 years ago
  • vae_1_0
    init almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • LICENSE.md
    14.1 kB
    init almost 2 years ago
  • README.md
    8.67 kB
    init almost 2 years ago
  • model_index.json
    609 Bytes
    init almost 2 years ago
  • sd_xl_base_1.0.safetensors
    6.94 GB
    xet
    init almost 2 years ago