WIP - not ready
FLUX.3 Klein — OpenVINO INT4
OpenVINO export of black-forest-labs/flux-3-image-klein for local text-to-image generation. This public repository contains the converted OpenVINO components and inference runner; it does not contain the original PyTorch checkpoint. The repo is ungated.
Export details
- Export revision:
29897d55e25a132fa74892ea5ea605168b0da78b. - Size: approximately 4.96 GiB across 37 files.
- Quantization: mixed INT4/INT8 transformer and text encoder; INT8 VAE encoder and decoder. Tokenizer, scheduler, runner, and configs are included.
- Pipeline: FLUX.3 modular Diffusers pipeline with OpenVINO IR components.
- Use: text-to-image generation. The published transformer export is calibrated for text-to-image prompts.
- Validation: includes a fixed-seed 1024×1024 sample. The sample was generated using the OpenVINO text encoder, transformer, and VAE decoder.
The repository includes text_encoder/, transformer/, vae_encoder/, vae_decoder/, tokenizer/, and scheduler/, along with the pipeline indexes and configuration files. Both the XML graphs and their binary weight files are present in the Hub package.
Use
Install the pinned runtime dependencies:
python -m pip install -r requirements.txt
Generate an image directly from the Hub repo:
python infer.py \
--prompt "A cinematic wildlife photograph of a red fox in a snowy pine forest at dawn" \
--height 1024 --width 1024 --steps 16 --seed 42 \
--output fox-openvino.png
The runner downloads this repository on first use. To use an already downloaded copy, pass its directory with --model /path/to/package. Use --torch-device to select the scheduler and image-tensor device and --ov-device to select the OpenVINO device. The default OpenVINO device is CPU.
NVIDIA GPU
With the OpenVINO NVIDIA plugin installed and registered, run:
python infer.py \
--prompt "A cinematic wildlife photograph of a red fox in a snowy pine forest at dawn" \
--height 512 --width 512 --steps 16 --seed 42 \
--ov-device NVIDIA --output fox-nvidia.png
For NVIDIA, the runner applies BF16 compatibility rewrites to the transformer and requests FP32 inference precision. The transformer also requests FP32 inference precision for OpenVINO GPU devices. The NVIDIA path was validated on a Lambda A100 at 512×512 and 1024×1024, both at 16 steps. The 1024×1024 run took 7m57s; Intel GPU behavior has not been independently validated in this environment.


License and source
The source model's FLUX Kommunity License and notice are included as LICENSE.md and NOTICE.md. This conversion is published as an ungated repository; the source license continues to apply. See the included license for its terms.
This is a community OpenVINO conversion, not an official Black Forest Labs or Intel release. FLUX and Black Forest Labs are not affiliated with or endorsing this repository.