Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
    View All Playbooks
    View All Playbooks

    onboarding

    • Set Up Local Network Access
    • Open WebUI with Ollama

    data science

    • Single-cell RNA Sequencing
    • Portfolio Optimization
    • CUDA-X Data Science
    • Build Knowledge Graphs with txt2kg
    • Optimized JAX

    tools

    • DGX Dashboard
    • RAG Application in AI Workbench
    • Set up Tailscale on Your Spark
    • VS Code
    • Connect Three DGX Spark in a Ring Topology
    • Connect Multiple DGX Spark through a Switch

    fine tuning

    • FLUX.1 Dreambooth LoRA Fine-tuning
    • LLaMA Factory
    • Fine-tune with NeMo
    • Fine-tune with Pytorch
    • Unsloth on DGX Spark

    use case

    • Run Hermes Agent with a Local LLM
    • cuTile Kernels
    • CLI Coding Agent
    • Run NemoClaw with a Local LLM
    • 🦞 Set Up Example NemoClaw Agents 🦞
    • Live VLM WebUI
    • Install and Use Isaac Sim and Isaac Lab
    • Vibe Coding in VS Code
    • Build and Deploy a Multi-Agent Chatbot
    • Connect Two Sparks
    • NCCL for Multiple Sparks
    • Build a Video Search and Summarization (VSS) Agent
    • Spark & Reachy Photo Booth
    • Secure AI Agents with OpenShell
    • Run OpenClaw with a Local LLM

    inference

    • Generate Images and Videos with ComfyUI
    • Serve LLMs with vLLM
    • Speculative Decoding
    • Run models with llama.cpp on DGX Spark
    • Nemotron Model Family on DGX Spark
    • Serve LLMs with SGLang
    • TRT LLM for Inference
    • Quantize Models to NVFP4 with NVIDIA Model Optimizer
    • Multi-modal Inference
    • NIM on Spark
    • LM Studio on DGX Spark

    TRT LLM for Inference

    1 HR

    Install and use TensorRT-LLM on DGX Spark

    • DGX
    • Spark
    View on GitHub
    OverviewOverviewSingle SparkSingle SparkRun on two SparksRun on two SparksOpen WebUI for TensorRT-LLMOpen WebUI for TensorRT-LLMTroubleshootingTroubleshooting

    Basic idea

    NVIDIA TensorRT-LLM (TRT-LLM) is an open-source library for optimizing and accelerating large language model (LLM) inference on NVIDIA GPUs.

    It provides highly efficient kernels, memory management, and parallelism strategies—like tensor, pipeline, and sequence parallelism—so developers can serve LLMs with lower latency and higher throughput.

    TRT-LLM integrates with frameworks like Hugging Face and PyTorch, making it easier to deploy state-of-the-art models at scale.

    What you'll accomplish

    You'll set up TensorRT-LLM to optimize and deploy large language models on your DGX Spark, achieving significantly higher throughput and lower latency than standard PyTorch inference through kernel-level optimizations, efficient memory layouts, and advanced quantization.

    What to know before starting

    • Python proficiency and experience with PyTorch or similar ML frameworks
    • Command-line comfort for running CLI tools and Docker containers
    • Basic understanding of GPU concepts including VRAM, batching, and quantization (FP16/INT8)
    • Familiarity with NVIDIA software stack (CUDA Toolkit, drivers)
    • Experience with inference servers and containerized environments

    Prerequisites

    • DGX Spark device
    • NVIDIA drivers compatible with CUDA 12.x: nvidia-smi
    • Docker installed and GPU support configured: docker run --rm --gpus all nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc13 nvidia-smi
    • Hugging Face account with token for model access: echo $HF_TOKEN
    • Sufficient GPU VRAM (40GB+ recommended for 70B models)
    • Internet connectivity for downloading models and container images
    • Network: open TCP ports 8355 (LLM) and 8356 (VLM) on host for OpenAI-compatible serving

    Ancillary files

    All required assets can be found here on GitHub

    • trtllm-mn-entrypoint.sh — container entrypoint script for multi-node setup

    Model Support Matrix

    The following models are supported with TensorRT-LLM on Spark. All listed models are available and ready to use:

    ModelQuantizationSupport StatusHF Handle
    Nemotron-3-Nano-Omni-30B-A3B-ReasoningBF16✅nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16
    Nemotron-3-Nano-Omni-30B-A3B-ReasoningFP8✅nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-FP8
    Nemotron-3-Nano-Omni-30B-A3B-ReasoningNVFP4✅nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-NVFP4
    Nemotron-3-Super-120BNVFP4✅nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4
    GPT-OSS-20BMXFP4✅openai/gpt-oss-20b
    GPT-OSS-120BMXFP4✅openai/gpt-oss-120b
    Llama-3.1-8B-InstructFP8✅nvidia/Llama-3.1-8B-Instruct-FP8
    Llama-3.1-8B-InstructNVFP4✅nvidia/Llama-3.1-8B-Instruct-FP4
    Llama-3.3-70B-InstructNVFP4✅nvidia/Llama-3.3-70B-Instruct-FP4
    Qwen3-8BFP8✅nvidia/Qwen3-8B-FP8
    Qwen3-8BNVFP4✅nvidia/Qwen3-8B-FP4
    Qwen3-14BFP8✅nvidia/Qwen3-14B-FP8
    Qwen3-14BNVFP4✅nvidia/Qwen3-14B-FP4
    Qwen3-32BNVFP4✅nvidia/Qwen3-32B-FP4
    Phi-4-multimodal-instructFP8✅nvidia/Phi-4-multimodal-instruct-FP8
    Phi-4-multimodal-instructNVFP4✅nvidia/Phi-4-multimodal-instruct-FP4
    Phi-4-reasoning-plusFP8✅nvidia/Phi-4-reasoning-plus-FP8
    Phi-4-reasoning-plusNVFP4✅nvidia/Phi-4-reasoning-plus-FP4
    Qwen3-30B-A3BNVFP4✅nvidia/Qwen3-30B-A3B-FP4
    Llama-4-Scout-17B-16E-InstructNVFP4✅nvidia/Llama-4-Scout-17B-16E-Instruct-FP4
    Qwen3-235B-A22B (two Sparks only)NVFP4✅nvidia/Qwen3-235B-A22B-FP4

    NOTE

    You can use the NVFP4 Quantization documentation to generate your own NVFP4-quantized checkpoints for your favorite models. This enables you to take advantage of the performance and memory benefits of NVFP4 quantization even for models not already published by NVIDIA.

    Reminder: not all model architectures are supported for NVFP4 quantization.

    Time & risk

    • Duration: 45-60 minutes for setup and API server deployment
    • Risk level: Medium - container pulls and model downloads may fail due to network issues
    • Rollback: Stop inference servers and remove downloaded models to free resources.
    • Last Updated: 04/28/2026
      • Docker image 1.3.0rc13; Nemotron Omni reasoning BF16, FP8, NVFP4 in matrix

    Resources

    • TensorRT-LLM Documentation
    • DGX Spark Documentation
    • DGX Spark Forum
    • DGX Spark User Performance Guide
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation