Skip to main content
skill

inference-serving-tensorrt-llm — Claude Code skill: setup guide

Provides Claude Code with reference guides and recipes to run LLM inference on NVIDIA GPUs using TensorRT-LLM. Ideal for configuring FP8 quantization and multi-GPU serving.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/inference-serving-tensorrt-llm
Open on GitHub

What inference-serving-tensorrt-llm does

This skill adds guidance to Claude Code for serving large models through NVIDIA's TensorRT-LLM library. It teaches the agent how to initialize models, configure sampling options, and expose endpoints using the trtllm-serve CLI utility.

The material covers in-flight batching, paged memory for key-value caches, FP8 or INT4 quantization, and tensor parallelism across 4 or 8 GPUs. Hardware requirements are strict: you need NVIDIA hardware such as A100 or H100 accelerators, Python 3.10 to 3.12, CUDA 13.0.0, and TensorRT 10.13.2. Without NVIDIA acceleration, this stack will not work. When targeting CPUs or non-NVIDIA chips, alternative tools like vLLM or llama.cpp fit better.

What it helps with

  • configure trtllm-serve with tensor parallelism across multiple GPUs
  • prepare Python inference code with FP8 model weights
  • enable dynamic in-flight batching for high-throughput serving
  • tune sampling parameters for batched prompt generation

Example prompts for the agent

  • Generate a script to launch trtllm-serve for meta-llama/Meta-Llama-3-8B across 4 GPUs.
  • Show me how to load a model in FP8 precision using tensorrt_llm.LLM.
  • Help me configure sampling parameters to process 100 prompts in batches.

How to install inference-serving-tensorrt-llm

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/inference-serving-tensorrt-llm

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill inference-serving-tensorrt-llm -a claude-code

3Manually: put the files in place

~/.claude/skills/inference-serving-tensorrt-llm/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/inference-serving-tensorrt-llm/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about inference-serving-tensorrt-llm

How do I install inference-serving-tensorrt-llm in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/inference-serving-tensorrt-llm in your terminal.

What does inference-serving-tensorrt-llm do?

It equips Claude Code with deployment patterns and code examples for NVIDIA TensorRT-LLM. The skill helps configure distributed serving, batching, and quantization.

What environment is required to use TensorRT-LLM?

You need NVIDIA GPUs such as A100 or H100, Python between 3.10 and 3.12, CUDA 13.0.0, and TensorRT 10.13.2. Projects deployed on CPUs or Apple Silicon should use llama.cpp instead.

Similar skills

All skills for AI and ML →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor