Configuration Alternatives at Runtime
This page is for OpenFold2, version 1.1.0.
For other versions, use one of these documentation indexes:
- 2.6.0 (Latest) (default): https://docs.nvidia.com/nim/bionemo/openfold2/2.6.0/llms.txt
- 2.5.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.5.0/llms.txt
- 2.4.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.4.0/llms.txt
- 2.3.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.3.0/llms.txt
- 2.2.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.2.0/llms.txt
- 2.1.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.1.0/llms.txt
- 2.0.0: https://docs.nvidia.com/nim/bionemo/openfold2/2.0.0/llms.txt
- 1.2.0: https://docs.nvidia.com/nim/bionemo/openfold2/1.2.0/llms.txt
- 1.1.0: https://docs.nvidia.com/nim/bionemo/openfold2/1.1.0/llms.txt
- 1.0.0: https://docs.nvidia.com/nim/bionemo/openfold2/1.0.0/llms.txt
The OpenFold2 NIM allows alternative runtime configurations.
Start the OpenFold2 NIM
To start the NIM:
Notes:
- The
-p option sets the port for the NIM.
- The
-e options define the environment variables, which are passed into the NIM’s container at runtime.
--rm removes the container when it exists.
-it allows interacting with the container directly at the CLI.
Using an alternative port for OpenFold2 NIM requests
If you have other HTTP servers running (for example, other NIMs), you may
need to make the 8000 port available by using another port for your NIM. To use an alternative port:
- Change the exposed port by setting the
-p option.
- Set the
NIM_HTTP_API_PORT environment variable to the new port.
The following is an example of setting the NIM to run on port 7979: