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

  • Log In
  • Sign Up

camenduru
/
FLUX.1-dev-diffusers

Text-to-Image
Diffusers
Safetensors
FluxPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use camenduru/FLUX.1-dev-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use camenduru/FLUX.1-dev-diffusers with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("camenduru/FLUX.1-dev-diffusers", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
FLUX.1-dev-diffusers / tokenizer
1.59 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
camenduru's picture
camenduru
thanks to black-forest-labs ❤
3530e1d verified over 1 year ago
  • merges.txt
    525 kB
    thanks to black-forest-labs ❤ over 1 year ago
  • special_tokens_map.json
    588 Bytes
    thanks to black-forest-labs ❤ over 1 year ago
  • tokenizer_config.json
    705 Bytes
    thanks to black-forest-labs ❤ over 1 year ago
  • vocab.json
    1.06 MB
    thanks to black-forest-labs ❤ over 1 year ago