flux1-fill-dev-fp8 / README.md
cudabenchmarktest's picture
Add files using upload-large-folder tool
bc5ef4d verified
---
license: other
license_name: flux-1-dev-non-commercial-license
license_link: LICENSE
base_model: black-forest-labs/FLUX.1-Fill-dev
pipeline_tag: image-to-image
library_name: diffusers
tags:
- flux
- inpainting
- fp8
- non-commercial
---
# flux1-fill-dev-fp8
Float8 (`e4m3fn`) safetensors of [`black-forest-labs/FLUX.1-Fill-dev`](https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev), prepared for inpainting workloads on consumer GPUs. This repository is an unmodified redistribution of [`boricuapab/flux1-fill-dev-fp8`](https://huggingface.co/boricuapab/flux1-fill-dev-fp8) with an explicit copy of the upstream license added (the source had an empty LICENSE file).
## Files
- `flux1-fill-dev-fp8.safetensors` — single-file fp8 weights (~11 GB)
- `LICENSE` — FLUX.1 [dev] Non-Commercial License text
- `README.md` — this file
## Inference
```python
import torch
from diffusers import FluxFillPipeline
pipe = FluxFillPipeline.from_pretrained(
"cudabenchmarktest/flux1-fill-dev-fp8",
torch_dtype=torch.bfloat16,
).to("cuda")
result = pipe(
prompt="...",
image=init_image,
mask_image=mask_image,
num_inference_steps=28,
guidance_scale=3.5,
).images[0]
```
## License and attribution
Governed by the **FLUX.1 [dev] Non-Commercial License** (see `LICENSE`). Non-commercial use only. Commercial use requires a separate license from Black Forest Labs.
- Original training and release: Black Forest Labs (`black-forest-labs/FLUX.1-Fill-dev`).
- fp8 conversion: `boricuapab` (`boricuapab/flux1-fill-dev-fp8`).
- This redistribution: weights unmodified, LICENSE added, README replaced. No additional modifications.