Loading…
Topic
TensorRT LLM
3 posts about TensorRT LLM. Every summary links to the original.
- 3 posts
- 2 companies
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
Speed Up Image Generation with FLUX 3 Image Klein on NVIDIA Blackwell GPUs
FLUX 3 Image Klein from Black Forest Labs is an image editing and generation model for design and production workflows. This tutorial explains how to configure it in NVIDIA TensorRT LLM VisualGen on Blackwell GPUs to reduce inference latency through multiple optimizations. These include NVFP4 quantization for the diffusion transformer, fused GEMM kernels with epilogue fusion, quantized attention via cuDNN FP8 or VC-Attention FP8, sparse attention with Sol-Attention, and step caching with Cache-DiT that reuses intermediate outputs. At 2048x2048 resolution on a single NVIDIA B200 GPU, combining these optimizations delivered up to 3.46x faster text-to-image and 4.45x faster image-to-image generation for the Base checkpoint compared to uncompiled BF16 VANILLA inference. The tutorial provides deployment instructions and YAML configuration files to replicate these results.
Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM
Spotify has been applying generative AI to personalize recommendations across surfaces, using LLMs for podcast discovery with beam search and candidate scoring. Their initial inference stack relied on vLLM for beam search, which suffered from CPU-side bottlenecks and KV block recomputation, and SGLang for efficient multi-item scoring, but no single engine supported all required features. To unify these capabilities, Spotify collaborated with NVIDIA to extend TensorRT LLM with efficient beam search implemented in the sampler, multi-item scoring via the Python API, and soft token personalization using out-of-tree model plugins. On a 1.7B Qwen3 model, the resulting implementation delivered up to 54% cost reduction for beam search workloads and 7% for scoring workloads compared to previous setups. Spotify plans to continue optimizing inference with quantization and NVIDIA Blackwell-specific techniques to support increasingly sophisticated personalization at scale.
Enabling Private High-Performance Production AI Inference with NVIDIA Confidential Computing
NVIDIA Confidential Computing (CC) enables secure AI inference by using memory-encrypted confidential VMs, confidential GPUs, and encrypted NVLink. Running inference frameworks like TensorRT LLM in a CC environment introduces performance overhead because secure execution changes assumptions about memory movement, timing, and multi-GPU communication. To quantify this overhead, the post presents a controlled methodology comparing CC-on and CC-off performance on a workload with long input context, extended output generation, and low concurrency. With CC-aware adaptations—including pageable memory selection, asynchronous readback, GPU %globaltimer for autotuning, and CC-aware multi-GPU communication—TensorRT LLM retained 96.1–98.2% of baseline throughput on eight NVIDIA B200 GPUs while keeping per-token latency overhead below 5%. The post concludes that security configuration and inference optimization should be treated as a single deployment problem for organizations moving private inference into production.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.