Prerequisites for OpenFold3
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).
Install the NVIDIA Driver
To install the NVIDIA driver, complete the following steps:
-
Find and download the driver package:
- On your local machine (with a browser), visit the NVIDIA Drivers download page and observe the fields in the Manual Driver Search dialog box.
- Enter your system information using the values in the following tables.
- Click Find to find driver version 590.44.01 or higher.
- On the results page, click View.
- On the next page, right-click the Download button and select Copy Link Address.
For H100, H200, A100, L40S:
For B200:
Some distributions like Ubuntu, Debian, or RHEL have distribution-specific packages (.deb, .rpm). For other distributions, use the .run installer.
-
Identify the direct driver URL for your OS:
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.
-
(Recommended) Check for 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.
-
Download the driver:
-
Install the local repository:
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
-
Update the package lists and install the driver:
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
-
Reboot the system:
-
Verify the driver installation:
After reboot, verify the driver:
Expected output:
Install Docker and the NVIDIA Container Toolkit
To install Docker and the NVIDIA Container Toolkit, complete the following steps:
-
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
-
Install the NVIDIA Container Toolkit:
Verify the NVIDIA Container Toolkit:
If not installed:
- Follow Installing the NVIDIA Container Toolkit
- Configure Docker: Configuring Docker
-
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
Prepare the DGX System
To prepare the DGX system, complete the following steps:
-
Check the NVIDIA driver state:
Check the running driver version:
Example successful output:
- If the running driver version is 590 or later, the driver is current. Skip ahead to the Install Docker and the NVIDIA Container Toolkit procedure.
- If
nvidia-smifails, continue with the following steps.
-
Confirm the OS sees the NVIDIA GPUs:
The following commands use
lshwandjq. If they are not installed, install them withsudo apt install -y lshw jq.Product-specific information:
-
Verify system requirements:
Check your Linux distribution, kernel version, and gcc version:
Example output:
Verify against Table 3: Supported Linux Distributions.
-
Update the Linux kernel version if needed:
For GB200 systems, use kernel version
6.8.0-1044-nvidia-64kor6.8.0-1043-nvidia-64k.If you have a different kernel version, configure grub:
-
Remove conflicting NVIDIA libraries:
Check for existing NVIDIA libraries:
If not empty, remove them:
Install the GPU Driver
To install the GPU driver, complete the following steps:
-
Download package repositories and install the DGX tools.
Follow Installing DGX System Configurations and Tools:
-
Download and unpack the ARM64-specific packages:
-
Update the local APT database:
-
Install the DGX system tools:
-
Install linux-tools for your kernel:
-
Install the NVIDIA peermem loader:
-
-
Install the GPU driver.
Follow Installing the GPU Driver:
-
Pin the driver version:
-
Install the open GPU kernel module:
-
Enable the persistence daemon:
-
Reboot the system:
-
-
Verify the driver installation.
After the reboot, run
nvidia-smiagain (as in the first step) to confirm the driver is active.
Install Docker and the NVIDIA Container Toolkit
To install Docker and the NVIDIA Container Toolkit, complete the following steps:
-
Install Docker and the NVIDIA Container Toolkit:
Follow Installing Docker and the NVIDIA Container Toolkit.
Verify the stack:
-
(Optional) Enable Docker for a non-root user:
Refer to Manage Docker as non-root user.
-
Verify the 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. Enroot version 3.4.1 or newer is supported.
To run the OpenFold3 NIM on Slurm, complete the following steps:
-
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: -
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_DIRandCACHE_PATHso that the SQSH image and cache are visible from the node where the job runs. Use a node-local or large-quota path forTMP_PATHif/tmphas strict quotas (for example, Lustre scratch).Save the following as
run_openfold3_slurm.shand run it withbash run_openfold3_slurm.shto avoid copy-paste or quoting issues:Submit the job (interactive):
Or, for a batch job, wrap the same script body in a
sbatchscript and setACCOUNT,PARTITION, and other Slurm directives as needed. -
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 toROOT_DIR/.openfold3_node.First, from your laptop or the login node, create an SSH tunnel to that node:
Or use the node name directly if you know it:
Then, 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