Local LLM runnersApache-2.0C++

TensorRT-LLM

NVIDIA’s library for state-of-the-art LLM inference on its GPUs.

Stars
15.2K
Forks
3K
Open issues
2.1K
Last commit
2026-11-30

Live from the GitHub API · updated 2026-11-30

What is TensorRT-LLM?

TensorRT-LLM provides optimized kernels, in-flight batching, paged KV cache, FP8/FP4 quantization and speculative decoding for NVIDIA GPUs, with a PyTorch-based LLM API and the trtllm-serve OpenAI-compatible server.

Key features

  • Optimized attention and GEMM kernels
  • FP8/FP4/INT4 quantization
  • Multi-GPU and multi-node parallelism
  • trtllm-serve OpenAI-compatible endpoint

System requirements

Platforms
Linux · Docker
GPU
NVIDIA data-center or RTX GPU
Notes
Linux with CUDA 12.

How to install TensorRT-LLM

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

pip

  1. 1
    Install the package.
    pip3 install --upgrade pip setuptools
    pip3 install tensorrt_llm
  2. 2
    Serve a Hugging Face model.
    trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"

Strengths

  • Top performance on NVIDIA hardware

Limitations

  • NVIDIA only
  • Complex for hobby use

TensorRT-LLM alternatives compared

SoftwareStarsLicensePlatformsVRAM
TensorRT-LLM

NVIDIA’s library for state-of-the-art LLM inference on its GPUs.

15.2KApache-2.0—
vLLM

High-throughput LLM serving engine with PagedAttention.

97.9KApache-2.0—
SGLang

Fast serving framework for LLMs and vision-language models.

39.2KApache-2.0—
LMDeploy

Toolkit for compressing, deploying and serving LLMs and VLMs.

8.2KApache-2.0—
Ollama

Get up and running with large language models locally.

188.6KMIT—
llama.cpp

LLM inference in C/C++ — the engine behind most local AI apps.

136.7KMIT—

FAQ

Is TensorRT-LLM free?

Yes — TensorRT-LLM is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.

Does TensorRT-LLM run on Windows, Mac and Linux?

TensorRT-LLM supports: Linux, Docker.

What hardware do I need for TensorRT-LLM?

NVIDIA data-center or RTX GPU

How do I install TensorRT-LLM?

1. Install the package. 2. Serve a Hugging Face model.

What are the best TensorRT-LLM alternatives?

Popular alternatives include vLLM, SGLang, LMDeploy, Ollama. See the comparison table on this page.