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

  • Log In
  • Sign Up

holwech
/
sdxl-controlnet

Diffusers
Model card Files Files and versions
xet
Community

Instructions to use holwech/sdxl-controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use holwech/sdxl-controlnet with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("holwech/sdxl-controlnet", 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
sdxl-controlnet / depth
2.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Joachim Holwech
Fix config files
605fbb4 over 1 year ago
  • config.json
    1.33 kB
    Fix config files over 1 year ago
  • diffusion_pytorch_model.fp16.safetensors
    2.5 GB
    xet
    Rename subfolders over 1 year ago