---
title: flux2-klein-4b-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/flux2-klein-4b-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/flux2-klein-4b-4bit.md"
repository: mlx-community/flux2-klein-4b-4bit
last_updated: 2026-05-24
license: apache-2.0
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - black-forest-labs/FLUX.2-klein-4B
base_model_relation: finetune
parameters: 1.3B
tensor_type:
  - F32
  - BF16
  - U32
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 284
stars: 0
tags:
  - mlx
  - mflux
---

# flux2-klein-4b-4bit

> flux2-klein-4b-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/flux2-klein-4b-4bit

mlx-community/flux2-klein-4b-4bit 是 ModelScope 魔搭社区上的 1.3B 参数text-to-image-synthesis模型，采用 apache-2.0 许可，基于 black-forest-labs/FLUX.2-klein-4B 构建。

- **Repository**: mlx-community/flux2-klein-4b-4bit
- **License**: apache-2.0
- **Tasks**: text-to-image-synthesis
- **Parameters**: 1.3B
- **Base model**: black-forest-labs/FLUX.2-klein-4B
- **Tags**: mlx, mflux
- **Downloads**: 284
- **Stars**: 0
- **Last updated**: 2026-05-24

Source: https://www.modelscope.cn/models/mlx-community/flux2-klein-4b-4bit

---

# mlx-community/flux2-klein-4b-4bit

This repository contains the 4-bit quantized weights for `black-forest-labs/FLUX.2-klein-4B`, generated using the `mflux` framework.

**Quantized and Contributed by:** [@lpalbou](https://huggingface.co/lpalbou)

## Usage

You can run this model locally on Apple Silicon using `mflux`:

```bash
pip install mflux

mflux-generate-flux2 --model mlx-community/flux2-klein-4b-4bit --prompt "A beautiful pencil sketch of a landscape" --steps 4 --seed 42
