---
title: Image21-INT8
canonical_url: "https://www.modelscope.cn/models/iximbox/Image21-INT8"
md_url: "https://www.modelscope.cn/models/iximbox/Image21-INT8.md"
repository: iximbox/Image21-INT8
last_updated: 2026-09-26
license: other
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - Qwen/Qwen-Image-2.1
base_model_relation: quantized
parameters: 16.2B
tensor_type:
  - F32
  - U8
  - I8
  - BF16
library_name:
  - pytorch
  - diffusers
  - safetensors
frameworks:
  - pytorch
language:
  - zh
  - en
downloads: 125
stars: 2
tags:
  - diffusers
  - bitsandbytes
  - int8
  - image-generation
  - image-editing
  - rgba
---

# Image21-INT8

> Image21-INT8 - iximbox 在 ModelScope 开源的模型。Built with Qwen。 由 iximbox 制作的 Qwen-Image-2.1 社区 INT8 量化衍生版本，面向 Diffusers / Python 推理，不属于 Qwen 官方发布。

iximbox/Image21-INT8 是 ModelScope 魔搭社区上的 16.2B 参数text-to-image-synthesis模型，采用 other 许可，基于 Qwen/Qwen-Image-2.1 构建。

- **Repository**: iximbox/Image21-INT8
- **License**: other
- **Tasks**: text-to-image-synthesis
- **Parameters**: 16.2B
- **Base model**: Qwen/Qwen-Image-2.1
- **Tags**: diffusers, bitsandbytes, int8, image-generation, image-editing, rgba
- **Downloads**: 125
- **Stars**: 2
- **Last updated**: 2026-09-26

Source: https://www.modelscope.cn/models/iximbox/Image21-INT8

---

# Image21-INT8

