Skip to main content

← All model recipe tasks

qwen_image model family

Tasks

Supported architectures and task heads

The Hugging Face values below are copied from checkpoint metadata at the recorded revision. The TRTMC task contract comes from the exact E2E recipe. Architecture identity selects or describes a source graph; it does not imply that TRTMC reproduces every Hugging Face head with the same model_type. For example, an encoder recipe may consume the base model and intentionally return hidden states instead of the checkpoint's pretraining or classification logits.

HF model_typeHF architecture / pipeline classTRTMC task contractExact recipe profiles
QwenImagePipeline
Source: model_index._class_name
Metadata: model_index.json at 75e0b4be04f6
diffusion_media_generation
qwen-image
qwen-image-2512
qwen-image-l0
QwenImageEditPlusPipeline
Source: model_index._class_name
Metadata: model_index.json at 6f3ccc0b56e4
diffusion_media_generation
qwen-image-edit-2511

Declared recipes

Each row comes from a model-owned E2E manifest. It declares a test recipe; it is not a live pass receipt for every hardware target.

RecipeExact Hugging Face checkpointTaskBuild configurationDeclared E2E casesManifest
qwen-imageQwen/Qwen-Imagebf16; single deviceqwen-imagetests/e2e/models/qwen_image/manifests/qwen-image.json
qwen-image-2512Qwen/Qwen-Image-2512bf16; single deviceqwen-image-2512tests/e2e/models/qwen_image/manifests/qwen-image-2512.json
qwen-image-edit-2511Qwen/Qwen-Image-Edit-2511bf16; single deviceqwen-image-edit-2511tests/e2e/models/qwen_image/manifests/qwen-image-edit-2511.json
qwen-image-l0Qwen/Qwen-Imagebf16; single deviceqwen-image-l0tests/e2e/models/qwen_image/manifests/qwen-image-l0.json

Family-owned configuration

This family does not declare a family-owned --set namespace. Use the explicit CLI options shown below and the shared configuration namespaces documented in Configure Runtime Behavior.

Family-specific CLI contracts

Inputs and options below are filtered by the declared E2E task and the methods and configuration fields used by that family's native runtime implementation. The global CLI parser accepts a wider union of flags; flags absent here are not declared for this family.

trtmc run

Generate an image from a text prompt.

Declared recipes: qwen-image, qwen-image-2512, qwen-image-l0

trtmc run <bundle.bundle> --prompt "<text>" --output <output.png> [generation options]
Supported input or optionRequirementRuntime behavior
--prompt <TEXT>RequiredText conditioning input.
--output <PATH>OptionalOutput PNG path or directory.
--num-images <N>OptionalGenerate an image batch from one prompt.
--prompts-file <PATH>OptionalGenerate one image per line in a prompt file.
--seed <N>OptionalSet the sampling or diffusion seed.
--num-steps <N>OptionalSet the number of diffusion or flow-matching steps.
--guidance-scale <F>OptionalSet classifier-free guidance strength.
--initial-latents-raw <PATH>OptionalLoad packed float32 initial latents.
--negative-prompt <TEXT>OptionalOverride the bundle default negative prompt.
--height <N>OptionalOverride the generated image or video height.
--width <N>OptionalOverride the generated image or video width.
Code basis

Runtime provider: qwen_image

  • include/trtmc/pipeline.h
  • src/cli/main.cpp
  • src/runtime/models/qwen_image/pipeline.cpp
  • src/runtime/models/qwen_image/pipeline.h
  • tests/e2e/models/qwen_image/manifests/qwen-image-2512.json
  • tests/e2e/models/qwen_image/manifests/qwen-image-l0.json
  • tests/e2e/models/qwen_image/manifests/qwen-image.json

trtmc run

Generate or edit an image from an input image and text prompt.

Declared recipes: qwen-image-edit-2511

trtmc run <bundle.bundle> --prompt "<text>" --image <input.png> --output <output.png> [generation options]
Supported input or optionRequirementRuntime behavior
--prompt <TEXT>RequiredText conditioning input.
--image <PATH>RequiredImage conditioning input implemented by the runtime overload.
--output <PATH>OptionalOutput PNG path or directory.
--seed <N>OptionalSet the sampling or diffusion seed.
--num-steps <N>OptionalSet the number of diffusion or flow-matching steps.
--guidance-scale <F>OptionalSet classifier-free guidance strength.
--initial-latents-raw <PATH>OptionalLoad packed float32 initial latents.
--negative-prompt <TEXT>OptionalOverride the bundle default negative prompt.
--height <N>OptionalOverride the generated image or video height.
--width <N>OptionalOverride the generated image or video width.
Code basis

Runtime provider: qwen_image

  • src/cli/main.cpp
  • include/trtmc/pipeline.h
  • tests/e2e/models/qwen_image/manifests/qwen-image-edit-2511.json
  • src/runtime/models/qwen_image/pipeline.cpp
  • src/runtime/models/qwen_image/pipeline.h

Bundle lifecycle commands

These commands apply to every declared recipe in this family; they do not add task inputs or model capabilities.

trtmc build

Build one exact checkpoint into a TensorRT-Model-Connect bundle.

trtmc build <hf-id> --output <bundle.bundle>

trtmc inspect

Inspect bundle metadata, runtime identity, and packaged sections.

trtmc inspect <bundle.bundle>

See the CLI Reference for all options and limitations.