Run this model with HF Jobs
Run AdamLucek/FLUX.1-dev-lora-adaml on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AdamLucek/FLUX.1-dev-lora-adaml. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AdamLucek/FLUX.1-dev-lora-adaml on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use AdamLucek/FLUX.1-dev-lora-adaml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AdamLucek/FLUX.1-dev-lora-adaml 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("AdamLucek/FLUX.1-dev-lora-adaml") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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("AdamLucek/FLUX.1-dev-lora-adaml")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Flux.1-Dev LoRA Adapter Trained on Me
LoRA Adapter for black-forest-labs/FLUX.1-dev trained on pictures of me with ai-toolkit
Model Details
Some Amusing Examples

LoRA was trained with the trigger phrase 4d4m luc3k
Full training config available at train_lora_flux_me.yaml
Usage
With diffusers package
Note: FLUX uses ~70GBvram when loaded directly with diffusers
Note: Recommended to load at ~70% scale for best results
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
pipeline.load_lora_weights("AdamLucek/FLUX.1-dev-lora-adaml", weight_name="flux_lora_Adam.safetensors.safetensors")
pipeline.to("cuda")
prompt = "4d4m luc3k as a DJ in a fancy nightclub wearing sunglasses."
out = pipeline(
prompt=prompt,
guidance_scale=3.5,
num_inference_steps=50,
cross_attention_kwargs={"scale": 0.7}
).images[0]
out.save("adam_flux_lora.png")
ComfyUI Setup
File available at workflow_adamlora.json
Additional Details
Please see base model page black-forest-labs/FLUX.1-dev for all details on appropriate usage, licensing, and more.
- Downloads last month
- 21
Model tree for AdamLucek/FLUX.1-dev-lora-adaml
Base model
black-forest-labs/FLUX.1-dev