---
title: flux2-klein-9b-8bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/flux2-klein-9b-8bit"
md_url: "https://www.modelscope.cn/models/mlx-community/flux2-klein-9b-8bit.md"
repository: mlx-community/flux2-klein-9b-8bit
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-9B
base_model_relation: finetune
parameters: 4.8B
tensor_type:
  - BF16
  - U32
  - F32
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 255
stars: 0
tags:
  - mlx
  - mflux
---

# flux2-klein-9b-8bit

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

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

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

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

---

# mlx-community/flux2-klein-9b-8bit

This repository contains the 8-bit quantized weights for `black-forest-labs/FLUX.2-klein-9B`, 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-9b-8bit --prompt "A beautiful pencil sketch of a landscape" --steps 4 --seed 42
