I am experiencing an issue with the NVIDIA NIM for LLM (v2.0.2) regarding the dynamic loading of LoRA adapters from a remote source.
Environment:
-
Helm Chart: NeMo Microservices Helm Chart v25.12.0
-
Image:
nvcr.io/nim/openai/gpt-oss-20b:latest(NIM Version 2.0.2 / vLLM 0.19.0) -
Infrastructure: Kubernetes (Scaleway Kapsule)
-
Deployment Method: NIMService CRD (NVIDIA Operator) managed by the NeMo Microservices framework.
-
GPU: NVIDIA H100 PCIe (80GB)
Issue Description: I am trying to configure the NIM to pull LoRA adapters from a remote NeMo Entity Store (deployed via the 25.12.0 Chart) using the NIM_PEFT_SOURCE environment variable.
However, the internal lora.py script in NIM v2.0.2 seems to treat any string provided to NIM_PEFT_SOURCE as a local directory path, regardless of the protocol prefix. Even when providing a full cluster-internal URL, the NIM prepends /opt/nim/ to the address, resulting in a “directory does not exist” error and preventing the LoRA watcher from connecting to the remote store.
Logs:
Plaintext
{"level":"INFO","time":"...","file_name":"actions.py","line_number":1080,"message":"Resolved configuration: {\"event\": \"nim_config_resolved\", \"config\": {\"enable_lora\": {\"value\": true, \"source\": \"PROFILE\"}}}"}
{"level":"WARNING","time":"...","file_name":"lora.py","line_number":45,"message":"NIM_PEFT_SOURCE: does not exist: /opt/nim/http:/nemo-entity-store.nemo.svc.cluster.local:8000"}
{"level":"INFO","time":"...","file_name":"actions.py","line_number":476,"message":"Dynamic LoRA watcher enabled: monitoring /opt/nim/http:/nemo-entity-store.nemo.svc.cluster.local:8000 (refresh interval: 30s)"}
Configurations tested without success:
-
NIM_PEFT_SOURCE: "http://nemo-entity-store.nemo.svc.cluster.local:8000" -
NIM_PEFT_SOURCE: "nemo-as-a-service:http://..." -
Setting
NIM_PEFT_SOURCE_TYPE: "nemo"combined withNIM_REMOTE_ENTITY_STORE_URL.
In every case, the container logs show the NIM trying to find a local folder named after the URL inside /opt/nim/, and the /v1/models endpoint only shows the base model.
Questions:
-
Does NIM v2.0.2 (vLLM 0.19.0) still support direct HTTP polling of the NeMo Entity Store via
NIM_PEFT_SOURCEas described in the documentation? -
Is there a specific environment variable or flag required in the 25.12.0 Chart to force the NIM to bypass the
os.path.join("/opt/nim", source)logic in the entrypoint scripts? -
Is the use of an external sidecar now mandatory for this specific NIM version when using a remote store, or is there a specific syntax for the
NIMServiceenvironment variables that I am missing?
Thank you for your assistance.