File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,13 @@ RUN /app/.venv/bin/python -c "import nmp.core.jobs; import nmp.core.entities; pr
102102# - nvidia-nat-mcp: mcp_client function type support.
103103# - plugins/nemo-agents: exposes `nemo agents ...` commands.
104104# - examples/calculator-agent: registers `_type: calculator` function group.
105- RUN uv pip install --python /app/.venv/bin/python "nvidia-nat[most]" nvidia-nat-atif nvidia-nat-eval nvidia-nat-mcp && \
105+ #
106+ # All nvidia-nat* packages MUST be pinned to the same version. The CLI/meta
107+ # package historically lagged the plugin packages (e.g. nvidia-nat==1.4.3 vs
108+ # nvidia-nat-core/eval/langchain==1.7.0), which caused ImportErrors at plugin
109+ # discovery (e.g. register_dataset_loader) and crashed `nat start fastapi`.
110+ RUN uv pip install --python /app/.venv/bin/python \
111+ "nvidia-nat[most]==1.7.0" nvidia-nat-atif==1.7.0 nvidia-nat-eval==1.7.0 nvidia-nat-mcp==1.7.0 && \
106112 uv pip install --python /app/.venv/bin/python -e /app/plugins/nemo-agents && \
107113 uv pip install --python /app/.venv/bin/python -e /app/plugins/nemo-agents/examples/calculator-agent && \
108114 chown -R harbor:harbor /app/.venv
You can’t perform that action at this time.
0 commit comments