Instructions to use openvivo/BluePixel-Turbo-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use openvivo/BluePixel-Turbo-INT8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("openvivo/BluePixel-Turbo-INT8", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
BluePixel-Turbo-INT8
Native 4K instruction-based image editing in 4 steps — INT8 weight-only quantized.
Project Page · Paper · Code · Dataset
BluePixel-Turbo-INT8 is an INT8 weight-only quantized variant of BluePixel-Turbo, the distilled image editing model from BluePixel: Toward Native 4K Agentic Image Editing, developed by vivo. It retains the capabilities of the source model — native 4K output, 4-step inference through source-anchored target projection (SATP) — while reducing memory footprint and improving inference efficiency.
- Native 4K output without cascaded super-resolution.
- 4-step inference through source-anchored target projection (SATP), distilled from a 50-step teacher.
- INT8 weight-only quantization of the transformer for lower memory usage and faster inference.
Model Description
This model is derived from openvivo/BluePixel-Turbo by applying INT8 weight-only quantization to the transformer. All other components are byte-identical to the source release:
| Component | Status |
|---|---|
transformer/ |
Quantized — INT8 (see below) |
text_encoder/ (Qwen3, 5 shards) |
Byte-identical to source release |
vae/ (AutoencoderDC) |
Byte-identical to source release |
tokenizer/ |
Byte-identical to source release |
scheduler/ |
Byte-identical to source release |
Quantization details
Quantization is applied to the transformer linear layers only, as recorded in transformer/config.json under quantization_config:
- Method:
int8_weight_only— weights are stored as INT8; activations remain in their original precision and are dequantized on the fly using per-channel scales. - Granularity:
per_output_channel,symmetric. - Coverage: 153 linear layers are quantized (attention projections, feed-forward blocks, modulation and embedding projections). Each quantized tensor is accompanied by a float32
*_scaletensor. The remaining 80 tensors (layer norms, output projections and other sensitive layers) stay in float32. - Result: transformer storage shrinks from 36.3 GB (float32) to 9.1 GB (~4× reduction), with 386 tensors total (153 INT8 weights + 153 scales + 80 float32 tensors).
Note on
torch_dtype. The transformerconfig.jsonrecords"torch_dtype": "bfloat16"as the intended activation dtype at inference time, matching the source checkpoint convention.
Quick Start
Inference instructions for this INT8 release are being finalized and will be published in this section. Until then, please refer to the BluePixel-Turbo model card for background on the pipeline architecture.
Model Versions
| Revision | Transformer weights | Precision | Notes |
|---|---|---|---|
| Source (v2) | ckpt35 (STEP-35) checkpoint |
Float32 | See openvivo/BluePixel-Turbo |
| INT8 (this repo) | ckpt35 + INT8 weight-only quantization |
INT8 / Float32 hybrid | Transformer quantized; all other components unchanged |
Benchmarks
Benchmark results for the INT8 variant are being evaluated and will be published here. Reference results for the source model are available on the project page.
Limitations and License
Intended for image editing with English instructions. Outputs may contain artifacts or unintended changes; review results before use. As a quantized model, INT8 inference may introduce small numerical differences relative to the float32 source model.
Model license
BluePixel-Turbo-INT8 is a quantized derivative of BluePixel-Turbo, which is based on a modified version of FLUX.2 [klein] 9B. The model weights are subject to the FLUX Non-Commercial License.
Rights to use the FLUX Model and its derivatives are granted directly by Black Forest Labs Inc. under that license. See NOTICE for the required attribution.
For commercial licensing, please refer to Black Forest Labs licensing.
Code license
For the license applicable to the BluePixel code repository, see its LICENSE and NOTICE.
- Downloads last month
- 9
Model tree for openvivo/BluePixel-Turbo-INT8
Base model
black-forest-labs/FLUX.2-klein-9B