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

  • Log In
  • Sign Up

gorkemyurt
/
lora-train

Diffusers
flux
lora
fal
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use gorkemyurt/lora-train 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("gorkemyurt/lora-train")
    
    prompt = "a photo of a man"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
lora-train
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
gorkemyurt's picture
gorkemyurt
Add lora-train.safetensors
ffa196e verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    606 Bytes
    initial commit over 1 year ago
  • lora-train.safetensors
    172 MB
    xet
    Add lora-train.safetensors over 1 year ago