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

  • Log In
  • Sign Up

NSTiwari
/
SDXL_LoRA_model

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

Instructions to use NSTiwari/SDXL_LoRA_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use NSTiwari/SDXL_LoRA_model 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("NSTiwari/SDXL_LoRA_model")
    
    prompt = "a photo of TOK home"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
SDXL_LoRA_model
23.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
NSTiwari's picture
NSTiwari
End of training
0f057dd verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    866 Bytes
    End of training over 2 years ago
  • pytorch_lora_weights_00.safetensors
    23.4 MB
    xet
    End of training over 2 years ago