Quickstart Guide
Complete the Prerequisites before you start.
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 you provide an NGC API key. No manual model download or mount is required for the default use case.
For custom or alternative models (other MACE checkpoints, AIMNet2, or TensorNet), refer to Custom Models.
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:
Example Usage
For the request format and required atomic data fields, refer to API Reference. Note the BMDAtomicData fields (atoms) and MDConfig fields (config) tables.
Install the Python library used in the following code sample:
Basic MD Simulation
The following code sample demonstrates a simple NVT molecular dynamics simulation:
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: