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

thibaud
/
sdxl_dpo_turbo

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

Instructions to use thibaud/sdxl_dpo_turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use thibaud/sdxl_dpo_turbo with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("thibaud/sdxl_dpo_turbo", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "rusty robot cartoon"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Recommended settings? Any specific scheduler that works well in few steps?

#2 opened over 2 years ago by
thomash
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs