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
| metric,value | |
| generated_samples,1 | |
| wall_time_seconds,1.8322792858816683 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.3592595048248768 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.0257483250461519 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.155703438911587 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.1340762916952372 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.3490065545774996 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.3395809759385884 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.3168919398449361 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.2224824507720768 | |
| peak_vram_bytes,18602007552 | |
| generated_samples,1 | |
| wall_time_seconds,1.3608336239121854 | |
| peak_vram_bytes,18602007552 | |