Loading…
Topic
TensorRT
5 posts about TensorRT. Every summary links to the original.
- 5 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Run AI Models for Edge Application Development with Just a Few Commands
NVIDIA DGX Spark, now available in a 64GB configuration, provides a platform for prototyping and testing AI models for edge applications such as robotics and autonomous systems. The TensorRT Edge-LLM runtime offers a lightweight C++ inference engine for embedded workloads, allowing developers to use the same framework on Spark and deployment platforms like Jetson Thor. With the trtedge CLI, users can download models and build optimized TensorRT engines in a few commands. The tutorial demonstrates running Nemotron-3.5 Lightning on Spark, testing prompts in the terminal, and serving the model through an OpenAI-compatible API. Performance benchmarks show that enabling DSpark speculative decoding increases generation speed from around 73 tokens/s to over 105 tokens/s on SpeedBench workloads.
Scaling NVIDIA TensorRT Performance Optimization Beyond a Single Build Route with the Global Performance Tuner, Part 2
The Global Performance Tuner in TensorRT 11.1 provides automatic, accuracy-aware, end-to-end performance tuning, replacing reliance on a single default scheduling strategy with explicit build routes. Each build route is a concrete combination of compiler knobs controlling scheduling decisions; TensorRT 11.1 exposes over 200 such knobs. The tuning loop iterates over candidate routes, builds each engine, measures its accuracy and end-to-end performance against user-supplied references, and excludes any that fail to meet a tolerance threshold. This process decouples performance optimization from accuracy constraints, addressing the performance-accuracy entanglement problem described in Part 1. In evaluated workloads, tuning delivered 1.14x to 1.63x speedups over the default route, and best practices include re-tuning after any change to the model, input shapes, hardware, or software stack.
Scaling NVIDIA TensorRT Performance Optimization Beyond a Single Build Route with the Global Performance Tuner, Part 1
No single TensorRT scheduling strategy works best for every model: a heuristic that accelerates one network can slow another, and interactions between fusion, kernel choice, memory layout, and quantization are hard to predict. The Global Performance Tuner, released in TensorRT 11.1, automatically explores multiple customizable build routes, validates each candidate against a numerical accuracy tolerance, and selects the fastest feasible solution. This solves heuristic sprawl—where model-specific rules accumulate and interact in unmaintainable ways—and decouples performance optimization from accuracy constraints. The mathematical framework defines models, solution spaces, and build routes as compositions of compiler passes, assumes deterministic runtime under fixed conditions, and separates what executables can be constructed from how the compiler selects an optimal one. Among all solutions meeting the tolerance, the tuner picks the minimum-runtime feasible solution, rather than trying to encode every successful heuristic into a single universal strategy.
Build Local AI Apps with C++ and NVIDIA TensorRT RTX Samples
DIN Deploy is an open-source collection of C++ samples combining ONNX Runtime with NVIDIA TensorRT RTX for local AI inference on Windows and Linux. It separates model conversion from deployment: Python exports models to ONNX, then native C++ runs inference via ONNX Runtime session and tensor APIs. Supported workloads include automatic speech recognition (Whisper offline, Parakeet TDT streaming), interactive segmentation (SAM 2.1), and prompt-driven image generation (FLUX.2-klein-4B). The FLUX.2 sample includes Vulkan and DirectX graphics interop and demonstrates post-training quantization with NVIDIA Model Optimizer, producing quantized ONNX models as drop-in replacements without code changes. On DGX Spark, GPU acceleration provides speedups: Whisper large-v3-turbo achieves 58.5x real-time factor, Parakeet TDT 206.41x, and SAM 2.1 runs at 38.3 FPS on GPU versus 0.5 FPS on CPU.
Simplifying Model Serving Across Multiple GPUs with NVIDIA TensorRT Multi-Device Integration in NVIDIA Dynamo-Triton
NVIDIA TensorRT multi-device inference enables a single TensorRT network to execute across multiple GPUs using NCCL-backed distributed collectives, supported from TensorRT 11.0. Integrated into Dynamo-Triton release 26.07, one model instance can own multiple GPUs and expose a single gRPC endpoint so the client does not coordinate GPU ranks. The post demonstrates this with Cosmos 3 Nano video generation, where the transformer uses Ulysses context parallelism to distribute 44,160 video tokens across up to eight GPUs. End-to-end latency drops from 156.6 seconds on one GPU to 34.2 seconds on eight GPUs, achieving a 6.09x transformer RPC speedup. Teams can trade additional GPU resources for shorter request latency while keeping the application interface and surrounding workflow stable.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.