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

  • Log In
  • Sign Up

amd
/
stable-diffusion-xl-1.0_io32_amdgpu

Text-to-Image
Diffusers
ONNX
ORTStableDiffusionXLPipeline
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Diffusers

    How to use amd/stable-diffusion-xl-1.0_io32_amdgpu with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("amd/stable-diffusion-xl-1.0_io32_amdgpu", 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-1.0_io32_amdgpu / MXR
36.6 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 5 commits
owenzhangzhengzhong's picture
owenzhangzhengzhong
Upload 5 files (#4)
c10d154 verified 5 months ago
  • gfx1100
    gfx1100 cache (#2) 6 months ago
  • gfx1151
    Delete MXR/gfx1151/SDXL(AMDGPU).7z (#3) 6 months ago
  • gfx1201
    Upload 5 files (#4) 5 months ago