Text-to-Image
Diffusers
Safetensors
English
Flux2KleinPipeline
flux2_klein
image-editing
diffusion
quantized
quantfunc
flux
Instructions to use QuantFunc/Klein-4B-Series with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use QuantFunc/Klein-4B-Series with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("QuantFunc/Klein-4B-Series", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| QuantFunc Model License — PLACEHOLDER (replace with your finalized terms) | |
| Copyright (c) 2026 QuantFunc. | |
| IMPORTANT: This is a placeholder notice, not a finalized license and not legal | |
| advice. Replace the body below with your reviewed commercial/redistribution | |
| terms before relying on it. | |
| 1. Upstream base model. The weights in this repository are a quantized | |
| derivative of an upstream base model that is licensed separately under the | |
| Apache License 2.0. A copy of that license is included as LICENSE-APACHE, and | |
| the upstream copyright/attribution notices are retained (see the | |
| "License & Attribution" section of the README). Nothing here diminishes the | |
| rights granted to you in the unmodified upstream model by its Apache-2.0 | |
| license. | |
| 2. QuantFunc artifacts. The QuantFunc-specific contributions in this repository | |
| (the quantized weight artifacts, precision configs, and packaging produced by | |
| the QuantFunc inference engine) are Copyright (c) 2026 QuantFunc. All rights | |
| in those contributions are reserved except as expressly granted by the | |
| upstream Apache-2.0 license for the underlying model or by a separate written | |
| agreement with QuantFunc. | |
| 3. Trademarks. No rights are granted in the "QuantFunc" name or logo, nor in any | |
| third-party trademark (including those of the upstream model authors). | |
| 4. No warranty. THE ARTIFACTS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| EXPRESS OR IMPLIED. IN NO EVENT SHALL QUANTFUNC BE LIABLE FOR ANY CLAIM, | |
| DAMAGES, OR OTHER LIABILITY ARISING FROM THE ARTIFACTS OR THEIR USE. | |
| For licensing inquiries: <add contact>. | |