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

  • Log In
  • Sign Up

mitrick2
/
r2-sdxl-lora

Text-to-Image
Diffusers
stable-diffusion-xl
stable-diffusion-xl-diffusers
diffusers-training
lora
template:sd-lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use mitrick2/r2-sdxl-lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("mitrick2/r2-sdxl-lora")
    
    prompt = "Rivian R2 SUV at the entrance to a forest"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
r2-sdxl-lora
98 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mitrick2's picture
mitrick2
Update README.md
01967d9 verified almost 2 years ago
  • .gitattributes
    1.71 kB
    End of training almost 2 years ago
  • README.md
    3.8 kB
    Update README.md almost 2 years ago
  • image_0.png
    1.18 MB
    xet
    End of training almost 2 years ago
  • image_1.png
    1.18 MB
    xet
    End of training almost 2 years ago
  • image_2.png
    1.15 MB
    xet
    End of training almost 2 years ago
  • image_3.png
    1.2 MB
    xet
    End of training almost 2 years ago
  • pytorch_lora_weights.safetensors
    46.6 MB
    xet
    End of training almost 2 years ago
  • r2-sdxl-lora.safetensors
    46.7 MB
    xet
    End of training almost 2 years ago
  • r2-sdxl-lora_emb.safetensors
    16.5 kB
    xet
    End of training almost 2 years ago