Some Flux fine-tuned model
Collection
3 items • Updated
How to use VinitT/Flux.1_Lora-LightningMcQueen 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("VinitT/Flux.1_Lora-LightningMcQueen")
prompt = "lightningmcqueen05, in black and blue color combination"
image = pipe(prompt).images[0]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("VinitT/Flux.1_Lora-LightningMcQueen")
prompt = "lightningmcqueen05, in black and blue color combination"
image = pipe(prompt).images[0]







Base model
black-forest-labs/FLUX.1-dev