Ir para o conteúdo
ModelVerificadoExterno
Baixar

FLUX.2 Klein 9b Kv FP8

flux-non-commercial-license

TipoUNetModelo baseQwen3VersãoFP8Publicador@black-forest-labsBnota

Fonte do modelo

Tipo
UNet
Tamanho do arquivo
9,14 GB
Modelo base
Qwen3
Versão
vFP8
Atualizado
15 de out. de 2026
Parâmetros
9B
Tarefas
Edição de imagem, Imagem para imagem, Texto para imagem
Fonte
Hugging Face

Descrição da fonte

Teaser Teaser Teaser

FLUX.2 [klein] 9B-KV is an optimized variant of FLUX.2 [klein] 9B with KV-cache support for accelerated multi-reference editing. This variant caches key-value pairs from reference images during the first denoising step, eliminating redundant computation in subsequent steps for significantly faster multi-image editing workflows.

For more information about FLUX.2 [klein], please read our blog post.

Key Features

  1. KV-Cache Optimization: Reference image KV pairs are computed once and cached, reducing computation and speeding up inference by up to 2.5 times for multi-reference editing tasks.
  2. All capabilities of FLUX.2 [klein] 9B: sub-second generation, text-to-image, and multi-reference editing in a single unified model.
  3. Ideal for interactive applications and real-time editing pipelines where the same reference images are used across multiple generations.
  4. 9B flow model with 8B Qwen3 text embedder, step-distilled to 4 inference steps.
  5. Available for non-commercial use.

How KV-Caching Works

In standard image editing, reference image tokens are processed at every denoising step. With KV-caching:

  • Step 0: Full forward pass processes reference tokens and extracts their key-value pairs into a cache.
  • Steps 1-3: Cached KV pairs are reused, skipping redundant reference token computation.

This is particularly beneficial when:

  • Editing with multiple reference images
  • Generating variations with the same references
  • Building interactive editing applications

Usage

We provide a reference implementation in our GitHub repository.

API Endpoints

FLUX.2 [klein] 9B-KV is available via the BFL API at bfl.ai.


Limitations

  • This model is not intended or able to provide factual information.
  • While the model can output text, text rendered may be inaccurate or subject to distortion.
  • As a statistical model, this checkpoint may represent or amplify biases observed in the training data.
  • The model may fail to generate output that matches the prompts.
  • Prompt following is heavily influenced by the prompting style.

Out-of-Scope Use

This model and its derivatives may not be used outside the scope of the license, including for unlawful, fraudulent, defamatory, abusive, or otherwise violative purposes as further explained in our Usage Policies.

Hardware

The FLUX.2 [klein] 9B-KV model fits in ~29GB VRAM and is accessible on NVIDIA RTX 5090 and above.


Responsible AI Development

Black Forest Labs is committed to responsible model development and deployment. Prior to releasing FLUX.2 [klein] 9B-KV, we evaluated and mitigated a number of risks, including child sexual abuse material (CSAM) and nonconsensual intimate imagery (NCII). For detailed information about our mitigations, evaluation processes, content provenance features, and policies, please see our post: Capable, Open, and Safe: Combating AI Misuse.

To report safety concerns, contact [email protected].


License

This model falls under the FLUX Non-Commercial License.

Trademarks & IP

This project may contain trademarks or logos for projects, products, or services. Use of Black Forest Labs and FLUX trademarks or logos in modified versions of this project must not cause confusion or imply sponsorship or endorsement. Any use of third-party trademarks, intellectual property or logos are subject to those third-party's policies.

Recursos relacionados

2 conexões

Fontes

1 fonte
Hugging FacePrimárioVersão 8430c03ee457ea86907ed31a009cd56280df003d
huggingface.co/black-forest-labs/FLUX.2-klein-9b-kv-fp8/tree/8430c03ee457ea86907ed31a009cd56280df003d

Verificado 15 de out.

Artefatos de modelo

1 artefato

flux-2-klein-9b-kv-fp8.safetensors

safetensors · FP8 · 9,14 GB · SHA-256 33f7da5625a0…28f1 · Hugging Face

Baixar

Trechos de fonte

3 trechos

--- language: - en license: other license_name: flux-non-commercial-license extra_gated_prompt: >- By clicking "Agree", you agree to the [FLUX Non-Commercial License Agreement](LICENSE.md) and acknowledge the [Acceptable Use Policy](https://bfl.ai/legal/usage-policy). tags: - image-generation - image-editing - flux - diffusion-single-file pipeline_tag: image-to-image library_name: diffusers --- ![Teaser](./realism.jpg) ![Teaser](./editing.jpg) ![Teaser](./others.jpg) `FLUX.2 [klein] 9B-KV` is an optimized variant of FLUX.2 [klein] 9B with **KV-cache support for accelerated multi-reference editing**. This variant caches key-value pairs from reference images during the first denoising step, eliminating redundant computation in subsequent steps for significantly faster multi-image editing workflows. For more information about FLUX.2 [klein], please read our [blog post](https://bfl.ai/blog/flux2-klein-towards-interactive-visual-intelligence). # **Key Features** 1. **KV-Cache Optimization**: Reference image KV pairs are computed once and cached, reducing computation and speeding up inference by up to 2.5 times for multi-reference editing tasks. 2. All capabilities of FLUX.2 [klein] 9B: sub-second generation, text-to-image, and multi-reference editing in a single unified model. 3. Ideal for interactive applications and real-time editing pipelines where the same reference images are used across multiple generations. 4. 9B flow model with 8B Qwen3 text embedder, step-distilled to 4 inference steps. 5. Available for non-commercial use. # **How KV-Caching Works** In standard image editing, reference image tokens are processed at every denoising step. With KV-caching: - **Step 0**: Full forward pass processes reference tokens and extracts their key-value pairs into a cache. - **Steps 1-3**: Cached KV pairs are reused, skipping redundant reference token computation. This is particularly beneficial when: - Editing with multiple reference images - Generating variations with the same references - Building interactive editing applications # **Usage** We provide a reference implementation in our [GitHub repository](https://github.com/black-forest-labs/flux2). ## **API Endpoints** FLUX.2 [klein] 9B-KV is available via the BFL API at [bfl.ai](https://bfl.ai). --- # Limitations - This model is not intended or able to provide factual information. - While t...

Source context: 47440 downloads · 100 likes · Pipeline image-to-image · Library diffusers · Repo black-forest-labs/FLUX.2-klein-9b-kv-fp8

Source context: 52924 downloads · 98 likes · Pipeline image-to-image · Library diffusers · Repo black-forest-labs/FLUX.2-klein-9b-kv-fp8