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

  • Log In
  • Sign Up

black-forest-labs
/
FLUX.1-Depth-dev

Text-to-Image
Diffusers
Safetensors
Diffusion Single File
English
FluxControlPipeline
image-generation
flux
Model card Files Files and versions
xet
Community
5

Instructions to use black-forest-labs/FLUX.1-Depth-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use black-forest-labs/FLUX.1-Depth-dev 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-Depth-dev", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Diffusion Single File

    How to use black-forest-labs/FLUX.1-Depth-dev with Diffusion Single File:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

schnell version?

#5 opened over 1 year ago by
nxfi

clip text encoder, t5, vae are all dtype float32 in diffusers version

#4 opened over 1 year ago by
karby

FLUX Tools Complete Tutorial with SwarmUI: Outpainting, Inpainting, Redux Re-Imagine + Combine Multiple Images, Depth and Canny

🔥🤗 1
#3 opened over 1 year ago by
MonsterMMORPG

Error: ValueError: Trying to set a tensor of shape torch.Size([64]) in "bias" (which has shape torch.Size([128])), this looks incorrect.

➕ 9
1
#2 opened over 1 year ago by
ciretalu
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs