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 >=580
- The OpenFold3 NIM runs CUDA 13.0, which requires NVIDIA Driver >=580, see compatibility matrix
- We have confirmed the installation and setup workflow below, on systems (a) with Ubuntu 22.04, (b) without NVSwitch. For systems with NVSwitch, fabricmanager may be needed.
- Install NVIDIA Drivers - minimum version: 580
- Install Docker - minimum version: 23.0.1
- Install the NVIDIA Container Toolkit - minimum version: 1.13.5
Known issues
- There are known issues with NVIDIA Driver 580.95.05 on Hopper GPUs subrevision 3.
Installing NVIDIA Drivers
To install NVIDIA drivers, you can use either your local or remote machine.
Option 1: Interactive Installation (Local Machine)
Visit the NVIDIA Drivers download page and use the dropdown menu to select your GPU and operating system to download the appropriate driver.
Option 2: Command Line Installation (Remote Machine/SSH)
If you’re working on a remote machine over SSH, you can download and install the driver using command line tools:
- Determine your GPU model and OS version:
-
Find the driver 580+ download link:
a. On your local machine (with browser), visit the NVIDIA Drivers download page
b. Select your GPU information:
- Product Type: Tesla (for datacenter GPUs like H100, H200, B200, A100, L40S) or GeForce (for consumer GPUs)
- Product Series: H100, H200, B200, A100, L40S, or your specific GPU series
- Operating System: Linux 64-bit
- Download Type: Production Branch
- Language: English (US)
c. Click Search to find driver version 580 or higher
d. On the results page, right-click the Download button and select Copy Link Address
e. The link will look like:
or for repository installation:
For Ubuntu/Debian, use the .deb package. For RHEL/CentOS, use the .rpm package. For other distributions, use the .run installer.
-
Direct driver URLs for common configurations:
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.
The following commands are for Ubuntu 24.04. If you’re using Ubuntu 22.04 or other versions, replace ubuntu2404 in the URLs and paths with your version (e.g., ubuntu2204 for Ubuntu 22.04).
- Use
wgetto download the driver on your remote machine:
Replace the URL with the appropriate driver version and distribution for your system. Use the URL you copied from step 2 or select from the common configurations listed above.
- Install the local repository using
dpkg(for Ubuntu/Debian):
For RHEL/CentOS/Rocky Linux:
- Update package lists and install the driver:
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
- After installation, reboot to load the new driver:
- After reboot, verify the driver is installed correctly:
You should see output showing your GPU(s) and driver version 580 or higher with CUDA version 13.0 or higher.
Example expected output:
Troubleshooting Driver Installation
Driver version mismatch: If nvidia-smi shows an older driver version, ensure you’ve rebooted after installation.
CUDA version: The driver must support CUDA 13.0 or higher. Check the CUDA version in the nvidia-smi output.
Secure Boot: If you have Secure Boot enabled, you may need to sign the NVIDIA kernel modules or disable Secure Boot in your BIOS.
Previous driver versions: If you have older NVIDIA drivers installed, you may need to remove them first:
Verifying GPU Access
Verify your container runtime supports NVIDIA GPUs by running:
Example output:
For more information on enumerating multi-GPU systems, refer to the NVIDIA Container Toolkit’s GPU Enumeration Docs
NGC (NVIDIA GPU Cloud) Account
- Create an account on NGC
- Generate an API Key
- Docker log in with your NGC API key using
docker login nvcr.io --username='$oauthtoken' --password=${NGC_API_KEY}
NGC CLI Tool
- Download the NGC CLI tool for your OS.
Use NGC CLI version 3.41.1 or newer. Here is the command to install this on AMD64 Linux in your home directory:
- Set up your NGC CLI Tool locally (You’ll need your API key for this!):
After you enter your API key, you may see multiple options for the org and team. Select as desired or hit enter to accept the default.
- Log in to NGC
You’ll need log in to NGC via Docker and set the NGC_API_KEY environment variable to pull images:
Then, set the relevant environment variables in your shell. You will need to set the NGC_API_KEY variable:
- Set up your NIM cache
The NIM needs a directory on your system called the NIM cache, where it can
- (a) download the model artifact (checkpoints and TRT engines)
- (b) read the model artifact if it has been previously downloaded
The NIM cache directory must
- (i) reside on a disk with at least 15GB of storage
- (ii) have a permission state that allows the NIM to read, write, an execute
The NIM cache directory can be set up as follows, if your home directory ’~’ is on a disk with enough storage
Now, you should be able to pull the container and download the model using the environment variables. To get started, see the quickstart guide.