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

  • Log In
  • Sign Up

Duplicated from  Alexzyx/lora-trained-xl-colab

raphael-gl
/
broken_adapter

Text-to-Image
Diffusers
TensorBoard
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use raphael-gl/broken_adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use raphael-gl/broken_adapter with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("raphael-gl/sdxl-base", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("raphael-gl/broken_adapter")
    
    prompt = "a photo of sks dog"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
broken_adapter
23.5 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
raphael-gl's picture
raphael-gl HF Staff
Update README.md
30e9380 over 2 years ago
  • logs
    Duplicate from Alexzyx/lora-trained-xl-colab over 2 years ago
  • .gitattributes
    1.52 kB
    Duplicate from Alexzyx/lora-trained-xl-colab over 2 years ago
  • README.md
    605 Bytes
    Update README.md over 2 years ago
  • pytorch_lora_weights.safetensors
    23.4 MB
    xet
    Duplicate from Alexzyx/lora-trained-xl-colab over 2 years ago