Skip to main content

Run Inference

Inspect the bundle, then call the Task named by its family manifest/header. Every execution command requires --runtime-root DIR.

TaskCommandPrimary result
Text / vision-language generationrunGenerated text and token IDs
Encoding / embedding / rerankingencode, embed, rerankVector or score
Classification / featuresclassify, extract-featuresClass result or feature vector
Stereo / geometry / segmentationdisparity, geometry, segment*, video-segmentTask JSON and optional files
Speech recognitiontranscribe, transcribe-batch, transcribe-streamingTranscript or stream chunks
Audio and speechgenerate-audio, speak, speech-sessionWAV output or session events
Image/video generationgenerate-image, generate-image-batch, generate-videoPNG or frame output
Numeric/robotics/worldsolve, forecast, control, generate-worldTyped numeric or media result
trtmc run qwen3-0.6b.bundle \
--runtime-root /opt/trtmc/lib \
--prompt "What is the capital of France? Answer in one word." \
--max-new-tokens 10 \
--temperature 0 \
--top-k 1

The CLI loads exactly one family DSO and backend DSO from the runtime root. A wrong Task command fails instead of attempting another family or interface. See the CLI Reference for command-specific inputs.