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

  • Log In
  • Sign Up

fal
/
FLUX.2-dev-Turbo

Text-to-Image
Diffusers
English
image-generation
flux
lora
distillation
turbo
Model card Files Files and versions
xet
Community
6

Instructions to use fal/FLUX.2-dev-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use fal/FLUX.2-dev-Turbo 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.2-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("fal/FLUX.2-dev-Turbo")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

missing keys and bad grainy image

1
#6 opened 4 months ago by
jonnytracker

Update the turbo LoRA to v2 for comfyui with better lora key naming.

👍 1
1
#3 opened 4 months ago by
ByteZSzn
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs