--- tags: - text-to-image - lora - diffusers - flux base_model: black-forest-labs/FLUX.1-dev license: creativeml-openrail-m library_name: diffusers --- # Flux.1-Dev LoRA Adapter Trained on Me LoRA Adapter for [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) trained on pictures of me with [ai-toolkit](https://github.com/ostris/ai-toolkit/tree/main) # Model Details **Some Amusing Examples** LoRA was trained with the trigger phrase `4d4m luc3k` Full training config available at [train_lora_flux_me.yaml](./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* ```python 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](workflow_adamlora.json) # Additional Details Please see base model page [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) for all details on appropriate usage, licensing, and more.