FLUX.2 [klein] base 9B β€” 8-bit (bitsandbytes LLM.int8)

A quantised copy of black-forest-labs/FLUX.2-klein-base-9B in diffusers format, made for Vision Studio (no-code visual inspection: learning the look of a defect from a few examples and painting new ones onto good parts).

Quantisation: Transformer and text encoder in 8-bit (bitsandbytes LLM.int8); x_embedder, context_embedder, time_guidance_embed and proj_out stay bfloat16; the VAE stays bfloat16.

Load it like the original; the quantisation is stored in the configs (needs bitsandbytes):

import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("benzo86/FLUX.2-klein-base-9B-bnb-int8", torch_dtype=torch.bfloat16)

License

This model is a derivative of black-forest-labs/FLUX.2-klein-base-9B and is distributed under the same FLUX Non-Commercial License (see LICENSE.md). Non-commercial use only; read the license before use.

Downloads last month
29
Safetensors
Model size
9B params
Tensor type
F32
Β·
BF16
Β·
I8
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for benzo86/FLUX.2-klein-base-9B-bnb-int8

Finetuned
(26)
this model