Skip to main content

← All model recipe tasks

wan_t2v 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
WanPipeline
Source: model_index._class_name
Metadata: model_index.json at 0fad780a534b
diffusion_media_generation
wan21-t2v-1.3b
wan21-t2v-1.3b-l0
wan21-t2v-1.3b-l0-cp4
wan21-t2v-1.3b-l0-tp4

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
wan21-t2v-1.3bWan-AI/Wan2.1-T2V-1.3B-Diffusersfp16; single device
FP32 layers: 24
wan21-t2v-1.3btests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b.json
wan21-t2v-1.3b-l0Wan-AI/Wan2.1-T2V-1.3B-Diffusersfp16; single device
FP32 layers: 24
wan21-t2v-1.3b-l0tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0.json
wan21-t2v-1.3b-l0-cp4Wan-AI/Wan2.1-T2V-1.3B-Diffusersfp16; CP4
FP32 layers: 24
wan21-t2v-1.3b-l0-cp4tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0-cp4.json
wan21-t2v-1.3b-l0-tp4Wan-AI/Wan2.1-T2V-1.3B-Diffusersfamily default; TP4wan21-t2v-1.3b-l0-tp4tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0-tp4.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 generate-video

Generate video frames from a text prompt.

Declared recipes: wan21-t2v-1.3b, wan21-t2v-1.3b-l0, wan21-t2v-1.3b-l0-cp4, wan21-t2v-1.3b-l0-tp4

trtmc generate-video <bundle.bundle> --prompt "<text>" --output <output-dir> [generation options]
Supported input or optionRequirementRuntime behavior
--prompt <TEXT>RequiredText conditioning input.
--output <DIR>OptionalDirectory for generated PNG frames.
--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.
Code basis

Runtime provider: wan

  • include/trtmc/pipeline.h
  • src/cli/main.cpp
  • src/runtime/models/wan/pipeline.cpp
  • src/runtime/models/wan/pipeline.h
  • tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0-cp4.json
  • tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0-tp4.json
  • tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b-l0.json
  • tests/e2e/models/wan_t2v/manifests/wan21-t2v-1.3b.json

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.