Text-to-Image
Diffusers
English
Chinese
fp8
int8
unsloth
quantized
qwen
image-generation
image-editing
rgba
Instructions to use unsloth/Qwen-Image-2.1-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use unsloth/Qwen-Image-2.1-FP8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("unsloth/Qwen-Image-2.1-FP8", dtype=torch.bfloat16, device_map="cuda") prompt = "Photorealistic photograph of an old movie theater with faded red seats, peeling walls, and a torn screen." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Unsloth Desktop
Ctrl+K