Response speed and acceleration

Qwen-Image 2.1 speed on RTX 5090 and Mac

Measure Qwen-Image 2.1 through image saving under matched conditions

Compare Qwen-Image 2.1 generation time alongside resolution, step count, and runtime1. Separating model loading, image generation, and saving makes configuration changes on the same hardware easier to assess. This guide examines the published 5.930-second RTX 5090 result and Mac test conditions, then explains how to time completion through saving the PNG on your hardware.

The 5.930-second result is a median for generating an image and saving a PNG after model setup. Initial memory loading was excluded; prompt2 encoding, denoising, VAE decoding3, and PNG saving were included. Conditions were 1024×1024, 40 steps, seed 42, and CFG4 disabled, across three generations.

Requirements and key details
  • The 5090's 5.93 seconds were measured at 1K and 40 steps on a dedicated LightX2V FP8 path.
  • FP4, NF4, and GGUF Q4 are not the same runtime path even when their bit labels look similar.
  • In the public Mac results Q8 was faster than Q4, but encoder precision also differed.

Public results differ in settings and stop points

The 5.930-second result used LightX2V on an RTX 5090 with FP85 weights, FP166 accumulation, SM120 operators, SageAttention2, and CPU7 offloading8 of the text encoder. The same GPU9 can produce different results with a standard Diffusers setup. Public reports also stop at different points, so check whether saving is included as well as runtime and precision.

Scroll sideways to compare all columns.

All are public 40-step text-to-image results, but conditions differ.
HardwareSetupSizeReported time
RTX 5090LightX2V FP8 / FP16 accumulation1024×10245.930 s
RTX 5090Mesmer FP4 rank 1281024×10247.40 s
RTX 5090Diffusers NF41024×102419.2 s
RTX 4070 Ti SUPER 16GBMesmer INT4 rank 1281024×102422.82 s
M5 Max 36GBComfyUI GGUF Q8 + INT8 encoder1024×1024156 s
M5 Max 36GBComfyUI GGUF Q4 + W4A8 encoder1024×1024218 s
A stopwatch and matching printouts sit beside a computer.
Repeat with matching conditions to compare wait times.

On Mac, Q4's smaller file took longer in one report

ComfyUI Metal10 results on an M5 Max 36 GB reported 156 seconds for Q8 and 218 seconds for Q4 at 1K. Both model quantization11 and encoder precision differed (INT8 versus W4A8), so Q4 alone cannot explain the gap. At 1536 the reports were both around eight minutes; at 2048 they were around eighteen minutes. The Q4 2048 result was one cold run, not a precise ranking.

Inspect the workflow alongside its output

These are Qwen-Image 2.1 examples published by Comfy Org, not outputs or timing measurements produced by this site.

Node map from the official Qwen-Image 2.1 JSON linking resolution selection to the generation subgraph and PNG saving
Connections and defaults from the official JSON, not a UI screenshot. Load the workflow, then select the model files.
Official Qwen-Image 2.1 output of a person with sunglasses and a handbag against lime-green and black-and-white patterns
An official example output. An image alone does not establish generation time or Korean text accuracy.
Input portrait for the official Qwen-Image 2.1 clothing-edit example

Before

Output portrait from the official Qwen-Image 2.1 clothing-edit example

After

Input and output of the official clothing-edit example. Check whether the face and pose are preserved as well as the clothing change.

Source: Comfy Org · MIT license

The 5090 path also requires matching conversion and configuration

LightX2V provides a CUDA12 image and FP8 conversion example for RTX 5090. Point separately to the original model folder and converted DiT13 checkpoint14, and set dit_quantized_ckpt in the configuration plus lightx2v_path and model_path in the script to real paths. Replace /path/to; the commands do not download the entire model automatically.

This path requires a supported environment and lightx2v-kernel with SM120 operators. Copying the script to an RTX 3090 or DGX Spark does not provide the same acceleration; check support and measurement conditions for each device.

LightX2V conversion and run example
python tools/convert/converter.py \
  --source /path/to/Qwen-Image-2.1/transformer \
  --output /path/to/Qwen-Image-2.1-fp8-f16-accum \
  --output_name qwen_image_21_fp8_f16_accum \
  --model_type qwen_image_21_dit \
  --quantization_profile qwen-image-21-fp8-f16-accum \
  --quantized --linear_type fp8 --device cuda:0 --single_file

# Set the checkpoint path in the JSON config and model paths in the script first.
bash scripts/qwen_image_21/qwen_image_21_t2i_fp8_f16_accum_5090.sh
This public path from September 23, 2026, runs after preparing the environment and configuration.

