Skip to content

Commit a7f9926

Browse files
authored
[Model] add flux2 klein (#809)
Signed-off-by: David Chen <530634352@qq.com>
1 parent 43ec7f7 commit a7f9926

5 files changed

Lines changed: 1710 additions & 0 deletions

File tree

docs/models/supported_models.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ th {
3232
|`LongcatImagePipeline` | LongCat-Image | `meituan-longcat/LongCat-Image` |
3333
|`LongCatImageEditPipeline` | LongCat-Image-Edit | `meituan-longcat/LongCat-Image-Edit` |
3434
|`StableDiffusion3Pipeline` | Stable-Diffusion-3 | `stabilityai/stable-diffusion-3.5-medium` |
35+
|`Flux2KleinPipeline` | FLUX.2-klein | `black-forest-labs/FLUX.2-klein-4B`, `black-forest-labs/FLUX.2-klein-9B` |
3536
|`StableAudioPipeline` | Stable-Audio-Open | `stabilityai/stable-audio-open-1.0` |
3637

3738

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3+
"""Flux2 klein diffusion model components."""
4+
5+
from vllm_omni.diffusion.models.flux2_klein.flux2_klein_transformer import (
6+
Flux2Transformer2DModel,
7+
)
8+
from vllm_omni.diffusion.models.flux2_klein.pipeline_flux2_klein import (
9+
Flux2KleinPipeline,
10+
get_flux2_klein_post_process_func,
11+
)
12+
13+
__all__ = [
14+
"Flux2KleinPipeline",
15+
"Flux2Transformer2DModel",
16+
"get_flux2_klein_post_process_func",
17+
]

0 commit comments

Comments
 (0)