跳到主内容
@wquguru
精选75MarkTechPost(RSS)产品发布/更新

NVIDIA 发布 TensorRT Model Connect 公开预览

NVIDIA Releases TensorRT Model Connect in Public Preview: Hugging Face Checkpoint to Native C++ Inference in Two Commands

原文
发到 X

NVIDIA has released TensorRT Model Connect (TRTMC) in public preview, an open-source project that takes a supported Hugging Face or local checkpoint to end-to-end TensorRT inference in two commands. There is no intermediate ONNX export step. 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. The project is Apache-2.0 licensed and ships as a collection of family-owned reference implementations rather than a single generic converter. 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.

NVIDIA 已公开发布 TensorRT Model Connect (TRTMC) 预览版,这是一个开源项目,通过两条命令即可将受支持的 Hugging Face 或本地检查点转换为端到端的 TensorRT 推理。无需中间 ONNX 导出步骤。构建生成带版本号的 .bundle 工件,通过原生 C++ 任务 API 运行,因此推理可在 C++ 服务、嵌入式应用或机器人技术栈中执行,运行时路径无需 PyTorch。该项目采用 Apache-2.0 许可,以一组按家族划分的参考实现形式发布,而非单一的通用转换器。NVIDIA 还表示,整个项目——模型实现、性能调优、测试、集成和文档——均使用 OpenAI Codex 代理在人工指导和审查下构建。

Is it deployable?

它是否可部署?

Yes, for evaluation and native integration work, with real conditions. The code is open and installable. Release wheels currently target Linux aarch64 only, with Python 3.10 or 3.12, glibc 2.39 or newer, and TensorRT 11.1.0.106. x86_64 wheels are not published; x86_64 users must take the Docker source-build path.

是的,可用于评估和原生集成工作,且条件真实。代码开放且可安装。发布版轮子目前仅面向 Linux aarch64,要求 Python 3.10 或 3.12、glibc 2.39 或更新版本,以及 TensorRT 11.1.0.106。未发布 x86_64 轮子;x86_64 用户必须走 Docker 源码构建路径。

  • Company level: Best fit today is teams that already own their inference stack: NVIDIA-shop startups, robotics and device companies, and platform or inference teams inside mid-size and large enterprises. Small teams shipping a Python service get less from it. Regulated enterprises should wait for a tagged release before standardizing on it.
  • Industries: Robotics and autonomous machines, industrial inspection and manufacturing, automotive in-vehicle compute, medical devices, defense and aerospace edge systems, and media processing — anywhere inference has to live inside a C++ binary rather than a Python server.
  • Applications: On-device text generation, speech recognition and synthesis, OCR and document parsing, embeddings and reranking for a retrieval service written in C++, diffusion image and video generation, segmentation, and time-series forecasting.
  • 公司层面:当前最适合已拥有自身推理栈的团队:NVIDIA 生态初创公司、机器人和设备公司,以及中大型企业的平台或推理团队。交付 Python 服务的小团队从中获益较少。受监管的企业应在标记版本发布后再将其标准化。
  • 行业:机器人和自主机器、工业检测和制造、汽车车载计算、医疗设备、国防和航空航天边缘系统,以及媒体处理——任何推理必须驻留在 C++ 二进制文件而非 Python 服务器中的场景。
  • 应用:设备端文本生成、语音识别和合成、OCR 和文档解析、用 C++ 编写的检索服务的嵌入和重排序、扩散图像和视频生成、分割,以及时间序列预测。

The two commands

两条命令

The quick start builds and runs Qwen3-0.6B:

快速入门构建并运行 Qwen3-0.6B:

代码 · 2
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-thinking
代码 · 2
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-thinking

The same .bundle loads from C++ with trtmc::load("./qwen3-0.6b.bundle").

同一 .bundle 可通过 trtmc::load("./qwen3-0.6b.bundle") 从 C++ 加载。

The bundle is the actual design decision

bundle 是实际的设计决策

TRTMC splits build and runtime at a versioned artifact. Python owns checkpoint resolution and TensorRT engine construction. Native profiles then execute inference in C++ without PyTorch. A small number of hybrid profiles invoke a helper Python executable, and their manifests declare that dependency explicitly.

TRTMC 在带版本号的工件处拆分构建和运行时。Python 负责检查点解析和 TensorRT 引擎构建。原生配置文件随后在 C++ 中执行推理,无需 PyTorch。少量混合配置文件会调用辅助 Python 可执行文件,其清单明确声明了该依赖。

Applications call task APIs — generate(), transcribe(), generate_image(), embed(), solve() — instead of maintaining conversion stages and per-model application glue. trtmc inspect exposes bundle kind, model family, precision, runtime identity, and engines, which makes the artifact auditable rather than opaque.

应用程序调用任务API——generate()、transcribe()、generate_image()、embed()、solve()——而不是维护转换阶段和每个模型的应用程序胶水代码。trtmc inspect 暴露了捆绑包类型、模型家族、精度、运行时身份和引擎,使工件可审计而非不透明。

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.

NVIDIA 将传统路线描述为 PyTorch → ONNX 或 TorchScript → TensorRT → 特定模型的 C++ 集成,并指出了其消除的失败模式:导出缺口、重复的每模型集成,以及跨多个转换工件的验证分散。

Key Takeaways

关键要点

  • Two commands take a supported Hugging Face checkpoint to native C++ TensorRT inference, with no ONNX step.
  • A versioned .bundle is the handoff between the Python build and a PyTorch-free C++ runtime.
  • The July 29, 2026 GB300 snapshot covers 105 profiles across 76 families; 102 beat their declared reference by more than 5%.
  • Wheels are Linux aarch64 only today; x86_64 requires the Docker source build.
  • 两个命令即可将受支持的 Hugging Face 检查点转换为原生 C++ TensorRT 推理,无需 ONNX 步骤。
  • 版本化的 .bundle 是 Python 构建与无 PyTorch 的 C++ 运行时之间的交接物。
  • 2026年7月29日的 GB300 快照覆盖了76个家族中的105个配置文件;其中102个超过了其声明参考值的5%以上。
  • 目前仅提供 Linux aarch64 的轮子;x86_64 需要 Docker 源码构建。

Check out the GitHub Repo. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

查看 GitHub 仓库。另外,欢迎在 Twitter 上关注我们,别忘了加入我们的 150k+ ML SubReddit 并订阅我们的通讯。等等!你在 Telegram 上吗?现在你也可以在 Telegram 上加入我们。

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

需要与我们合作推广你的 GitHub 仓库或 Hugging Face 页面或产品发布或网络研讨会等?请联系我们

The post NVIDIA Releases TensorRT Model Connect in Public Preview: Hugging Face Checkpoint to Native C++ Inference in Two Commands appeared first on MarkTechPost.

文章《NVIDIA 公开发布 TensorRT Model Connect:两个命令从 Hugging Face 检查点到原生 C++ 推理》首次出现在 MarkTechPost 上。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近