Supported Models#
The following is a table of supported models for the PyTorch backend:
Architecture |
Model |
HuggingFace Example |
|---|---|---|
|
Arcee Foundation MoE (Trinity) |
|
|
BART |
|
|
BERT-based |
|
|
Command A |
|
|
Nemotron |
|
|
DeepSeek-V3, Kimi-K2 |
|
|
DeepSeek-V3.2 |
|
|
DeepSeek-V4 |
|
|
DeepSeek-V4.1 (text decoder) |
— |
|
DeepSeek-V4.1 |
— |
|
EXAONE 4.0 |
|
|
K-EXAONE |
|
|
K-EXAONE 2.0 |
|
|
Gemma 3 |
|
|
Gemma 4 |
|
|
Gemma 4 12B Unified (encoder-free) |
|
|
Gemma 4 MTP assistant |
|
|
GLM-4.5, GLM-4.6, GLM-4.7 |
|
|
GLM-5, GLM-5.2, GLM-5.3 |
|
|
GLM-5.3-Flash |
|
|
GPT-OSS |
|
|
Kimi-K2.5 |
|
|
Kimi-K3 |
|
|
Kimi-K3 (text decoder) |
|
|
Laguna-XS |
|
|
Compatible checkpoint via |
|
|
Llama 3.1, Llama 3, Llama 2, LLaMA |
|
|
Llama 4 |
|
|
mBART |
|
|
MiniCPM-V 4.6 |
|
|
MiniMax-M3 |
|
|
Mistral |
|
|
Mixtral |
|
|
Llama 3.2 |
|
|
Nemotron-3, Nemotron-4, Minitron |
|
|
Nemotron-3-Nano, Nemotron-3-Super, Nemotron-3-Ultra |
|
|
NemotronNAS |
|
|
Phi-4 |
|
|
QwQ, Qwen2 |
|
|
Qwen2-based |
|
|
Qwen2-based |
|
|
Qwen3 |
|
|
Qwen3-Embedding |
|
|
Qwen3MoE |
|
|
Qwen3Next |
|
|
Qwen3.8-MoE, Qwen3.5-MoE |
|
|
Qwen3.8-Flash-Next (text) |
|
|
Qwen3.8-Flash-Next |
|
|
Step-3.7-Flash |
|
|
T5, Flan-T5, ByT5 |
|
|
Whisper |
|
Model-Feature Support Matrix (Key Models)#
Note: Support for other models may vary. Features marked “N/A” are not applicable to the model architecture. This matrix covers language-only requests, including the text-decoder path of multimodal architectures. The multimodal matrix below independently covers requests with actual image, video, or audio input, so a feature can have different statuses for the same architecture in the two matrices.
Model Architecture/Feature |
Overlap Scheduler |
CUDA Graph |
Attention Data Parallelism |
Disaggregated Serving |
Chunked Prefill |
Speculative Decoding [18] |
Torch Sampler |
KV Cache Reuse |
Sliding Window Attention |
Logits Post Processor |
Guided Decoding |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Yes |
Yes |
Yes |
Yes |
Yes [1] |
MTP |
Yes |
Yes [2] |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Untested |
Yes |
MTP |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Untested |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes [16] |
|
Yes |
Yes |
Yes |
Yes |
Yes |
EAGLE-3 (Linear, Dynamic) |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Untested |
Yes |
No |
Yes |
Yes [19] |
No |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
EAGLE-3 (Linear, Dynamic) |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Yes |
Yes |
EAGLE-3 (Linear), DFlash |
Yes |
Yes |
N/A |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
DSpark |
Yes |
Yes |
N/A |
Yes |
Yes |
|
|
Yes |
Yes |
Yes |
Yes |
Yes |
MTP |
Yes |
Yes |
N/A |
Yes |
Yes |
|
Yes |
Yes |
Yes |
No |
Yes |
MTP |
Yes |
No |
Yes |
Yes |
Yes |
|
Yes |
Yes |
Yes |
No |
Yes |
No |
Yes |
No |
Yes |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Untested |
Untested |
MTP |
Yes |
No |
Yes |
Yes |
Yes |
|
Yes |
Yes |
Yes |
Untested |
Untested |
EAGLE-3 (Linear) |
Yes |
No |
N/A |
Yes |
Yes |
Encoder-Decoder Feature Support Matrix (PyTorch Backend)#
The following capabilities apply to the supported encoder-decoder architectures. For configuration guidance and limitations, see Use encoder-decoder models with the PyTorch backend.
Model Architecture/Feature |
Overlap Scheduler |
Decoder CUDA Graph |
Encoder CUDA Graph |
KV Cache Manager V1 |
KV Cache Manager V2 |
Beam Search |
Tensor Parallelism |
Pipeline Parallelism |
Chunked Prefill |
|---|---|---|---|---|---|---|---|---|---|
|
Yes |
Yes (except FP32) |
Yes |
Yes |
Yes (single beam) |
Yes (V1 only) |
Yes |
No |
No (encoder phase) |
|
Yes |
Yes (except FP32) |
Yes |
Yes |
Yes (single beam) |
Yes (V1 only) |
Yes |
No |
No (encoder phase) |
|
Yes |
Yes (except FP32) |
Yes |
Yes |
Yes (single beam) |
Yes (V1 only) |
Yes |
No |
No (encoder phase) |
|
Yes |
Yes (except FP32) |
No (feature inputs) |
Yes |
Yes (single beam) |
Yes (V1 only) |
Yes |
No |
No (encoder phase) |
Decoder CUDA graphs support greedy and beam-search decoding with KV cache manager V1 and single-beam decoding with
V2. Encoder CUDA graphs support the token-input BART, mBART, and T5 families; Whisper’s feature-driven audio encoder
runs eagerly. Use the TRTLLM attention backend for encoder-decoder models; tensor parallelism also requires attention
head counts divisible by the tensor parallel size. Chunked prefill is not supported for the encoder phase, so the
complete encoder input must fit in the iteration token budget.
Multimodal Feature Support Matrix (PyTorch Backend)#
Entries in this matrix require a request with at least one listed non-language modality; language-only test evidence is not used to mark a feature as supported here.
Model Architecture/Feature |
Overlap Scheduler |
CUDA Graph |
Chunked Prefill |
Torch Sampler |
KV Cache Reuse |
Logits Post Processor |
EPD Disaggregated Serving |
Modality |
|---|---|---|---|---|---|---|---|---|
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
L + I + V |
|
Yes |
Yes |
N/A |
Yes |
N/A |
Yes |
No |
L + I |
|
Yes |
Yes |
Yes |
Yes |
No |
Yes |
No |
L + I + V + A [9] |
|
Yes |
Yes |
Untested |
Yes |
No |
Yes |
No |
L + I + A |
|
Yes |
Yes |
No |
Yes |
Yes |
Yes |
No |
L + I |
|
Yes |
Yes |
No |
Yes |
No |
Yes |
No |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
L + I |
|
Yes |
Yes |
No |
Yes |
No |
Yes |
No |
L + I |
|
Yes |
Untested |
Untested |
Yes |
Untested |
Untested |
No |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
L + I |
|
Yes |
Yes |
Yes |
Yes |
N/A |
Yes |
Yes |
L + I + V + A [10] |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
L + I + A |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
L + I + V |
|
Yes |
Yes |
Untested |
Yes |
Untested |
Yes |
Untested |
L + I |
|
Yes |
Yes |
Untested |
Yes |
No |
Yes |
Untested |
L + I + V |
|
Yes |
Yes |
Yes |
Yes |
Yes |
Untested |
Untested |
L + I + V |
|
Yes |
Yes |
Untested |
Yes |
No |
Untested |
Yes |
L + I + V |
|
Yes |
Yes |
Untested |
Yes |
No |
Untested |
Yes |
L + I + V |
|
Untested |
Untested |
Untested |
Yes |
Untested |
Yes |
No |
L + I |
Note:
L: Language
I: Image
V: Video
A: Audio
Multimodal Encoder Optimizations#
The following optimizations are available to models that implement
MultimodalModelMixin.
Model Architecture |
Multimodal Encoder Side Stream |
Multimodal Embeddings Cache |
|---|---|---|
|
Yes |
Yes |
|
Yes |
Yes |
|
Yes |
Yes |
|
Yes |
Yes |
|
Yes |
Yes |
|
Yes |
Yes |
|
Yes |
Yes |
Multimodal encoder side stream prefetches encoder work for pending requests on a separate CUDA stream, allowing it to overlap with work on the main stream. Set
multimodal_config.encoder_side_stream_max_aheadto a positive value to enable it; the value limits the number of prefetched requests that can be ahead of admission. This option is mutually exclusive withmultimodal_config.encoder_cuda_graphand can increase peak GPU memory use. It can be combined with the multimodal embeddings cache so side-stream cache hits skip encoder work and misses populate the cache.Multimodal embeddings cache is a per-model, cross-request LRU cache of encoder embeddings, stored per multimodal item. Set
multimodal_config.encoder_cache_max_bytesto its capacity (for example,"512MiB"), or0to disable cross-request reuse. The capacity applies per rank; ranks do not share a cache.On the inline encoder path, a request whose items all hit the cache skips the encoder, and a partially cached request encodes only its missing items. Inline caching supports only single-modality requests. When combined with side-stream prefetch, peak memory is the cache capacity plus any in-flight prefetched encoder inputs and outputs.
Models with item-level encoder scheduling use the item path unless
multimodal_config.encoder_scheduling_policyisDISABLED. Cached items are reused before encoder work is selected, so they use none of the per-iteration encoder item or token budget. Only missing items are encoded, mixed-modality requests are cached per item, and newly encoded items populate the cache for later requests. The item path also keeps encoder outputs in this cache until the request’s prefill completes, so the cache is never smaller than the output of one encoder iteration, even whenencoder_cache_max_bytesis0. Item scheduling does not support side-stream prefetch or pipeline parallelism yet. Withpipeline_parallel_size > 1, theDEFAULTpolicy, explicit or unset, logs a warning and falls back to the inline path, and theEAGERpolicy raises an error.
Visual Generation Models#
TensorRT-LLM provides beta support for diffusion-based image and video generation. For full documentation, see the Visual Generation page.
Supported Models#
HuggingFace Model ID |
Tasks |
|---|---|
|
Text-to-Image |
|
Text-to-Image |
|
Text-to-Video |
|
Text-to-Video |
|
Image-to-Video |
|
Image-to-Video |
|
Text-to-Video |
|
Image-to-Video |
|
Text-to-Video, Image-to-Video |
|
Text-to-Video (with Audio), Image-to-Video (with Audio) |
|
Text-to-Video (with Audio), First/Last-Frame-to-Video (with Audio) |
|
Text-to-Image |
|
Text-to-Image |
|
Image-to-Image |
|
Image Editing (text+images-to-image) |
|
Text-to-Image, Text-to-Video, Image-to-Video |
|
Text-to-Image, Text-to-Video, Image-to-Video |
|
Text-to-Image (DMD2-distilled, fixed 4-step schedule) |
|
Image-to-Video (DMD2-distilled, fixed 4-step schedule) |
|
Text-to-Image, Text-to-Video, Image-to-Video (Nemotron-dense backbone, 480p-native) |
Feature Matrix#
Model |
FP8 blockwise |
NVFP4 |
TeaCache |
CFG Parallelism |
Ulysses Parallelism |
Parallel VAE |
CUDA Graph |
torch.compile |
trtllm-serve |
Attention2D |
Ring Attention |
Tensor Parallelism |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
FLUX.1 |
Yes |
Yes |
Yes |
No |
Yes |
No |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
FLUX.2 |
Yes |
Yes |
Yes |
No |
Yes |
No |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Wan 2.1 |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Wan 2.2 |
Yes |
Yes |
No |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
LTX-2 |
Yes |
Yes |
No |
Yes |
Yes |
No |
No |
Yes |
Yes |
Yes |
Yes |
No |
MiniMax-H3 |
Yes |
Yes |
No |
No |
Yes |
Yes |
No |
Yes |
Yes |
No |
No |
No |
Qwen-Image |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
Qwen-Image-Layered |
Yes |
No |
No |
No |
No |
No |
Yes |
Yes |
Yes |
No |
No |
No |
Qwen-Image-Edit-2511 |
Yes |
Yes |
No |
Yes |
No |
No |
Yes |
Yes |
Yes |
No |
No |
No |
Cosmos3 |
Yes |
Yes |
No |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
No |
No |
Yes |