Image-to-Image
Diffusers
Safetensors
Diffusion Single File
English
Flux2Pipeline
image-generation
image-editing
flux
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
Commit History
3 days ago
-
Upload text_encoder/model.safetensors.index.json with huggingface_hub
Verified signaturea1b4874 -
Upload text_encoder/model-00010-of-00010.safetensors with huggingface_hub
Verified signature920be62 -
Upload text_encoder/model-00009-of-00010.safetensors with huggingface_hub
Verified signature0c23ba6 -
Upload text_encoder/model-00008-of-00010.safetensors with huggingface_hub
Verified signaturec52156a -
Upload text_encoder/model-00007-of-00010.safetensors with huggingface_hub
Verified signaturef4932f5 -
Upload text_encoder/model-00006-of-00010.safetensors with huggingface_hub
Verified signature0eac0af -
Upload text_encoder/model-00005-of-00010.safetensors with huggingface_hub
Verified signature16c7b14 -
Upload text_encoder/model-00004-of-00010.safetensors with huggingface_hub
Verified signaturecf9e3be -
Upload text_encoder/model-00003-of-00010.safetensors with huggingface_hub
Verified signature2bd5275 -
Upload text_encoder/model-00002-of-00010.safetensors with huggingface_hub
Verified signature96b3844 -
Upload text_encoder/model-00001-of-00010.safetensors with huggingface_hub
Verified signature5b9ee96 -
Upload text_encoder/generation_config.json with huggingface_hub
Verified signaturea261c65 -
Upload text_encoder/config.json with huggingface_hub
Verified signaturebeb51fb