Environment Variables#
Configure NIM for BGR behavior at container startup using the following environment variables.
Required Variables#
The following variable is required for authenticated access to the NGC container registry:
Variable |
Required |
Default |
Description |
|---|---|---|---|
|
Yes (for NGC access) |
– |
NGC authentication key used to access the NIM container. The default MACE-MPA-0 checkpoint is downloaded separately from Hugging Face. |
Configuration Variables#
Use the following variables to configure the NIM:
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Model architecture: |
|
string |
null |
Path to the model file or directory inside the container. |
|
bool |
true |
Backend PBC mode. When true, every request structure must include |
|
int |
null |
Fixed batch size ( |
|
string |
|
Dataset used for automatic batch-size estimation: |
|
float |
0.005 |
Force tolerance (eV/Å). Can be overridden per request. |
|
int |
2000 |
Backend-wide maximum optimization steps, set at startup. |
|
bool |
false |
Enable cell optimization. Can be overridden per request. |
|
float |
0.5 |
Pressure tolerance (kBar) for cell optimization. Can be overridden per request. |
|
string |
|
Optimizer preset: |
|
bool |
false |
Enable DFT-D3(BJ) dispersion correction. |
|
string (JSON) |
null |
JSON string containing custom DFT-D3(BJ) parameters. Custom models require |
Container Runtime Variables#
Use the following variables to configure the container runtime:
Variable |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
HTTP port for the inference API. |
|
No |
false |
Whether to disable the automatic startup download of the default MACE-MPA-0 checkpoint from Hugging Face. Set to |
For launch examples, refer to Quickstart Guide, Custom Models, and Tuning Parameters.