How to use from the
Use from the
Diffusers library
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-INT4", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Qwen-Image-2.1-INT4

INT4 safetensors media package of Qwen-Image-2.1.

MECHA Forge

MECHA — Model Engineering & Contextual Hearth Assembly

This media package has been forged and optimized in the MECHA Forge. It includes the Denoiser, Text Encoder, and VAE components packaged together for easier deployment.

Quantization Details

  • Base model: Qwen-Image-2.1
  • Format: INT4
  • Components: Denoiser, Text Encoder, VAE
  • VAE: protected from 4-bit; uses INT8 when a 4-bit format is selected
Downloads last month
72
Safetensors
Model size
4B params
Tensor type
I32
·
BF16
·
F16
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including Rin247/Qwen-Image-2.1-INT4