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

  • Log In
  • Sign Up

PhoenixGS
/
sd-test-model-lora

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

Instructions to use PhoenixGS/sd-test-model-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use PhoenixGS/sd-test-model-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("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("PhoenixGS/sd-test-model-lora")
    
    prompt = "dog"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
sd-test-model-lora
3.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
PhoenixGS's picture
PhoenixGS
Add generated example (#1)
062c539 verified over 1 year ago
  • images
    Add generated example (#1) over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    469 Bytes
    Add generated example (#1) over 1 year ago
  • pytorch_lora_weights.safetensors
    3.23 MB
    xet
    Add 2 files over 1 year ago