[来源关键摘录] TensorRT-LLM 官方开源仓库,提供优化大模型推理性能的 Python/C++ 运行时与量化内核。
[正文前段节选] Skip to content
Navigation Menu
Appearance settings
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Repository navigation
TensorRT-LLM
NotificationsYou must be signed in to change notification settings
Star15.1k (15.1k)You must be signed in to star a repository
TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.
nvidia.github.io/TensorRT-LLM
blackwellcudallm-servingmoepytorch
Code of conduct
Contributing
Security policy
Custom properties
119 watching
Report repository
BranchesTags
Open more actions menu
Latest commit
11,544 Commits
Folders and files
Last commit message
Last commit date
.agents/skills/modeling-v2-onboard-task
.devcontainer
benchmarks/visual_gen
security_scanning
tensorrt_llm
triton_backend
triton_kernels
.clang-format
.cmake-format.json
.coderabbit.yaml
.cursorignore
.dockerignore
.editorconfig
.gitattributes
.nspect-allowlist.toml
.pre-commit-config.yaml
ATTRIBUTIONS-CPP-aarch64.md
ATTRIBUTIONS-CPP-x86_64.md
ATTRIBUTIONS-Python.md
CODE_OF_CONDUCT.md
CODING_GUIDELINES.md
CONTAINER_SOURCE.md
CONTRIBUTING.md
constraints.txt
legacy-files.txt
pyproject.toml
requirements-build-openengine.txt
requirements-dev.txt
requirements-grpc-smg.txt
requirements.txt
ruff-legacy-baseline.json
ruff-legacy.toml
View all files
Repository files navigation
TensorRT LLM
TensorRT LLM optimizes inference for LLMs and Visual Gen models with specialized kernels for common operations, an efficient runtime, and a pythonic framework that enables you to customize and extend the system.
Architecture | Performance | Examples | Documentation | Roadmap
[11/17] NVFP4 MLA: Unified 4-bit KV Cache Storage and Attention Compute in TensorRT LLM
[11/11] Dense DWDP: Extending Distributed Weight Data Parallelism to Dense Weights on Vera Rubin NVL72
[11/03] ISER-MoE: In-Switch Expert Replication for Load-Balanced MoE Prefill
[10/14] KV Cache Compression in TensorRT LLM
[09/22] GVR V2: Self-Sampling and Multi-Thresholding for Faster Exact Top-K
[09/02] Accelerating Video Generation with GEMM Quantization, Attention Quantization and Skip Softmax Attention in TensorRT-LLM
[08/20] Evaluating Agentic Serving with Trace Replay and Job-Level Metrics
[07/17] DeepSeek-V4 on NVIDIA Blackwell: Model-Specific and Agentic-Workload Optimizations in TensorRT LLM
[07/01] Scaling Video Generation Across NVL72 Rack with TensorRT-LLM
[05/15] Joint Optimization of Agent Applications and TensorRT-LLM
[04/03] Tuning CUDA Graph Batch Sizes for Higher Output Throughput
[04/03] DWDP: Distributed Weight Data Parallelism for High-Performance LLM Inference on NVL72
[03/16] Optimizing MoE Communication with One-Sided AlltoAll Over NVLink
[03/04] Sparse Attention in TensorRT LLM
[02/06] Accelerating Long-Context Inference with Skip Softmax Attention
[01/09] Optimizing DeepSeek-V3.2 on NVIDIA Blackwell GPUs
Previous Blogs
* [10/13] Scaling Expert Parallelism in TensorRT LLM (Part 3: Pushing the Performance Boundary)
✨ [➡️ link](https://nvidia.github.io/TensorRT-LLM/blogs/tech_blog/blog14_Scaling_Expert_Parallelism_in_TensorRT-LLM_part3.html)
[09/26] Inference Time Compute Implementation in TensorRT LLM
[09/19] Combining Guided Decoding and Speculative Decoding: Making CPU and GPU Cooperate Seamlessly
[08/29] ADP Balance Strategy
[08/05] Running a High-Performance GPT-OSS-120B Inference Server with TensorRT LLM
[08/01] Scaling Expert Parallelism in TensorRT LLM (Part 2: Performance Status and Optimization)
[07/26] N-Gram Speculative Decoding in TensorRT LLM
[06/19] Disaggregated Serving in TensorRT LLM
[06/05] Scaling Expert Parallelism in TensorRT LLM (Part 1: Design and Implementation of Large-scale EP)
[05/30] Optimizing DeepSeek R1 Throughput on NVIDIA Blackwell GPUs: A Deep Dive for Developers
[05/23] DeepSeek R1 MTP Implementation and Optimization
[05/16] Pushing Latency Boundaries: Optimizing DeepSeek-R1 Performance on NVIDIA B200 GPUs
[04/03] 🎨 TensorRT LLM now supports diffusion models for visual generation ➡️ link
Previous News
[08/05] 🌟 TensorRT LLM delivers Day-0 support for OpenAI's latest open-weights models: GPT-OSS-120B ➡️ link and GPT-OSS-20B ➡️ link
[07/15] 🌟 TensorRT LLM delivers Day-0 support for LG AI Research's latest model, EXAONE 4.0 ➡️ link
[05/22] Blackwell Breaks the 1,000 TPS/User Barrier With Meta’s Llama 4 Maverick
[04/10] TensorRT LLM DeepSeek R1 performance benchmarking best practices now published.
[04/05] TensorRT LLM can run Llama 4 at over 40,000 tokens per second on B200 GPUs!
[03/22] TensorRT LLM is now fully open-source, with developments moved to GitHub!
[03/18] 🚀🚀 NVIDIA Blackwell Delivers World-Record DeepSeek-R1 Inference Performance with TensorRT LLM ➡️ Link
[02/28] 🌟 NAVER Place Optimizes SLM-Based Vertical Services with TensorRT LLM ➡️ Link
[02/25] 🌟 DeepSeek-R1 performance now optimized for Blackwell ➡️ Link
[02/20] Explore the complete guide to achieve great accuracy, high throughput, and low latency at the lowest cost for your business here.
[02/18] Unlock #LLM inference with auto-scaling on @AWS EKS ✨ ➡️ link
[02/12] 🦸⚡ Automating GPU Kernel Generation with DeepSeek-R1 and Inference Time Scaling
[02/12] 🌟 How Scaling Laws Drive Smarter, More Powerful AI
[2025/01/25] Nvidia moves AI focus to inference cost, efficiency ➡️ link
[2025/01/24] 🏎️ Optimize AI Inference Performance with NVIDIA Full-Stack Solutions ➡️ link
[2025/01/23] 🚀 Fast, Low-Cost Inference Offers Key to Profitable AI ➡️ link
[2025/01/16] Introducing New KV Cache Reuse Optimizations in TensorRT LLM ➡️ link
[2025/01/14] 📣 Bing's Transition to LLM/SLM Models: Optimizing Search with TensorRT LLM ➡️ link
[2025/01/04] ⚡Boost Llama 3.3 70B Inference Throughput 3x with TensorRT LLM Speculative Decoding
[2024/12/10] ⚡ Llama 3.3 70B from AI at Meta is accelerated by TensorRT-LLM. 🌟 State-of-the-art model on par with Llama 3.1 405B for reasoning, math, instruction following and tool use. Explore the preview
[2024/12/03] 🌟 Boost your AI inference throughput by up to 3.6x. We now support speculative decoding and tripling token throughput with our NVIDIA TensorRT-LLM. Perfect for your generative AI apps. ⚡Learn how in this technical deep dive
[2024/12/02] Working on deploying ONNX models for performance-critical applications? Try our NVIDIA Nsight Deep Learning Designer ⚡ A user-friendly GUI and tight integration with NVIDIA TensorRT that offers:
✅ Intuitive visualization of ONNX model graphs
✅ Quick tweaking of model architecture and parameters
✅ Detailed performance profiling with either ORT or TensorRT
✅ Easy building of TensorRT engines
[2024/11/26] 📣 Introducing TensorRT LLM for Jetson AGX Orin, making it even easier to deploy on Jetson AGX Orin with initial support in JetPack 6.1 via the v0.12.0-jetson branch of the TensorRT LLM repo. ✅ Pre-compiled TensorRT LLM wheels & containers for easy integration ✅ Comprehensive guides & docs to get you started
[2024/11/21] NVIDIA TensorRT LLM Multiblock Attention Boosts Throughput by More Than 3x for Long Sequence Lengths on NVIDIA HGX H200
[2024/11/19] Llama 3.2 Full-Stack Optimizations Unlock High Performance on NVIDIA GPUs
[2024/11/09] 🚀🚀🚀 3x Faster AllReduce with NVSwitch and TensorRT LLM MultiShot
[2024/11/09] ✨ NVIDIA advances the AI ecosystem with the AI model of LG AI Research 🙌
[2024/11/02] 🌟🌟🌟 NVIDIA and LlamaIndex Developer Contest
🙌 Enter for a chance to win prizes including an NVIDIA® GeForce RTX™ 4080 SUPER GPU, DLI credits, and more🙌
[...内容已截断,完整版请查看原文或 Wayback 快照]