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

  • Log In
  • Sign Up

jasperai
/
flash-sdxl

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
Model card Files Files and versions
xet
Community
5

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

  • Libraries
  • Diffusers

    How to use jasperai/flash-sdxl 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("jasperai/flash-sdxl")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
flash-sdxl
745 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 27 commits
clementchadebec's picture
clementchadebec
PR : Comfy and LoRA (#5)
84e9360 verified almost 2 years ago
  • comfy
    PR : Comfy and LoRA (#5) almost 2 years ago
  • images
    Upload controlnet.jpg almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • README.md
    6.34 kB
    PR : Comfy and LoRA (#5) almost 2 years ago
  • pytorch_lora_weights.safetensors
    372 MB
    xet
    Add 2 files almost 2 years ago