Prerequisites
Before you begin using the OpenFold3 NIM, ensure the following requirements described on this page are met.
-
Begin with a Linux Distribution that supports NVIDIA Driver 590 or later
-
The OpenFold3 NIM runs CUDA 13.2. NVIDIA recommends Driver 590.44.01 or later; refer to the compatibility matrix
-
To check your OS version, refer to Collect system information.
-
Set up a NIM cache
-
Install NVIDIA Driver - minimum version: 590.44.01
-
Install Docker - minimum version: 23.0.1
-
Install the NVIDIA Container Toolkit - minimum version: 1.13.5
The installation and setup workflows work with the following system architectures:
- Ubuntu 22.04 / 24.04 and amd64 (x86_64)
- Ubuntu 24.04 with arm64 (aarch64)
- Without NVSwitch. For systems with NVSwitch, you may need fabricmanager. To get fabricmanager, refer to Installing the GPU Driver.
Known Issues
- There are known issues with NVIDIA Driver 580.105.08 on Hopper GPUs subrevision 3.
Set Up Your NIM Cache
The NIM needs a directory on your system called the NIM cache, where it can
download the model artifact (model checkpoints) and read it on later runs. The
container runs as UID/GID 1000 (nvs). The directory must be writable by that
user.
The NIM cache directory must reside on a disk with at least 15 GB of storage. Create it and restrict it to that user:
Leave the container user unchanged. Model initialization creates /opt/nim/workspace under /opt/nim, which the image assigns to UID/GID 1000. A different non-root UID can write a bind-mounted cache and still fail with PermissionError when creating the workspace. If your host UID is not 1000, the preceding chown assigns the cache to 1000:1000.
On a shared system, chmod 750 is an alternative to 700 when the directory group is GID 1000.
You can now pull the NIM container; refer to Getting Started. You cannot run the NIM until you complete the installation of the NVIDIA Driver, CUDA, Docker, and the NVIDIA Container Toolkit.
Install the NVIDIA Driver, CUDA, Docker, and NVIDIA Container Toolkit Stack
Collect System Information
Before installation, collect your system information to determine the appropriate installation path.
- Determine the OS version:
- Determine the GPU model:
If you see a message like Command 'nvidia-smi' not found, attempt to
determine GPU model with the following command:
- Determine the CPU architecture:
Installation Instructions by Architecture
Select the appropriate section based on your CPU architecture identified in the previous step:
Installation for amd64 / x86_64 Systems
For systems with amd64 or x86_64 CPU architecture (H100, H200, A100, L40S, B200)
1. Find and Download Driver Package
a. On your local machine (with browser), visit the NVIDIA Drivers download page, and observe the fields in the ‘Manual Driver Search’ dialogue box.
b. Enter your system information:
For H100, H200, A100, L40S:
For B200:
c. Click Find to find driver version 590.44.01 or higher
d. On the results page, click View
e. On the next page, right-click the Download button and select Copy Link Address
Some distributions like Ubuntu, Debian, or RHEL have distribution-specific packages (.deb, .rpm). For other distributions, use the .run installer.
2. Direct Driver URLs
For Ubuntu 24.04 (Noble):
For Ubuntu 22.04 (Jammy):
For RHEL 8/Rocky Linux 8:
Always check the NVIDIA Driver Downloads page for the latest driver version compatible with your GPU and OS.
3. Recommended: Check and Purge Old Drivers
This step prevents driver library version conflicts. If you have an existing NVIDIA driver older than version 590, NVIDIA recommends purging it before installing the new driver.
4. Download the Driver
5. Install the Local Repository
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
6. Update Package Lists and Install Driver
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
7. Reboot System
8. Verify Driver Installation
After reboot, verify the driver:
Expected output:
9. Install Docker
Verify Docker is installed with version 23.0.1 or later:
If Docker is not installed or does not meet requirements:
- For Ubuntu: Follow the instructions in Install using the apt repository
- For other distributions: Refer to docs.docker.com/engine/install
10. Install NVIDIA Container Toolkit
Verify the NVIDIA Container Toolkit:
If not installed:
- Follow Installing the NVIDIA Container Toolkit
- Configure Docker: Configuring Docker
11. Verify the Complete Stack
Example output:
For more information on enumerating multi-GPU systems, refer to the NVIDIA Container Toolkit’s GPU Enumeration Docs.
Installation for arm64 / aarch64 DGX Systems
For arm64 / aarch64 DGX Systems (for example, DGX GB200 Compute Tray)
These steps follow the NVIDIA DGX OS 7 User Guide: Installing the GPU Driver, customized for DGX GB200 Compute Tray with:
- 2x Grace CPUs (arm64 / aarch64)
- 4x Blackwell GPUs
- Ubuntu 24.04
- Linux kernel version 6.8.0-1044-nvidia-64k
1. Check NVIDIA Driver State
Check the running driver version:
Example successful output:
- If the running driver version is 590 or later, skip to Step 9
- If
nvidia-smifails, proceed to Step 2
2. Confirm OS Sees NVIDIA GPUs
The following commands use lshw and jq. If they are not installed, install them with sudo apt install -y lshw jq.
Product-specific information:
3. Verify System Requirements
Check your Linux distribution, kernel version, and gcc version:
Example output:
Verify against Table 3: Supported Linux Distributions.
4. Update the Linux Kernel Version If Needed
For GB200 systems, use kernel version 6.8.0-1044-nvidia-64k or 6.8.0-1043-nvidia-64k.
If you have a different kernel version, configure grub:
5. Remove NVIDIA Libraries to Avoid Conflicts
Check for existing NVIDIA libraries:
If not empty, remove them:
6. Download Package Repositories and Install DGX Tools
Follow Installing DGX System Configurations and Tools:
a. Download and unpack ARM64-specific packages:
b. Update local APT database:
c. Install DGX system tools:
d. Install linux-tools for your kernel:
e. Install NVIDIA peermem loader:
7. Install GPU Driver
Follow Installing the GPU Driver:
a. Pin the driver version:
b. Install the open GPU kernel module:
c. Enable the persistence daemon:
d. Reboot:
8. Verify Driver Installation
After reboot, repeat Step 1 to check NVIDIA Driver.
9. Install Docker and NVIDIA Container Toolkit
Follow Installing Docker and the NVIDIA Container Toolkit.
Verify the stack:
10. Optional: Enable Docker for Non-Root User
Refer to Manage Docker as non-root user.
11. Verify Complete Stack
Expected output:
Run on Slurm With Enroot
This section describes how to run the OpenFold3 NIM on a Slurm-based HPC cluster using Enroot to run the NGC container.
Environment
- Enroot: Version 3.4.1 or newer is supported.
1. Check That Enroot Is Available
On the login node, verify Enroot is installed:
If Enroot is not installed, contact your cluster administrator. Typical path: /usr/bin/enroot.
Create the Enroot config directory if it does not exist:
2. Configure and Run the Slurm Job Script
Copy the following script to a file, such as run_openfold3_slurm.sh. Set the variables at the top for your cluster and paths:
- ACCOUNT: Slurm account name
- PARTITION: Slurm partition (for example,
interactiveorgpu) - ROOT_DIR: Your working directory on the cluster (for example, Lustre or NFS path)
- NGC_IMAGE: NGC image with tag; use
#between registry and image path for Enroot (refer to the following example script)
Use a shared filesystem path for ROOT_DIR and CACHE_PATH so that the SQSH image and cache are visible from the node where the job runs. Use a node-local or large-quota path for TMP_PATH if /tmp has strict quotas (for example, Lustre scratch).
Save the following as run_openfold3_slurm.sh and run it with bash run_openfold3_slurm.sh to avoid copy-paste or quoting issues:
Submit the job (interactive):
Or, for a batch job, wrap the same script body in a sbatch script and set ACCOUNT, PARTITION, and other Slurm directives as needed.
3. Call the API From Your Machine
After the container is running on a compute node, the script prints the node name, such as batch-block1-2106, and saves it to ROOT_DIR/.openfold3_node.
-
From your laptop or the login node, create an SSH tunnel to that node:
Or use the node name directly if you know it:
-
In another terminal (with the tunnel still open), run a test request:
If the request succeeds, you get a JSON response containing the prediction result.
Troubleshooting
Common Issues
Driver version mismatch: If nvidia-smi shows an older driver version, ensure you have rebooted after installation.
CUDA version mismatch: The driver must support CUDA 13.x. Check the CUDA version in the nvidia-smi output. If your system shows CUDA 12.x, you need to install driver 590.44.01 or higher.
To verify CUDA compatibility:
- Check current driver:
nvidia-smi - Verify CUDA version shows 13.0 or higher
- If not, refer to NVIDIA CUDA Compatibility
Secure Boot (amd64 systems): If you have Secure Boot enabled, you may need to sign the NVIDIA kernel modules or disable Secure Boot in your BIOS.
Library version conflicts: If you encounter library version conflicts, ensure all old NVIDIA packages are removed before installing the new driver.
Architecture-Specific Troubleshooting
For amd64 / x86_64 Systems:
Previous driver versions:
Package conflicts:
For arm64 / aarch64 DGX Systems:
Kernel version issues:
DGX-specific issues:
Build errors for older kernel:
- Ignore build errors for modules built for
6.14.0-1015-nvidia-64k - These errors are expected and do not affect functionality
Getting Additional Help
If you continue to experience issues:
- Check NVIDIA driver logs:
dmesg | grep -i nvidia - Review Docker logs:
sudo journalctl -u docker.service - Consult NVIDIA Driver Installation Guide
- For DGX systems: NVIDIA DGX OS 7 User Guide