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

  • Log In
  • Sign Up

diffusers
/
lora-trained-xl

Text-to-Image
Diffusers
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
Model card Files Files and versions
xet
Community
1

Instructions to use diffusers/lora-trained-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use diffusers/lora-trained-xl with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("diffusers/stable-diffusion-xl-base-0.9", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("diffusers/lora-trained-xl")
    
    prompt = "a photo of sks dog"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
lora-trained-xl
101 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
sayakpaul's picture
sayakpaul HF Staff
Update README.md
85e5b24 almost 3 years ago
  • checkpoint-500
    End of training almost 3 years ago
  • .gitattributes
    1.71 kB
    End of training almost 3 years ago
  • README.md
    793 Bytes
    Update README.md almost 3 years ago
  • image_0.png
    1.71 MB
    xet
    End of training almost 3 years ago
  • image_1.png
    1.57 MB
    xet
    End of training almost 3 years ago
  • image_2.png
    1.69 MB
    xet
    End of training almost 3 years ago
  • image_3.png
    1.64 MB
    xet
    End of training almost 3 years ago
  • pytorch_lora_weights.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    23.7 MB
    xet
    End of training almost 3 years ago