Skip to content
AI Learning Ground Start learning

News ·

Enabling Private High-Performance Production AI Inference with NVIDIA Confidential Computing

NVIDIA details how TensorRT LLM adapts to Confidential Computing on Blackwell GPUs, keeping 96.1–98.2% of throughput with 1.2–4.3% latency overhead on B200s running DeepSeek-R1.

Enabling Private High-Performance Production AI Inference with NVIDIA Confidential Computing
Image: NVIDIA

NVIDIA published guidance on running production LLM inference inside its Confidential Computing environment, which uses memory-encrypted confidential virtual machines, confidential GPUs, and encrypted NVLink to process sensitive data on trusted hardware. The post explains that secure execution changes assumptions around memory movement, timing, scheduling, and multi-GPU communication, so inference frameworks must be optimized together with the CC environment to avoid performance loss.

In a controlled CC-on versus CC-off comparison on eight NVIDIA B200 GPUs with DeepSeek-R1, confidential compute retained 96.1% to 98.2% of baseline output-token throughput and added 1.2% to 4.3% per-token latency overhead across concurrency levels 1 through 16. TensorRT LLM makes several CC-aware adaptations: since host-to-device transfers pass through a software encrypted bounce buffer, it selects pageable memory rather than pinned memory and moves repeated token readback to an asynchronous worker. Its kernel autotuner switches from CUDA events to the GPU %globaltimer for tactic measurements to avoid unstable timing, and because NVLS multicast is unavailable in B200 CC configurations, frameworks should detect its availability and pick communication algorithms accordingly.

For teams building AI platforms in regulated or enterprise settings, the results suggest confidential inference on Blackwell can run at near-baseline performance. NVIDIA also shares a methodology for quantifying CC overhead on your own workloads: pick long-context, extended-output, low-concurrency workloads to expose effects, then run identical workloads with CC on and off, holding model, hardware, framework version, sequence lengths, parallelism, and concurrency constant. Teams can review the NVIDIA Trusted Computing documentation and TensorRT LLM release notes to plan a deployment.

References

  • NVIDIA · developer.nvidia.com

Read the full story at NVIDIA ↗Like, save or discuss on Buzz

#hardware #inference