Model reference · open weights
Qwen-Image-Bench is an open-weight language model from Qwen. Qwen-Image-Bench (BF16) weighs 54.7 GB; the smallest configuration that runs it is H100 80 GB.
Summary of the Qwen/Qwen-Image-Bench model card, 2026-10-01
What it is
| Released by | Qwen |
|---|---|
| Released | 2026-05-21 |
| Parameters | 27.4B |
| VRAM | 54.7 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | — | — | — | |
| A100 80 GB | 25 | 8 | all 256K | 78.2 GB |
| H100 80 GB | 18 | 6 | 227K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 37 | 12 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 53 | 18 | all 256K | 107 GB |
| H200 141 GB | 89 | 30 | all 256K | 138 GB |
| B200 180 GB | 133 | 45 | all 256K | 176 GB |
| 2× L40S 48 GB tensor parallel | 34 | 11 | all 256K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 35 | 12 | all 256K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 35 | 12 | all 256K | 23.4 GB a card |
| 4× RTX 5090 32 GB tensor parallel | 71 | 24 | all 256K | 31.0 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 57.8 GB | 59.4 GB |
| 5 | 61.1 GB | 69.2 GB |
| 8 | 63.7 GB | 76.6 GB |
| 16 | 70.4 GB | 96.2 GB |
| 32 | 83.9 GB | 135 GB |
| 64 | 111 GB | 214 GB |
One card, with vLLM's small-card settings.
From the model card
A fine-tuned judge model for evaluating text-to-image (T2I) generation quality. Built on top of Qwen3.6-27B, it scores generated images across 5 hierarchical dimensions using structured checklists and outputs JSON-formatted evaluation results.
| Resource | Link |
|---|---|
| 📑 Paper | http://arxiv.org/abs/2605.28091 |
| 📊 Benchmark Dataset (HuggingFace) | https://huggingface.co/datasets/Qwen/Qwen-Image-Bench |
| 📊 Benchmark Dataset (ModelScope) | https://www.modelscope.cn/datasets/Qwen/Qwen-Image-Bench |
| 💻 GitHub | https://github.com/QwenLM/Qwen-Image-Bench |
| 🧑⚖️ Q-Judger Model | https://huggingface.co/Qwen/Qwen-Image-Bench |
| 🧑⚖️ Q-Judger Model | https://modelscope.cn/models/Qwen/Qwen-Image-Bench |
Q-Judger is a vision-language model fine-tuned specifically for automated evaluation of text-to-image generated images. Given a text prompt and a generated image, the model evaluates the image on fine-grained quality criteria organized in a 3-level hierarchy and outputs structured JSON scores.
The model evaluates images across 5 top-level dimensions, each with multiple sub-dimensions:
| Raw Score | Meaning | Mapped Score |
|---|---|---|
| 0 | Fail | 0 |
| 1 | Pass | 60 |
| 2 | Excel | 100 |
| N/A | Not applicable | Excluded |
We validate the judge model against human expert rankings by computing Spearman rank correlation ($\rho$) between the model's rankings and human expert rankings across the five L1 pillars and overall. All correlations are statistically significant ($p < 10^{-4}$, $N = 18$ models).
| Dimension | Spearman $\rho$ |
|---|---|
| Quality | 0.89 |
| Aesthetics | 0.89 |
| Alignment | 0.89 |
| Real-world Fidelity | 0.92 |
| Creative Generation | 0.92 |
| Overall | 0.92 |
git clone https://github.com/QwenLM/Qwen-Image-Bench.git
cd Qwen-Image-Bench
1. Create and activate a virtual environment with uv:
uv venv myenv --python 3.11
source myenv/bin/activate
2. Install PyTorch (select the command matching your CUDA version):
See the official guide: https://pytorch.org/get-started/locally/
3. Install Python dependencies:
uv pip install -r requirements.txt
This installs all required dependencies including ms-swift.
python judge.py \
--input your_data.jsonl \
--model Qwen/Qwen-Image-Bench
Prepare a CSV, JSON, or JSONL file with the following columns:
| Column | Type | Description |
|---|---|---|
ID | int | Prompt identifier (1-1000), must match benchmark metadata |
prompt | str | The text prompt used to generate the image |
image_path | str | Path to the generated image file |
The model outputs a JSON object per dimension, structured as:
{
"Level-2 Dimension": {
"Level-3 Dimension": {"score": 0|1|2|"N/A"}
}
}
Example (Quality dimension):
{
"Realism": {
"Physical Logic": {"score": 1},
"Material Texture": {"score": 2}
},
"Detail": {
"Noise": {"score": 1},
"Edge Clarity": {"score": 1},
"Naturalness": {"score": 1}
},
"Resolution": {
"Resolution": {"score": 2}
}
}
| Argument | Default | Description |
|---|---|---|
--input | (required) | Input CSV/JSON/JSONL with ID, prompt, image_path |
--model | (required) | HuggingFace model ID or local model path |
--hf-bench-repo | - | HF dataset repo for bench metadata |
--local-metadata | - | Local metadata file path (overrides default) |
--max-batch-size | 24 | ms |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.