Quickstart Guide
Complete the Prerequisites before you start.
For custom or alternative models, refer to Custom Models. For advanced request workflows, refer to Examples.
Pull the NIM Container
Run the following command to pull the container:
Run the NIM Container
Pre-bundled model: The default configuration uses the MACE-MPA-0 model, which is bundled and auto-downloaded when an NGC API key is provided. No manual model download or mount is required for the default use case.
Run the following command to start the NIM container and expose port 8000 for interaction:
The output should display messages similar to the following:
At this point, the server might perform automatic batch size estimation (unless
you set ALCHEMI_NIM_BATCH_SIZE), which produces output similar to the
following:
After initialization is complete, the Triton server starts and is ready when the following logging statements appear:
Check the Health of the NIM
Open a new terminal, leaving the current terminal open with the launched service.
In the new terminal, run the following command to query the health check:
Wait until the health check endpoint returns {"status":"ready"} before you
proceed. This can take a couple of minutes while the NIM estimates optimal batch
sizes for the GPU.
To check the NIM’s status using Python, use the requests module:
Basic Inference Request
For the request format and required atomic data fields, refer to API Reference.
Install the Python library used in the code sample:
The following code sample demonstrates a simple inference request with a hydrogen molecule in a periodic cell:
Configuration Options
For the complete configuration reference and all environment variables, refer to Configuration and Environment Variables.
Stop the NIM Container
Run the following command to stop the running NIM container: