Qwen-Image
Collection
1 item • Updated
How to use Rin247/Qwen-Image-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Rin247/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Rin247/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Quantised media packages of Qwen/Qwen-Image-2.1.
MECHA — Model Engineering & Contextual Hearth Assembly
These media packages have been forged and optimized in the MECHA Forge. Each one holds the Denoiser, Text Encoder, and VAE components packaged together for easier deployment.
| Quant | Denoiser | Text encoder | VAE |
|---|---|---|---|
| FP4 | FP4 | FP4 | FP8 |
| FP8 | FP8 | FP8 | FP8 |
| INT4 | INT4 | INT4 | INT8 |
| INT8 | INT8 | INT8 | INT8 |
The VAE is shared between formats: FP4 reuses the FP8 file, INT4 reuses the INT8 file.