Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

siyarajput
/
FLUX.2-dev-Backup

Image-to-Image
Diffusers
Safetensors
Diffusion Single File
English
Flux2Pipeline
image-generation
image-editing
flux
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use siyarajput/FLUX.2-dev-Backup with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("siyarajput/FLUX.2-dev-Backup", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Diffusion Single File

    How to use siyarajput/FLUX.2-dev-Backup 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
FLUX.2-dev-Backup
178 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 39 commits
siyarajput's picture
siyarajput
Upload vae/diffusion_pytorch_model.safetensors with huggingface_hub
e068306 verified 3 days ago
  • scheduler
    Upload scheduler/scheduler_config.json with huggingface_hub 3 days ago
  • text_encoder
    Upload text_encoder/model.safetensors.index.json with huggingface_hub 3 days ago
  • tokenizer
    Upload tokenizer/tokenizer_config.json with huggingface_hub 3 days ago
  • transformer
    Upload transformer/diffusion_pytorch_model.safetensors.index.json with huggingface_hub 3 days ago
  • vae
    Upload vae/diffusion_pytorch_model.safetensors with huggingface_hub 3 days ago
  • .gitattributes
    1.69 kB
    Upload tokenizer/tokenizer.json with huggingface_hub 3 days ago
  • LICENSE.md
    18.2 kB
    Upload LICENSE.md with huggingface_hub 4 days ago
  • README.md
    9.74 kB
    Upload README.md with huggingface_hub 4 days ago
  • ae.safetensors
    336 MB
    xet
    Upload ae.safetensors with huggingface_hub 4 days ago
  • flux2-dev.safetensors
    64.4 GB
    xet
    Upload flux2-dev.safetensors with huggingface_hub 3 days ago
  • model_index.json
    431 Bytes
    Upload model_index.json with huggingface_hub 3 days ago
  • teaser_editing.png
    11.3 MB
    xet
    Upload teaser_editing.png with huggingface_hub 3 days ago
  • teaser_generation.png
    23.3 MB
    xet
    Upload teaser_generation.png with huggingface_hub 3 days ago