NVIDIA's TensorRT Model Connect Ships Hugging Face Models to C++ in Two Commands
NVIDIA's new open-source tool skips ONNX entirely, turning Hugging Face checkpoints into PyTorch-free C++ TensorRT bundles with two CLI commands.

- NVIDIA released TensorRT Model Connect in public preview under Apache-2.0.
- Two commands (
trtmc build,trtmc run) go from Hugging Face checkpoint to TensorRT inference. - No intermediate ONNX export; produces a versioned
.bundleloadable from native C++. - C++ task APIs include generate, transcribe, generate_image, embed, and solve, PyTorch-free at runtime.
- GB300 snapshot: 105 profiles across 76 families, 102 beating reference by more than 5%.
- Entire project built by OpenAI Codex agents under human review; Linux aarch64 wheels only for now.
NVIDIA just dropped a tool that collapses one of the more painful workflows in production ML: getting a Hugging Face model into a native C++ inference binary. TensorRT Model Connect (TRTMC) is now in public preview, and it promises to take you from a Hugging Face checkpoint to end-to-end TensorRT inference in two commands, with no ONNX detour in between.
It's an open-source project that takes a supported Hugging Face or local checkpoint to end-to-end TensorRT inference in two commands, and the project is Apache-2.0 licensed and ships as a collection of family-owned reference implementations rather than a single generic converter. There's also an unusual footnote on how it was built, which we'll get to.
The two-command pitch
The whole workflow is a build step followed by a run step. Here's the quick start for Qwen3-0.6B straight from the docs:
trtmc build Qwen/Qwen3-0.6B --precision bf16 --max-cache-length 16384 --output qwen3-0.6b.bundle
trtmc run ./qwen3-0.6b.bundle --prompt "What is the capital of France? Answer in one word." --chat-template --no-thinkingThe output is a versioned .bundle file, and that same artifact loads directly from C++ via trtmc::load("./qwen3-0.6b.bundle"). The build produces a versioned .bundle artifact that runs through native C++ task APIs, so inference can execute in a C++ service, embedded application, or robotics stack without PyTorch in the runtime path.
Why the bundle matters
The bundle is the real design decision here, not the command count. The build phase, performed in Python, resolves the checkpoint, constructs the TensorRT engine, and packages it into the bundle; the runtime phase executes inference through C++ task APIs such as generate(), transcribe(), generate_image(), embed(), and solve(), allowing deployment in services, embedded systems, or robotics stacks without a PyTorch runtime.
That's a clean split. Python handles the messy build-time work of grabbing weights and compiling engines. Your production runtime is a C++ binary calling a task-level API, not a stack that has to keep PyTorch, Python, and a conversion pipeline healthy. The trtmc inspect command exposes bundle metadata (kind, model family, precision, runtime identity, and engines) for auditability, so the artifact isn't opaque.
NVIDIA frames the conventional route as PyTorch → ONNX or TorchScript → TensorRT → model-specific C++ integration, and names the failure modes it removes: export gaps, repeated per-model integration, and validation spread across several conversion artifacts. Anyone who has debugged an ONNX op-set mismatch at 2am understands the pitch.
Coverage and performance
The reference implementations are per-model-family, so this isn't a magic generic converter that works on anything on the Hub. The July 29, 2026 GB300 snapshot covers 105 profiles across 76 families; 102 beat their declared reference by more than 5%. That's a meaningful spread of what you can actually use today, weighted toward the models NVIDIA has hand-tuned.
Practical fits include:
- On-device text generation and speech (transcription and TTS) for edge deployments
- OCR and document parsing inside C++ services
- Embeddings and reranking for a retrieval service that isn't Python
- Diffusion image or video generation, segmentation, time-series forecasting
- Robotics and automotive stacks where PyTorch in the runtime is a non-starter
The catch: platform support
The preview is narrow on where you can run it. Supported deployment environments are limited to Linux aarch64 wheels requiring Python 3.10 or 3.12, glibc 2.39 or newer, and TensorRT 11.1.0.106; x86_64 users must rely on a Docker source-build path.
Read that carefully: the shipped wheels are aarch64 only, which lines up with Jetson, Grace, and GB-series hardware. If you're on a standard x86 workstation or server, you're building from source inside Docker until x86_64 wheels land. That will filter out a chunk of the audience for now.
Built by agents, reviewed by humans
The most striking claim isn't the tool itself. NVIDIA also states that the entire project , model implementations, performance tuning, tests, integrations, and docs , was built using OpenAI Codex agents under human direction and review.
Every piece: the family-specific builders, the CUDA-adjacent tuning, the C++ task APIs, the manifests, the docs. That's a public claim from a first-party infrastructure vendor that an agentic coding workflow can produce a shippable inference toolkit covering dozens of model families. Whether that scales beyond a heavily-scaffolded, well-scoped codebase is the real open question, but the artifact exists and the numbers on the benchmark snapshot are non-trivial.
Who should look at it now
If you own the inference stack for a robotics, automotive, medical, or edge product and you're already integrating TensorRT by hand for each new model family, this is worth a serious evaluation. The source-build path is documented, and contributing a new model family looks like the intended extension point rather than a hack.
Teams shipping a Python-based inference service on x86 will get less value today. The bundle abstraction doesn't help you if you're going to keep PyTorch in the runtime anyway, and the aarch64 wheel constraint means the frictionless path is currently reserved for ARM-based NVIDIA hardware.