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

Disra
/
lora-training

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

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

  • Libraries
  • Diffusers

    How to use Disra/lora-training with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Disra/lora-training")
    
    prompt = "unconditional (blank prompt)"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
lora-training / assets
32 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 26 commits
Disra's picture
Disra
added test images
2eafdfb verified over 1 year ago
  • grid-01.png
    7.58 MB
    xet
    added test images over 1 year ago
  • grid-02.png
    8.07 MB
    xet
    added test images over 1 year ago
  • grid-03.png
    6.96 MB
    xet
    added test images over 1 year ago
  • grid-04.png
    7.04 MB
    xet
    added test images over 1 year ago
  • image_0_0.png
    1.57 MB
    xet
    Validation images auto-generated by SimpleTuner over 1 year ago
  • image_1_0.png
    816 kB
    Validation images auto-generated by SimpleTuner over 1 year ago