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

  • Log In
  • Sign Up

ABGroup2
/
ImportLora

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

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

  • Libraries
  • Diffusers

    How to use ABGroup2/ImportLora 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("ABGroup2/ImportLora")
    
    prompt = "a pink crystal gem suspended in space, frstingln illustration"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ImportLora
347 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
ABGroup2's picture
ABGroup2
Update README.md
d14b765 verified over 1 year ago
  • samples
    Add LoRA model and README over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.52 kB
    Update README.md over 1 year ago
  • config.yaml
    1.33 kB
    Add LoRA model and README over 1 year ago
  • flux_train_replicate.safetensors
    172 MB
    xet
    Add LoRA model and README over 1 year ago
  • optimizer.pt

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch.ByteStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    173 MB
    xet
    Add LoRA model and README over 1 year ago