Skip to main content

← All model recipe tasks

llama 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
llamaLlamaForCausalLM
Source: config.architectures
Metadata: config.json at cb37ef3559b1
text_generation_causal
falcon3-1b
minitron-4b-depth
minitron-4b-width
minitron-4b-width-l0
minitron-4b-width-regression-native-kv-chunked-prefill
nemotron-nano-4b
tinyllama-1.1b

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
falcon3-1btiiuae/Falcon3-1B-Basefp16; single devicefalcon3-1btests/e2e/models/llama/manifests/falcon3-1b.json
minitron-4b-depthnvidia/Llama-3.1-Minitron-4B-Depth-Basefp16; single deviceminitron-4b-depthtests/e2e/models/llama/manifests/minitron-4b-depth.json
minitron-4b-widthnvidia/Llama-3.1-Minitron-4B-Width-Basefamily default; single deviceminitron-4b-widthtests/e2e/models/llama/manifests/minitron-4b-width.json
minitron-4b-width-l0nvidia/Llama-3.1-Minitron-4B-Width-Basefamily default; single deviceminitron-4b-width-l0tests/e2e/models/llama/manifests/minitron-4b-width-l0.json
minitron-4b-width-regression-native-kv-chunked-prefillnvidia/Llama-3.1-Minitron-4B-Width-Base
Revision: 5205ef7d36204947e3b973cb8b147a816ccd7e6a
family default; single deviceminitron-4b-width-regression-native-kv-chunked-prefilltests/e2e/models/llama/manifests/minitron-4b-width-regression-native-kv-chunked-prefill.json
nemotron-nano-4bnvidia/Llama-3.1-Nemotron-Nano-4B-v1.1fp16; single devicenemotron-nano-4btests/e2e/models/llama/manifests/nemotron-nano-4b.json
tinyllama-1.1bTinyLlama/TinyLlama-1.1B-Chat-v1.0fp16; single devicetinyllama-1.1btests/e2e/models/llama/manifests/tinyllama-1.1b.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 text from a text prompt.

Declared recipes: falcon3-1b, minitron-4b-depth, minitron-4b-width, minitron-4b-width-l0, minitron-4b-width-regression-native-kv-chunked-prefill, nemotron-nano-4b, tinyllama-1.1b

trtmc run <bundle.bundle> --prompt "<text>" [generation options]
Supported input or optionRequirementRuntime behavior
--prompt <TEXT>RequiredText input for this causal language-model recipe.
--max-new-tokens <N>OptionalLimit the number of generated tokens or audio frames.
--temperature <F>OptionalSet sampling temperature.
--top-k <N>OptionalRestrict sampling to the top K tokens.
--top-p <F>OptionalEnable nucleus sampling at probability P.
--min-p <F>OptionalFilter tokens below min-p times the maximum probability.
--seed <N>OptionalSet the sampling or diffusion seed.
--chat-templateOptionalApply the chat template packaged with the bundle.
--no-thinkingOptionalDisable a supported reasoning or thinking mode.
--greedyOptionalSelect deterministic greedy decoding by setting temperature to zero.
--num-samples <N>OptionalRun N independent text generations.
--output <PATH>OptionalWrite generated samples as JSON Lines.
--benchmark <N>OptionalRun N timed generation iterations.
--warmup <N>Optional with --benchmarkWarm-up iterations before generation timing.
Code basis

Runtime provider: llama

  • include/trtmc/pipeline.h
  • src/cli/main.cpp
  • src/runtime/models/llama/pipeline.cpp
  • src/runtime/models/llama/sampler.cpp
  • tests/e2e/models/llama/manifests/falcon3-1b.json
  • tests/e2e/models/llama/manifests/minitron-4b-depth.json
  • tests/e2e/models/llama/manifests/minitron-4b-width-l0.json
  • tests/e2e/models/llama/manifests/minitron-4b-width-regression-native-kv-chunked-prefill.json
  • tests/e2e/models/llama/manifests/minitron-4b-width.json
  • tests/e2e/models/llama/manifests/nemotron-nano-4b.json
  • tests/e2e/models/llama/manifests/tinyllama-1.1b.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.