Diffusers
Safetensors
OrbitQuantComponentArtifact
orbitquant
quantized
diffusion-transformer
8-bit precision
Instructions to use WaveCut/FLUX.2-klein-4B-OrbitQuant-W2A4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/FLUX.2-klein-4B-OrbitQuant-W2A4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/FLUX.2-klein-4B-OrbitQuant-W2A4", 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
| { | |
| "prompt_pack": "image_visual_v1", | |
| "media_type": "image", | |
| "target_policy": "flux2", | |
| "prompts": [ | |
| { | |
| "id": "simple-object", | |
| "category": "simple_object", | |
| "prompt": "A red ceramic mug on a wooden desk, soft daylight, shallow depth of field" | |
| }, | |
| { | |
| "id": "two-object-composition", | |
| "category": "two_object_composition", | |
| "prompt": "Two robots playing chess in a quiet library, one silver and one matte black" | |
| }, | |
| { | |
| "id": "counting", | |
| "category": "counting", | |
| "prompt": "Five glass marbles arranged in a straight line on white paper" | |
| }, | |
| { | |
| "id": "color-binding", | |
| "category": "color_binding", | |
| "prompt": "A blue cube beside a yellow sphere and a green pyramid on a gray table" | |
| }, | |
| { | |
| "id": "spatial-relationship", | |
| "category": "spatial_relationship", | |
| "prompt": "A blue cube to the left of a yellow sphere, both centered in the frame" | |
| }, | |
| { | |
| "id": "long-prompt", | |
| "category": "long_prompt", | |
| "prompt": "A precise editorial photo of a compact robotics workbench with labeled tools, a small oscilloscope, coiled cables, a half-assembled drone, and a warm desk lamp; the scene should remain readable without clutter" | |
| }, | |
| { | |
| "id": "english-text-rendering", | |
| "category": "text_rendering", | |
| "prompt": "A clean street sign with the exact text \"ORBIT QUANT\"" | |
| }, | |
| { | |
| "id": "cyrillic-text-rendering", | |
| "category": "text_rendering", | |
| "prompt": "A handwritten note in Cyrillic that says \"\u041a\u0412\u0410\u041d\u0422\u041e\u0412\u0410\u041d\u0418\u0415\"" | |
| }, | |
| { | |
| "id": "style-heavy", | |
| "category": "style", | |
| "prompt": "A crowded train platform at sunset, documentary photo style, high dynamic range, natural grain, realistic faces, detailed architecture" | |
| }, | |
| { | |
| "id": "occlusion-reflection", | |
| "category": "occlusion_reflection", | |
| "prompt": "A reflective chrome teapot partly hidden behind orange flowers, with the room visible as a coherent reflection on the metal" | |
| } | |
| ] | |
| } | |