Getting Started
This section describes how to launch GenMol NIM v2.0.0 and submit your first request.
Prerequisites
Review the Prerequisites and Support Matrix before launching the container.
Launch GenMol NIM
- Authenticate with the NGC container registry.
- Pull the NIM container.
- Run the container with a persistent cache mount.
Set NGC_API_KEY in your shell before launching the container. For more information, refer to the NGC personal API key guide.
- Open a new terminal and wait for the service to become ready.
Example output:
Run Inference in Linux Shell
Example response:
Run Inference With Python
Input and Output Format
The input is a SAFE text sequence with masked fragments as a template for molecular generation. SAFE extends SMILES with explicit fragment and attachment-point structure. The masked fragment placeholder uses the form [*{min_len-max_len}], where min_len and max_len specify the number of tokens to generate for that region.
If an empty template is provided, the model performs de novo generation. If a partial SAFE or SMILES template is provided, the model performs conditioned generation such as motif extension, scaffold decoration, or linker design.
Stop the Container
When you are done, stop the container: