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

diffusers
/
lora-trained-xl-starbucks

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

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

  • Libraries
  • Diffusers

    How to use diffusers/lora-trained-xl-starbucks 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-starbucks")
    
    prompt = "a photo of sks logo"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
lora-trained-xl-starbucks
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
sayakpaul's picture
sayakpaul HF Staff
patrickvonplaten's picture
patrickvonplaten
Correct license (#1)
9da640d 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
    788 Bytes
    Correct license (#1) almost 3 years ago
  • image_0.png
    1.06 MB
    xet
    End of training almost 3 years ago
  • image_1.png
    1 MB
    xet
    End of training almost 3 years ago
  • image_2.png
    1.15 MB
    xet
    End of training almost 3 years ago
  • image_3.png
    1.07 MB
    xet
    End of training almost 3 years ago
  • pytorch_lora_weights.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    23.7 MB
    xet
    End of training almost 3 years ago