Environment Variables for NVIDIA NeMo Retriever Embedding NIM#
Use this documentation to learn about the environment variables for NVIDIA NeMo Retriever Embedding NIM.
Binary Environment Variables#
The following table contains the binary environment variables.
Name |
Default |
Description |
|---|---|---|
|
Pretty |
The log emit format. One of: pretty, json, compact. |
|
false |
Selects latency-oriented ( |
|
error |
The tracing EnvFilter. |
|
false |
True to print env-var help and exit. |
Server Environment Variables#
The following table contains the server environment variables.
Name |
Default |
Description |
|---|---|---|
|
0.0.0.0:8000 |
The HTTP listen address (host:port). |
|
- |
The optional KServe V2 gRPC listen address (host:port). Empty disables gRPC. |
|
- |
The maximum inbound KServe gRPC message size in bytes. Empty uses the effective HTTP body limit. |
|
- |
The HTTP request body limit for |
|
- |
The maximum allowed bytes for an embedded image payload in a single request, for models that support image inputs. |
|
1024 |
The batcher request queue depth. Must be a positive integer. In version 2.2.0, setting this value to |
|
0 |
The maximum milliseconds to wait for additional requests before dispatching a batch. Defaults to |
|
120 |
The request timeout in seconds. |
|
- |
Comma-separated legacy served model aliases for |
|
- |
The path to PEM certificate chain for HTTPS. When set with |
|
- |
The path to PEM private key for HTTPS. Must be set together with |
Pipeline Environment Variables#
The following table contains the pipeline environment variables.
Name |
Default |
Description |
|---|---|---|
|
1 |
The number of CudaEngine instances. Defaults to |
|
- |
The comma-separated CUDA device ordinals for explicit engine placement (e.g. |
|
1 |
The number of sequences per forward pass. Defaults to |
|
0 |
The optional post-tokenization token budget per embed GPU dispatch. |
|
- |
The maximum sequence length override. When unset, the model profile default is used. |
Engine Environment Variables#
The following table contains the engine environment variables.
Name |
Default |
Description |
|---|---|---|
|
- |
The Hugging Face token for model download. Passed through to the model downloader. For details, refer to Get Started With NVIDIA NeMo Retriever Embedding NIM. |
|
- |
The NGC API key for model download when |
|
false |
Set to |
|
auto |
The model download provider. One of: |
|
- |
The model name returned in embedding responses. The default model depends on the container and can be one of: |
|
/model/embed |
The in-container path for staged model artifacts. The directory must contain artifacts for a supported model. For details, refer to Custom Model Artifact Support in NVIDIA NeMo Retriever Embedding NIM. |
|
- |
The weight precision. One of: |
|
- |
Compile all CUDA artifacts then exit 0 (passthrough). |