Prerequisites
Alpamayo 2 Super. For the previous generation, see Alpamayo 1.5 Prerequisites.
This page outlines the hardware and software requirements for running Alpamayo 2 Super NIM. Shell examples use Bash on the Docker host; run bash first if your login shell is different. You need permission to use Docker and create the cache directory. Client examples use curl and Python 3; external gRPC examples also install their listed packages.
Hardware Requirements
-
GPU: One GPU per container. See Support Matrix for supported GPUs and profile memory requirements.
-
CPU: x86_64 architecture is supported. The container image is built for
linux/amd64only. -
CPU memory: At least 64 GB of RAM is recommended.
-
Disk space: Budget for the workflow you will run, including Docker’s image storage,
LOCAL_NIM_CACHE, checkpoints, and any staging directory. The following approximate peaks were observed while following the documented workflows on one host; retain additional free space for downloads and logs.Example disk budgets
Sizes are decimal gigabytes (109 bytes).
df -handdu -hreport binary units, so 115 GB appears as about107G. The image and the BF16 weights alone take about 109 GB; the first row adds room for image layers while they are pulled and extracted.If the connected staging host and offline target are separate machines, budget their image archive, cache archive, and extracted cache separately.
Software Requirements
- Operating system: Any Linux distribution supported by NVIDIA Container Toolkit with
glibc2.35 or later. - NVIDIA GPU driver: Version 580 or later.
- CUDA drivers: Follow the CUDA installation guide. The CUDA toolkit is not required on the host because required CUDA libraries are packaged in the container.
- Docker: Version 23.0.1 or later. Follow the Docker Engine installation guide.
- NVIDIA Container Toolkit: Version 1.16.2 or later. Follow the NVIDIA Container Toolkit installation guide.
Container Shared Memory
Use --shm-size=16g with Docker to provide shared memory for communication between the model’s worker processes. The NIM checks free space in /dev/shm before loading the model. When it is smaller than the backend’s shared-memory region (for example Docker’s 64 MB default), startup fails before model load with Unable to initialize shared memory. Start Docker with --shm-size=16g .... For Kubernetes, use the memory-backed /dev/shm mount described in Deploy with Helm.
NGC Access
You need an NGC account and an API key with access to the NGC Catalog. Create and export the key as described in Export the API Key, then authenticate Docker:
The key is also passed to the container on its first connected startup. For an offline deployment, first prepare the cache by following Air-Gapped Deployment.
Configuration and Verification
Every launch command uses --runtime=nvidia, so Docker must have the nvidia runtime registered. sudo nvidia-ctk runtime configure --runtime=docker followed by a Docker restart registers it. Confirm that it is present:
After configuring NVIDIA Container Toolkit for Docker, verify GPU access. This check uses the public ubuntu image, which Docker downloads from Docker Hub if it is not already present. On a host without Docker Hub access, run the same check later with the NIM image by adding --entrypoint nvidia-smi and using "$IMG_NAME" in place of ubuntu.
The command should list the GPU and driver version. Lines beginning ERROR: driverInitFileInfo before the table are benign and also appear at the top of NIM logs; see Known Issues and Limitations. Each Alpamayo container uses exactly one GPU: replace 0 with the index of the GPU allocated to you, and use --gpus device=<index> rather than --gpus all in every launch command. Startup and list-model-profiles stop with a one-line error when more than one GPU is visible in the container.
Host Python client setup requires python3-venv (or the equivalent distribution package). The documentation installs host Python packages in a virtual environment because distributions that mark the system Python as externally managed, such as Ubuntu 24.04, reject a system-wide pip install.
Container User and Cache Ownership
The container runs as user nvs with UID and GID 1000:1000. The cache directory you mount at /opt/nim/.cache must be writable by that UID, including on later warm starts; the documented launch commands create a dedicated cache and set mode 1777 so no sudo is needed. BYOC checkpoint files must be readable by UID 1000. On shared hosts, prefer an administrator-managed directory owned by 1000:1000 and refer to Configuring a NIM.
Files the NIM writes in the cache belong to UID 1000. If your host account has a different UID, you may be unable to delete them directly. Remove them from a short-lived container running as UID 1000 instead of using sudo. Stop every container that uses the cache first, and do not delete a cache shared with other deployments:
LOCAL_NIM_CACHE and IMG_NAME are the variables defined in Quickstart Guide. The NIM creates its download and compilation directories directly under the mounted cache root, so mount a dedicated directory rather than a directory that also holds other data.