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

nikad
/
lora-trained-xl

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

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

  • Libraries
  • Diffusers

    How to use nikad/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("stabilityai/stable-diffusion-xl-base-0.9", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("nikad/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
102 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nikad's picture
nikad
End of training
c9d456f 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
    661 Bytes
    End of training almost 3 years ago
  • image_0.png
    1.77 MB
    xet
    End of training almost 3 years ago
  • image_1.png
    1.66 MB
    xet
    End of training almost 3 years ago
  • image_2.png
    1.73 MB
    xet
    End of training almost 3 years ago
  • image_3.png
    1.68 MB
    xet
    End of training almost 3 years ago
  • inference.py
    486 Bytes
    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