How to use pmczip/FLUX.1-dev_Models 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("pmczip/FLUX.1-dev_Models") prompt = "A portrait of 413xkin65t0n with curly auburn hair, captured in a candid moment. She is positioned against a backdrop of a cityscape, with buildings and trees visible in the distance. Her attire consists of a fitted, short-sleeved top and a plaid skirt. She gazes off to the side with a contemplative expression. The lighting suggests it might be either early morning or late afternoon, casting a soft glow on her freckled face. The overall mood of the image is serene and introspective. " image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!