Prerequisites
Before you deploy a NIM LLM and VLM container, confirm that your environment meets the following requirements.
Hardware Requirements
The following table lists the minimum hardware requirements:
Model GPU Memory Requirements
GPU memory requirements depend on the model, profile, and number of GPUs.
Confirm that your chosen hardware configuration meets the minimum GPU memory requirement for the model profile you wish to run. For more information, refer to Model Profiles and Support Matrix for PB NIMs.
Software Requirements
The following table lists the minimum software versions:
Operating System
While other Linux distributions can be compatible with NIM LLM and VLM, they have not been officially validated.
Use Ubuntu 22.04 LTS or later for the best experience.
CUDA SDK
Install CUDA SDK by following the CUDA installation guide for Linux.
GPU Drivers
Install the NVIDIA GPU drivers by following the NVIDIA Driver Installation Guide.
Docker
Docker is required to run the containerized NIM services.
-
Install Docker Engine for your Linux distribution by following the Docker Engine installation guide.
-
Verify that the Docker daemon is running and that your user can execute
dockercommands withoutsudo. Add your user to thedockergroup if needed: -
Log out and log back in so the group change takes effect.
Container Toolkit
The NVIDIA Container Toolkit enables Docker containers to access the host GPU.
-
Install the toolkit by following the NVIDIA Container Toolkit installation guide.
-
Configure Docker to use the NVIDIA runtime by following the Docker configuration steps.
-
Restart the Docker daemon after configuration:
NIM Container Access
PB7 containers require an active NVIDIA AI Enterprise entitlement. To request an evaluation license, see Ways to Get Started With NVIDIA AI Enterprise and Activate Your NVIDIA AI Enterprise License.
Generate Access Credentials
NGC Personal API Key
For this guide, create an NGC Personal API key to pull either type of PB7 container from NGC. Serving startup requires a valid NGC API key whenever NIM needs to download model files, including from Hugging Face.
- Generate a Personal API Key on the Setup API Keys page.
- Select at least NGC Catalog from the Services Included list.
Hugging Face Access Token
For a gated or private Hugging Face model, create a Hugging Face access token with read access to the model repository in addition to your NGC Personal API key. For other model sources, refer to Model Downloads.
Verify NVIDIA Runtime Access
To confirm that your setup is correct, run the following command:
This command should produce output similar to one of the following, where you can confirm CUDA driver version, and available GPUs.