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

dminhk
/
dog-example-sdxl-lora

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 dminhk/dog-example-sdxl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use dminhk/dog-example-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("dminhk/dog-example-sdxl-lora")
    
    prompt = "a photo of sks dog"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
dog-example-sdxl-lora
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
dminhk's picture
dminhk
Update README.md
29917f2 almost 3 years ago
  • logs
    End of training almost 3 years ago
  • .gitattributes
    1.75 kB
    Upload 4 files almost 3 years ago
  • README.md
    864 Bytes
    Update README.md 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
  • sks_dog_example_1.png
    1.7 MB
    xet
    Upload 4 files almost 3 years ago
  • sks_dog_example_2.png
    1.71 MB
    xet
    Upload 4 files almost 3 years ago
  • sks_dog_example_3.png
    1.82 MB
    xet
    Upload 4 files almost 3 years ago
  • sks_dog_example_4.png
    1.46 MB
    xet
    Upload 4 files almost 3 years ago