**Built with Qwen。** 由 **iximbox** 制作的
[Qwen-Image-2.1](https://modelscope.cn/models/Qwen/Qwen-Image-2.1)
社区 INT8 量化衍生版本，面向 Diffusers / Python 推理，不属于 Qwen 官方发布。

## 改图评测修订 — 2026-09-24

**权重保持不变。** 本次更新修订改图评测方法和推理入口默认值，保留历史图片、测量记录及实测脚本。

旧编辑复用了源图的 seed 42；随机流和潜变量形状也一致时，可能重放源图噪声，干扰质量判断。
参见已更正的 [Diffusers #14824](https://github.com/huggingface/diffusers/issues/14824)。
在本地 2048px 分块对照中，仅换种子仍有瑕疵，因此撤回此前统一推荐 2048px 的建议。

**短竖状污损已定位到该 2048px 样例的 VAE 分块解码。** 同一潜变量、同一 VAE checkpoint，
关闭分块后明显污损消失，FP32 保持分块仍有污损。关闭分块并未恢复失败编辑中丢失的枝干和
粗糙鸟体细节，后者属于其他阶段的问题。因此质量评测默认关闭 VAE 分块。

修订组包含五类用例 × 两个独立编辑种子（1000042 / 1000123），成对比较 BF16/INT8；
面积尺度 1024px、40 步、CFG=1、KV cache、模型 CPU 卸载、不分块 VAE。
新增真实透明背景移除和保持原图控制，所有结果均保留。
[evaluation/editing-v2](evaluation/editing-v2) 附带原始 RGBA、alpha 图、黑/白/棋盘底对照、
哈希、调度轨迹和解码潜变量。请查看[逐图审计](evaluation/editing-v2/AUDIT.md)，
也可连同图片目录下载 [comparison.html](evaluation/editing-v2/comparison.html) 后本地打开。

输出未做去噪、锐化或透明边缘清理。本次为非正式样例评测，不是官方成绩，也不保证所有瑕疵均已消除。
由于开启了潜变量保存诊断，本次不据记录耗时作性能或加速结论。

新样例中，雪林替换保留了鸟和枝干，背景移除也产生真实透明通道。但保持能力仍有限：
保持原图控制的 seed 1000123 在两种精度下都把绿色苹果改成了黄色，该失败结果完整保留。

编辑请使用与源图独立的种子：

```bash
python -m scripts.infer --model . --input input.png --source-seed 42 --seed 1000042 --resolution 1024 --prompt "只将蓝色毛衣改为红色，保持人物、光线和背景不变。" --output edit.png
```

不知道源图种子时省略 `--source-seed`。显式种子不会被暗中修改，已知冲突会报错。
省略宽高时保持最后一张输入的宽高比；`--resolution` 控制参考图面积尺度，显式成对的
`--width` / `--height` 控制输出尺寸。VAE 分块仍可按显存需要启用，不保证提升质量。

下文继续保留历史 v1 测评，其生成耗时不与本次修订改图组混合统计。


### 修订评测全部样例

| Case / seed | Input | BF16 | INT8 |
|---|---|---|---|
| portrait_recolor / 1000042 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fportrait_recolor.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fportrait_recolor.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fportrait_recolor-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fportrait_recolor-s1000042.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fportrait_recolor-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fportrait_recolor-s1000042.png) |
| portrait_recolor / 1000123 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fportrait_recolor.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fportrait_recolor.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fportrait_recolor-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fportrait_recolor-s1000123.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fportrait_recolor-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fportrait_recolor-s1000123.png) |
| cup_material / 1000042 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_material-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_material-s1000042.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_material-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_material-s1000042.png) |
| cup_material / 1000123 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_material-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_material-s1000123.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_material-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_material-s1000123.png) |
| bird_background / 1000042 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_background-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_background-s1000042.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_background-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_background-s1000042.png) |
| bird_background / 1000123 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_background-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_background-s1000123.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_background-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_background-s1000123.png) |
| bird_remove_background / 1000042 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_remove_background-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_remove_background-s1000042.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_remove_background-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_remove_background-s1000042.png) |
| bird_remove_background / 1000123 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fbird_background.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_remove_background-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fbird_remove_background-s1000123.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_remove_background-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fbird_remove_background-s1000123.png) |
| cup_identity / 1000042 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_identity-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_identity-s1000042.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_identity-s1000042.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_identity-s1000042.png) |
| cup_identity / 1000123 | [![Input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Finputs%2Fcup_material.png) | [![BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_identity-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fbf16%2Fcup_identity-s1000123.png) | [![INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_identity-s1000123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting-v2%2Fint8%2Fcup_identity-s1000123.png) |


## 量化说明

基模型固定版本：`b3179ad355be050328e483a9dfdd9e60cd62adfa`（Hugging Face）。
两平台官方权重经过 SHA256 一致性核验。

生成 Transformer 与 Qwen3-VL 文本编码器中适用的线性层采用
**bitsandbytes LLM.int8**，离群值阈值为 **6.0**。这属于混合精度推理：
离群值计算使用浮点精度，VAE、归一化、嵌入、视觉编码器、输出头及排除的
条件投影层保留浮点精度。具体覆盖范围见两个组件的量化 JSON 报告。
未进行微调，无需校准数据集。此模型不是全链路 W8A8、FP8 或 GGUF 模型。
体积减小不等于推理加速，速度以实际测评为准。

## 安装与使用

测试环境为 Python 3.13、PyTorch 2.10.0+cu128 和 RTX 5090。
`requirements.txt` 固定了本次验证使用的官方 Diffusers 提交及主要依赖。

```bash
pip install torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
```

```python
import torch
import sys
from modelscope import snapshot_download

model_dir = snapshot_download("iximbox/Image21-INT8")
sys.path.insert(0, model_dir)  # 仓库附带、可查看的 scripts/runtime.py
from scripts.runtime import load_int8_pipeline
pipe = load_int8_pipeline(model_dir, local_files_only=True)
image = pipe(
    prompt='一张咖啡馆海报，清晰写着“慢下来，喝杯咖啡”，暖色摄影',
    width=1024, height=1024, num_inference_steps=40,
    true_cfg_scale=1.0, use_kv_cache=True,
    generator=torch.Generator("cpu").manual_seed(42),
).images[0]
image.save("output.png")
```

加载时会自动读取已保存的量化配置，无需再次指定量化参数。
图像编辑请使用顶部修订方案：独立编辑种子、1024px 起步，详见 EDITING_UPDATE.md。
透明图生成使用官方 RGBA 提示词格式，并保存为 PNG 以保留透明通道。

在固定版本环境下请使用仓库附带的加载函数：它依次加载并卸载两个 INT8 组件，
同时在 CPU 卸载时移动量化层的辅助张量。仅调用 `enable_model_cpu_offload()`
会在本次测试的软件组合中留下 INT8 CUDA 张量。该加载函数不修改权重或量化方式。

## 可视化 Web 应用

另行开源的 [IMGEN](https://github.com/iXimNet/IMGEN) 支持使用 BF16、INT8 和 INT4 模型进行生图与改图。安装与使用说明见其 GitHub 仓库。

## 随模型发布的非正式测评报告

**本次测评由社区发布者自行开展，仅供参考，不代表 Qwen、Hugging Face、ModelScope 及其团队的任何官方评价。** 结果来自单一软硬件配置下的少量自选样本，不属于标准榜单成绩，也不构成质量、速度或显存需求的保证。

在 RTX 5090 上完成 7 类用例、14 对输出，分辨率为 1024×1024。

| 指标 | BF16 | INT8 |
|---|---:|---:|
| 权重体积（十进制 GB） | 33.116 | 18.632 |
| 平均调用耗时（秒） | 26.44 | 20.21 |
| CUDA 已分配显存最高值（GiB） | 19.08 | 12.09 |

**历史 v1 观察（种子重用使编辑结论存在混淆）：** 两种精度的 1024px 毛衣改色均有明显过度锐化和对比度变化，所检查的中文海报均添加了多余页脚文字，2048px 雪林背景替换在两种精度中也均未达到目标。下文保留这些失败结果。像素差异仅反映偏移，不能等同于语义质量；本次不提供官方分数、盲测偏好、OCR、CLIP 或 FID 成绩。大量多图参考、其他显卡／注意力后端及 ComfyUI 兼容性不在本次测评范围内。

### 全部对照样图、提示词与观察

每组左侧为 BF16，右侧为保存后重新加载的 INT8；同一组使用相同提示词与种子。七类主评测的定性观察主要基于种子 42；补充肖像的两个种子均已检查。这不是盲测偏好研究或 OCR／CLIP／FID 评分。

#### 中国年轻成年女性肖像（补充）

实测原始提示词：

```text
一张写实摄影风格的中国年轻成年女性肖像，人物明确为25岁成年人。黑色及肩直发，穿着米白色圆领针织衫，胸部以上构图，正面看向镜头，神情自然放松，轻微微笑。窗边柔和的自然日光，浅灰色简洁背景，真实自然的皮肤纹理和少量雀斑，淡妆，不过度磨皮。85mm人像摄影，浅景深，色彩自然，画面中没有文字。
```

两个种子的大体构图、衣着和窗边光线相近，表情、面部轮廓、皮肤纹理和发丝有变化。检查的四张图未见明显面部结构畸变；这不是身份保持评分。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![中国年轻成年女性肖像（补充） · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fbf16%2Fyoung_chinese_woman-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fbf16%2Fyoung_chinese_woman-s42.png) | [![中国年轻成年女性肖像（补充） · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fint8%2Fyoung_chinese_woman-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fint8%2Fyoung_chinese_woman-s42.png) |

SHA256 前 12 位: BF16 `00716ad4721f` / INT8 `5ffeb0f35bf0`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![中国年轻成年女性肖像（补充） · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fbf16%2Fyoung_chinese_woman-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fbf16%2Fyoung_chinese_woman-s123.png) | [![中国年轻成年女性肖像（补充） · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fint8%2Fyoung_chinese_woman-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fyoung_woman%2Fint8%2Fyoung_chinese_woman-s123.png) |

SHA256 前 12 位: BF16 `a2f28b40c897` / INT8 `350e800c857e`.

#### 老年女性肖像

实测原始提示词：

```text
A natural documentary portrait of an elderly woman with silver hair and freckles, wearing a blue wool sweater, standing beside a window in soft morning light. Realistic skin texture, gentle expression, waist-up composition.
```

两种精度均保留老年女性、蓝色毛衣与窗边构图；脸部形状、皱纹、取景和织物细节存在偏移。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![老年女性肖像 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fportrait-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fportrait-s42.png) | [![老年女性肖像 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fportrait-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fportrait-s42.png) |

SHA256 前 12 位: BF16 `01e37e178fb0` / INT8 `e37187a2530d`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![老年女性肖像 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fportrait-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fportrait-s123.png) | [![老年女性肖像 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fportrait-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fportrait-s123.png) |

SHA256 前 12 位: BF16 `cff376e50c41` / INT8 `09391672b7aa`.

#### 英文文字生成

实测原始提示词：

```text
A clean editorial poster with a deep blue background. Large exact headline at the top: "CREATE WITH LIGHT". Smaller exact subtitle: "September 2026". A realistic orange desk lamp occupies the lower half. Elegant balanced typography, no additional text.
```

检查样例中的 CREATE WITH LIGHT 和 September 2026 均可读，版式与桌面物件有变化。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![英文文字生成 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fenglish_text-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fenglish_text-s42.png) | [![英文文字生成 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fenglish_text-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fenglish_text-s42.png) |

SHA256 前 12 位: BF16 `ba31b0c8a312` / INT8 `98ea66acd842`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![英文文字生成 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fenglish_text-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fenglish_text-s123.png) | [![英文文字生成 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fenglish_text-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fenglish_text-s123.png) |

SHA256 前 12 位: BF16 `cf5e76dee9f0` / INT8 `b55551e7c179`.

#### 中文文字生成

实测原始提示词：

```text
设计一张现代咖啡馆海报，米白背景，中央一杯拉花拿铁。顶部准确写上中文大标题“慢下来，喝杯咖啡”，下方准确写上“小店今日营业”。文字清晰，留白充分，暖色摄影，不添加其他文字。
```

检查样例的主标题与副标题均可读，但两种精度都添加了多余、部分不通顺的页脚文字，没有完全遵守“不添加其他文字”。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![中文文字生成 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fchinese_text-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fchinese_text-s42.png) | [![中文文字生成 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fchinese_text-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fchinese_text-s42.png) |

SHA256 前 12 位: BF16 `7082cb71d997` / INT8 `dce2de1e3b8b`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![中文文字生成 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fchinese_text-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fchinese_text-s123.png) | [![中文文字生成 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fchinese_text-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fchinese_text-s123.png) |

SHA256 前 12 位: BF16 `eae74256d7ed` / INT8 `7ff8508a9454`.

#### 物体数量与空间关系

实测原始提示词：

```text
A studio photograph on a light gray tabletop: exactly three ceramic cups in a row, a red cup on the left, a blue cup in the middle, and a yellow cup on the right. A single green apple sits in front of the blue cup. Soft shadows, no text.
```

两种精度均呈现红、蓝、黄三杯的顺序及蓝杯前的一个绿苹果；物体大小和间距存在变化。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![物体数量与空间关系 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fcomposition-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fcomposition-s42.png) | [![物体数量与空间关系 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fcomposition-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fcomposition-s42.png) |

SHA256 前 12 位: BF16 `91e967685fbb` / INT8 `5704252c99e7`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![物体数量与空间关系 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fcomposition-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fcomposition-s123.png) | [![物体数量与空间关系 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fcomposition-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fcomposition-s123.png) |

SHA256 前 12 位: BF16 `bc11612f260a` / INT8 `c030c007a9c3`.

#### 羽毛与枝干纹理

实测原始提示词：

```text
Macro photography of a small kingfisher perched on a mossy branch beside clear water, detailed blue feathers, droplets, natural sunlight, softly blurred forest background, realistic textures.
```

两种精度都生成了合理的翠鸟形象；头部角度、枝干朝向与羽毛纹理明显变化。像素差异本身不能证明语义质量更差。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![羽毛与枝干纹理 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Ftexture-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Ftexture-s42.png) | [![羽毛与枝干纹理 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Ftexture-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Ftexture-s42.png) |

SHA256 前 12 位: BF16 `40a0f73bb407` / INT8 `37042d165914`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![羽毛与枝干纹理 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Ftexture-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Ftexture-s123.png) | [![羽毛与枝干纹理 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Ftexture-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Ftexture-s123.png) |

SHA256 前 12 位: BF16 `18c4403f388d` / INT8 `82fc88d5ab3c`.

#### RGBA 透明图

实测原始提示词：

```text
This is an RGBA image with transparency. A cute cartoon dragon sticker, full body, green scales and small orange wings. The image has alpha channel and the background is transparent.
```

两种精度均有真实变化的 alpha 通道和白色贴纸轮廓。抽查背景 alpha 为 0–1/255，主体不透明。网页底色不属于 PNG 内容；可点击原图检查透明通道。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![RGBA 透明图 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Frgba-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Frgba-s42.png) | [![RGBA 透明图 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Frgba-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Frgba-s42.png) |

SHA256 前 12 位: BF16 `6f5dfea6ba02` / INT8 `8624d495fe40`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![RGBA 透明图 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Frgba-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Frgba-s123.png) | [![RGBA 透明图 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Frgba-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Frgba-s123.png) |

SHA256 前 12 位: BF16 `6f1abbb1a64a` / INT8 `4871aab8f9d4`.

#### 图像编辑：毛衣改色

实测原始提示词：

```text
Change only the blue sweater to a red sweater. Preserve the same person, face, pose, lighting and background.
```

两种精度都把毛衣改为红色／酒红色，但整幅图像均出现明显过度锐化和对比度、纹理变化，未忠实保持原光线和皮肤质感。尚未确定原因，也不能将问题单独归因于 INT8。

两种精度均使用[同一张 BF16 肖像输入](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fportrait-s42.png)。

**种子 42**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![图像编辑：毛衣改色 · BF16 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fedit-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fedit-s42.png) | [![图像编辑：毛衣改色 · INT8 · seed 42](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fedit-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fedit-s42.png) |

SHA256 前 12 位: BF16 `8713f6ef2ec0` / INT8 `79725e243ccf`.

**种子 123**

| BF16 · 点击查看原尺寸 PNG | INT8 · 点击查看原尺寸 PNG |
|---|---|
| [![图像编辑：毛衣改色 · BF16 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fedit-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fbf16%2Fedit-s123.png) | [![图像编辑：毛衣改色 · INT8 · seed 123](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fedit-s123.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fint8%2Fedit-s123.png) |

SHA256 前 12 位: BF16 `7d00c5bb7a2b` / INT8 `d8023e34ba10`.



### 历史 2048px 改图对比（v1，非当前推荐）

下列四组改图展示共同输入及成对输出；输入均为本次测评的 BF16 生成图。输出统一为 2048×2048、40 步、种子 42、CFG=1，启用 KV 缓存与按模型 CPU 卸载；两种精度均开启默认 VAE 分块（最小块 256px、步幅 192px）。流水线按 output_resolution=2048 处理 1024px 输入 PNG。点击任意样图可打开完整原图。

1024px 毛衣改色虽完成颜色变化，但未保持原图质感；2048px 配合分块时，两种精度均较好保留柔和光线与皮肤纹理。RGB 输入、关闭 KV 缓存及 1024px 分块尝试未明显改善该失败；一次未分块的 2048px 调用因解码显存受限终止，不计入结果。这些有限尝试尚不能确定根因或证明所有改图任务均可靠。

#### 老年女性：蓝色毛衣改为红色

**Prompt:** Change only the blue sweater to a red sweater. Preserve the same person, face, pose, lighting and background.

| 共同输入 | BF16 | INT8 |
|---|---|---|
| [![老年女性：蓝色毛衣改为红色 input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Finput.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Finput.png) | [![老年女性：蓝色毛衣改为红色 BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Fbf16-native-tiled%2Fedit_native.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Fbf16-native-tiled%2Fedit_native.png) | [![老年女性：蓝色毛衣改为红色 INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Fint8-native-tiled%2Fedit_native.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Faudit%2Fint8-native-tiled%2Fedit_native.png) |

两组均将毛衣改为红色，较好保留柔和光线与自然皮肤质感；面部和织物细节仍有偏移，两组均可见细小彩色痕迹，并非无损保持。

#### 成年女性：米白毛衣改为藏蓝

**Prompt:** Change only the cream sweater to a navy blue sweater. Preserve the same woman, face, hairstyle, pose, lighting and background.

| 共同输入 | BF16 | INT8 |
|---|---|---|
| [![成年女性：米白毛衣改为藏蓝 input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fportrait_recolor.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fportrait_recolor.png) | [![成年女性：米白毛衣改为藏蓝 BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fportrait_recolor-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fportrait_recolor-s42.png) | [![成年女性：米白毛衣改为藏蓝 INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fportrait_recolor-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fportrait_recolor-s42.png) |

两组均将毛衣改为藏蓝色，大体保持人物、姿态、窗边光线与背景。五官、发丝和针织纹理仍有轻微变化，这不是身份保持评分。

#### 物品编辑：陶瓷杯改为拉丝金属

**Prompt:** Change only the middle blue ceramic cup into a brushed silver metal cup. Preserve its shape and position, the red and yellow cups, the green apple, the tabletop, lighting and background.

| 共同输入 | BF16 | INT8 |
|---|---|---|
| [![物品编辑：陶瓷杯改为拉丝金属 input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fcup_material.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fcup_material.png) | [![物品编辑：陶瓷杯改为拉丝金属 BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fcup_material-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fcup_material-s42.png) | [![物品编辑：陶瓷杯改为拉丝金属 INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fcup_material-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fcup_material-s42.png) |

两组均将中间杯子呈现为银色拉丝金属外观，大体保持三杯与苹果的排列。杯口、反光和苹果纹理有轻微变化，背景可见细线状痕迹。

#### 背景替换：雪林（未达到目标）

**Prompt:** Replace only the blurred forest background with a softly blurred snowy winter forest. Preserve the same kingfisher, its colors and pose, the mossy branch, framing and foreground lighting.

| 共同输入 | BF16 | INT8 |
|---|---|---|
| [![背景替换：雪林（未达到目标） input](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fbird_background.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Finputs%2Fbird_background.png) | [![背景替换：雪林（未达到目标） BF16](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fbird_background-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fbf16%2Fbird_background-s42.png) | [![背景替换：雪林（未达到目标） INT8](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fbird_background-s42.png)](https://modelscope.cn/api/v1/models/iximbox/Image21-INT8/repo?Revision=master&FilePath=evaluation%2Fediting%2Fint8%2Fbird_background-s42.png) |

两组均未达到编辑目标：苔藓枝干消失，背景大面积变白而非雪林，鸟的摄影细节也明显损失。BF16 与 INT8 均存在此失败，不能将其单独归因于量化。

#### 改图测量（三用例计时组）

女性毛衣改色、杯子材质、翠鸟背景三个用例各在一次完整设置预热后计时，每种精度各调用一次。老年女性毛衣样例来自单独的、含记录开销的冷启动调用，仅作图像展示，耗时不混入本表。本表耗时不宜与 1024px 均值直接比较。

| 用例 | BF16 秒 | INT8 秒 | BF16 分配峰值 GiB | INT8 分配峰值 GiB |
|---|---:|---:|---:|---:|
| portrait_recolor | 201.80 | 194.77 | 26.51 | 21.65 |
| cup_material | 433.99 | 193.33 | 26.52 | 21.66 |
| bird_background | 585.31 | 184.68 | 26.52 | 21.66 |

三个预先声明用例的全部计时输出均在上文展示。视觉观察为主观描述，不属于身份、材质识别或指令遵循的量化评分。

原始记录与复现：[BF16](evaluation/editing/bf16/records.jsonl), [INT8](evaluation/editing/int8/records.jsonl), [summary](evaluation/editing/summary.json), [process isolation](evaluation/editing/process-isolation.jsonl), [cases](benchmarks/editing.json), [measured case-file bytes](evaluation/editing/measured-cases.zip), [runner](scripts/benchmark_edits.py).

仅用于复现历史 v1 的旧参数（包含种子重用与分块伪影风险）；日常编辑请用顶部修订方案：

```python
from PIL import Image
pipe.vae.enable_tiling()
image = pipe(
    prompt="Change only the blue sweater to a red sweater. Preserve the same person, face, pose, lighting and background.",
    image=Image.open("input.png"),
    width=2048, height=2048, output_resolution=2048,
    num_inference_steps=40, true_cfg_scale=1.0, use_kv_cache=True,
    generator=torch.Generator("cpu").manual_seed(42),
).images[0]
image.save("edit.png")
```


### 测量方法与指标详情

1024px 主评测包含七类用例，每类两个种子；成年女性肖像专项与 2048px 改图组单独统计。每种精度使用独立进程，前一进程退出后再启动下一进程，并记录 PID、GPU 进程列表、启动时零分配及逐图 CUDA 基线。两种精度均使用仓库附带的 CPU 卸载辅助函数。

成对调用采用相同输入、提示词、CPU 随机数生成器、种子、尺寸、40 步、CFG=1 和 KV 缓存。计时组各执行一次完整设置预热，不计入结果；先运行 BF16，再运行 INT8，每个用例／种子计时一次，未估计置信区间；桌面后台活动未严格控制，单次耗时仅供参考。耗时包含编码、去噪、解码和 CPU 传输，不包含模型加载及图片写盘。显存为进程内 PyTorch CUDA 已分配／保留峰值，不是整卡占用，也不能等同于最低显卡容量；仅在 RTX 5090 上实测。

### 肖像专项汇总

| 指标 | BF16 | INT8 |
|---|---:|---:|
| 平均调用耗时（秒） | 27.61 | 19.51 |
| 已分配显存最高值（GiB） | 16.44 | 9.53 |

### 每张图片的耗时与显存

| 用例 | 种子 | BF16 秒 | INT8 秒 | BF16 已分配 GiB | INT8 已分配 GiB |
|---|---:|---:|---:|---:|---:|
| 老年女性肖像 | 42 | 28.59 | 19.62 | 16.40 | 9.49 |
| 老年女性肖像 | 123 | 26.07 | 19.48 | 16.40 | 9.49 |
| 英文文字生成 | 42 | 25.42 | 19.54 | 16.41 | 9.50 |
| 英文文字生成 | 123 | 25.66 | 19.68 | 16.41 | 9.50 |
| 中文文字生成 | 42 | 25.62 | 19.61 | 16.41 | 9.50 |
| 中文文字生成 | 123 | 25.46 | 19.61 | 16.41 | 9.50 |
| 物体数量与空间关系 | 42 | 25.39 | 19.32 | 16.41 | 9.49 |
| 物体数量与空间关系 | 123 | 25.48 | 19.15 | 16.41 | 9.49 |
| 羽毛与枝干纹理 | 42 | 25.32 | 19.42 | 16.40 | 9.49 |
| 羽毛与枝干纹理 | 123 | 25.18 | 19.16 | 16.40 | 9.49 |
| RGBA 透明图 | 42 | 25.22 | 19.22 | 16.40 | 9.48 |
| RGBA 透明图 | 123 | 25.54 | 19.22 | 16.40 | 9.48 |
| 图像编辑：毛衣改色 | 42 | 30.79 | 25.07 | 19.08 | 12.09 |
| 图像编辑：毛衣改色 | 123 | 30.46 | 24.81 | 19.08 | 12.09 |
| 中国年轻成年女性肖像（补充） | 42 | 28.58 | 19.58 | 16.44 | 9.53 |
| 中国年轻成年女性肖像（补充） | 123 | 26.63 | 19.44 | 16.44 | 9.53 |

### 像素差异（不能等同于语义质量评分）

RGB MAE 与 PSNR 在白底合成图上计算，避免透明像素中不可见的 RGB 值主导结果；alpha MAE 单独计算。

| 用例 | 种子 | RGB MAE | RGB PSNR dB | Alpha MAE |
|---|---:|---:|---:|---:|
| 老年女性肖像 | 42 | 0.01341 | 31.70 | 0.000046 |
| 老年女性肖像 | 123 | 0.01630 | 30.55 | 0.000180 |
| 英文文字生成 | 42 | 0.02626 | 19.45 | 0.000008 |
| 英文文字生成 | 123 | 0.01180 | 25.83 | 0.000010 |
| 中文文字生成 | 42 | 0.05972 | 15.60 | 0.000108 |
| 中文文字生成 | 123 | 0.02460 | 20.44 | 0.000068 |
| 物体数量与空间关系 | 42 | 0.02268 | 23.67 | 0.000022 |
| 物体数量与空间关系 | 123 | 0.01959 | 22.87 | 0.000035 |
| 羽毛与枝干纹理 | 42 | 0.06978 | 18.02 | 0.000191 |
| 羽毛与枝干纹理 | 123 | 0.01684 | 27.93 | 0.000059 |
| RGBA 透明图 | 42 | 0.01829 | 20.89 | 0.011088 |
| RGBA 透明图 | 123 | 0.04647 | 17.05 | 0.029543 |
| 图像编辑：毛衣改色 | 42 | 0.00971 | 36.48 | 0.000111 |
| 图像编辑：毛衣改色 | 123 | 0.00391 | 43.27 | 0.000026 |
| 中国年轻成年女性肖像（补充） | 42 | 0.01002 | 31.42 | 0.000121 |
| 中国年轻成年女性肖像（补充） | 123 | 0.00631 | 35.94 | 0.000093 |

### 补充内存记录

加载阶段单独记录：BF16 加载到 CPU，CUDA 分配峰值为 0.00 GiB；INT8 使用配套顺序加载函数时为 9.34 GiB。两者均不等于最低支持显卡容量。

保留显存为 PyTorch CUDA 分配器峰值。CPU RSS 为推理后的进程内存快照，不是峰值。

| 用例 | 种子 | BF16 保留 GiB | INT8 保留 GiB | BF16 RSS GiB | INT8 RSS GiB |
|---|---:|---:|---:|---:|---:|
| 老年女性肖像 | 42 | 16.58 | 9.60 | 39.60 | 21.22 |
| 老年女性肖像 | 123 | 16.58 | 9.60 | 42.25 | 21.47 |
| 英文文字生成 | 42 | 16.58 | 9.61 | 43.36 | 21.51 |
| 英文文字生成 | 123 | 16.58 | 9.61 | 44.45 | 21.46 |
| 中文文字生成 | 42 | 16.59 | 9.60 | 45.35 | 21.52 |
| 中文文字生成 | 123 | 16.59 | 9.60 | 46.35 | 21.52 |
| 物体数量与空间关系 | 42 | 16.59 | 9.60 | 46.49 | 21.56 |
| 物体数量与空间关系 | 123 | 16.59 | 9.60 | 47.10 | 21.55 |
| 羽毛与枝干纹理 | 42 | 16.58 | 9.60 | 46.94 | 21.55 |
| 羽毛与枝干纹理 | 123 | 16.58 | 9.60 | 46.99 | 21.54 |
| RGBA 透明图 | 42 | 16.58 | 9.55 | 46.95 | 21.54 |
| RGBA 透明图 | 123 | 16.58 | 9.55 | 47.66 | 21.53 |
| 图像编辑：毛衣改色 | 42 | 20.03 | 12.97 | 48.55 | 22.22 |
| 图像编辑：毛衣改色 | 123 | 20.03 | 12.97 | 48.55 | 22.20 |
| 中国年轻成年女性肖像（补充） | 42 | 16.62 | 9.66 | 39.34 | 21.21 |
| 中国年轻成年女性肖像（补充） | 123 | 16.62 | 9.66 | 42.60 | 21.44 |


### 评测范围与运行环境

主评测七类用例共 14 对，肖像专项另有 2 对。下文完整展示这两套用例的 16 对、32 张原始 PNG。专项数据单独报告，不混入七类均值。

**点击任意样图即可打开原尺寸 PNG 大图。** 所有图片均为实际推理输出，没有裁剪、修图或使用其他模型替代。

| 设置 | 实测记录 |
|---|---|
| GPU | NVIDIA GeForce RTX 5090 |
| 驱动 / 板载显存 | 616.92 / 32607 MiB |
| 系统内存 | 255.5 GiB |
| OS | Windows-11-10.0.26200-SP0 |
| Python / CUDA | 3.13.5 / 12.8 |
| 生成设置 | 1024×1024；40 步；CFG 1.0；启用 KV 缓存 |
| 随机数 / 种子 | CPU torch.Generator；42、123 |
| 卸载 / 注意力 | model CPU offload / 默认 SDPA |
| 预热 / 顺序 | 每个精度、每套用例各一次完整设置预热，不计入结果；先 BF16 后 INT8 |

| 软件包 | 版本 |
|---|---|
| torch | 2.10.0+cu128 |
| torchvision | 0.25.0+cu128 |
| diffusers | 0.41.0.dev0 |
| transformers | 5.17.0 |
| accelerate | 1.15.0 |
| bitsandbytes | 0.50.2 |
| safetensors | 0.8.0 |
| huggingface-hub | 1.32.0 |
| tokenizers | 0.23.2 |
| numpy | 2.2.6 |
| pillow | 12.2.0 |
| psutil | 7.0.0 |


### 机器可读的原始证据

上文已在本卡片内展示评测数据与全部样图；以下原始文件同时保留，便于独立核验：

- [Core CSV](evaluation/comparison.csv) · [Portrait CSV](evaluation/young_woman/comparison.csv)
- [Core BF16 JSONL](evaluation/bf16/records.jsonl) · [Core INT8 JSONL](evaluation/int8/records.jsonl)
- [Portrait BF16 JSONL](evaluation/young_woman/bf16/records.jsonl) · [Portrait INT8 JSONL](evaluation/young_woman/int8/records.jsonl)
- [Core environment](evaluation/bf16/environment.json) · [INT8 environment](evaluation/int8/environment.json)
- [File checksums](MANIFEST.json) · [Quantization provenance](conversion.json)


## 许可证与修改声明

权重沿用 [Qwen Research License Agreement](LICENSE)，仅用于非商业研究与评测；
商业使用需向原许可方另行申请。再分发须保留原协议、归属及修改说明。
详见 [Notice](Notice) 和 [CHANGES.md](CHANGES.md)。

原始模型：[ModelScope](https://modelscope.cn/models/Qwen/Qwen-Image-2.1) |
[Hugging Face](https://huggingface.co/Qwen/Qwen-Image-2.1)。