Resolution and GPU count affect the total task differently

Doubling width and height makes four times as many pixels, but public runtimes can grow by more. Diffusers NF4 rose from 19.2 seconds at 1K to 118.8 at 2K; Mac Q8 rose from 156 to 1094 seconds. The site's high-resolution RTX 5090 figures are estimates using a 1K result and scaling from another run, not 2K measurements for that setup. Compose at 1K first and render only final candidates at larger sizes.

Two GPUs may help process multiple images in parallel, but do not automatically halve one image's time. The model and runtime must support distributed inference15, and device transfers add cost. This comparison uses single-GPU paths, so it does not assume summed memory or half the time per image.

Larger images take longer to generate — Qwen-Image 2.1 · 40 steps · published runs by runtime
Left: Diffusers NF4. Right: ComfyUI MPS with GGUF Q8. Compare resolution changes within each runtime.
The same plant is printed in a small and a large square.
Doubling each side produces four times the pixels.

Measure the same task through PNG saving

Record initial model loading separately. After a warm-up, run the same prompt, seed, resolution, and step count three times and calculate the median. Note offloading and encoder precision and verify them in logs. Keep the stop point consistent: computation-log completion or a saved PNG that opens.

The site's RTX 5090 reference uses the public LightX2V result; other NVIDIA devices use relative estimates from standard NF4, while Mac uses separate GGUF16 reports and chip-specific estimate ranges. No figure was invented for GB10 or swap-dominated conditions without evidence. Before buying, look for raw results or reproducible demonstrations with the same configuration and settings.

A silver compact computer and a dark GPU PC share a desk.
Image volume and frequency affect hardware choice.

Compare Qwen image variants by steps and quantization

Qwen-Image 2.1 base, Turbo, GGUF, and Pruna are different execution paths with different file formats and step counts. Do not compare figures unless resolution, steps, runtime, and GPU are all stated. First verify that the variant and application support the output you need, such as rendered text, reference editing, or transparency. Do not transfer timings or optimization ratios from 2512 to 2.1.

Read official timings only within their stated setup

For every repository timing, record the GPU, resolution, steps, precision, and whether warm-up is excluded. When Pruna’s 5 or 8 steps, Turbo’s 8, and Base’s 40 differ, compare output quality and task alongside runtime. Leave any metric the source does not publish blank or marked ‘not reported’; do not infer it.

Terminology notes

  1. Runtime — The software environment that provides facilities needed while a program runs. In local AI, it can also refer to a model execution engine.

    Back to the text
  2. Prompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.

    Back to the text
  3. Image and audio decoding — The stage that reconstructs image pixels or playable audio from a compressed internal representation.

    Back to the text
  4. CFG — A technique that combines conditioned and unconditioned predictions to adjust how generation follows its input. Distilled models may require it to be disabled; recommended values vary by model.

    Back to the text
  5. FP8 — A floating-point format that represents each value with 8 bits.

    Back to the text
  6. FP16 — A 16-bit floating-point format. It uses the same bit width as BF16 but allocates bits differently between exponent and significand.

    Back to the text
  7. CPU — The central processor that runs the operating system and general-purpose instructions; in AI workloads it also handles tasks such as preprocessing and data movement.

    Back to the text
  8. Offloading — Moving some model data from GPU memory to system RAM or storage when capacity is limited. This adds data transfer.

    Back to the text
  9. GPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.

    Back to the text
  10. Metal — Apple’s low-level technology for graphics and parallel GPU computation.

    Back to the text
  11. Quantization — A way to represent model weights or values with fewer bits, reducing storage and memory use. The coarser representation can also affect accuracy.

    Back to the text
  12. CUDA — A software platform for general-purpose computing on NVIDIA GPUs.

    Back to the text
  13. DiT — Short for Diffusion Transformer: a model architecture that uses a transformer to refine noisy representations across diffusion steps.

    Back to the text
  14. Checkpoint — A file containing saved model weights and related state. Versions or tasks in one model family may use different checkpoints.

    Back to the text
  15. Inference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.

    Back to the text
  16. GGUF — A file format for model data, widely used by llama.cpp-based tools.

    Back to the text

Frequently asked questions

What should you check first in this article?
Compare Qwen-Image 2.1 generation time alongside resolution, step count, and runtime. Separating model loading, image generation, and saving makes configuration changes on the same hardware easier to assess. This guide examines the published 5.930-second RTX 5090 result and Mac test conditions, then explains how to time completion through saving the PNG on your hardware.