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

minimaxir
/
sdxl-wrong-lora

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

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

  • Libraries
  • Diffusers

    How to use minimaxir/sdxl-wrong-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("minimaxir/sdxl-wrong-lora")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
sdxl-wrong-lora
24 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
minimaxir's picture
minimaxir
remove safetensors for now
c2db0c9 over 2 years ago
  • img
    another example almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • .gitignore
    9 Bytes
    image upload test almost 3 years ago
  • README.md
    4.69 kB
    safetensors note over 2 years ago
  • pytorch_lora_weights.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    23.7 MB
    xet
    LoRA almost 3 years ago