Repository navigation
Closed
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: inferenceInference routing, serving, model selection, or outputsrefactorPR restructures code without intended behavior changev1NemoClaw v1 branch
Milestone
Description
Investigation Summary
targetsincrates/nemoclaw-sdk/src/services/installers/vllm/mod.rssetsplacementandpublicationtoNone(lines 112-113) and serializesServiceDefinition::Vllmas the runtime configuration (line 148), which becomesNEMOCLAW_RUNTIME_SPEC.crates/nemoclaw-sdk/src/services/runtime/mod.rs:21-29parsesServiceDefinitionand calls the configuration'svalidate().ServiceDefinitionis thespec.servicesYAML type, so schema changes are runtime protocol changes.
Description
The runtime has no input type of its own; it consumes the SDK's YAML type with deployment fields blanked.
Parsing the spec requires the SDK's configuration and validation code.
Expected: a runtime-owned spec type carries only serving, model, recipe, memory, and hardware settings.
The SDK builds it from YAML and embeds it; placement and publication remain SDK fields.
Reproduction Steps
Run from a NemoClaw checkout at 515fad88f.
-
Show how the vLLM installer builds the runtime configuration:
sed -n '108,150p' crates/nemoclaw-sdk/src/services/installers/vllm/mod.rs -
Show how the runtime parses it:
sed -n '10,36p' crates/nemoclaw-sdk/src/services/runtime/mod.rs -
Show where the configuration becomes the container environment:
grep -n NEMOCLAW_RUNTIME_SPEC crates/nemoclaw-sdk/src/managed/spec.rs
Environment
- NemoClaw:
v1at515fad88f - OpenShell pin:
1fe79f53991debf32776853a60f0cbd4e127dcfb(versions.json) - NeMo Fabric pin:
24f068c895e5cbc30286bc743498be4e5014d658(crates/nemoclaw-sdk/Cargo.toml) - OpenTofu: 1.12.6 (
versions.json) - Host: macOS arm64 source checkout; static inspection only, no deployment
Debug Output
Not applicable: this finding comes from static source inspection at the revisions above.
No deployment ran, so there is no nemoclaw debug output.
Logs
No response
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Metadata
Metadata
Assignees
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: inferenceInference routing, serving, model selection, or outputsrefactorPR restructures code without intended behavior changev1NemoClaw v1 branch
Activity
cv commentedon Sep 29, 2026
Completed on
v1in 87cdf3f8fe.Added runtime-owned
RuntimeSpecand serving configuration. SDK YAML types retain deployment envelopes for image, container, placement, and publication, and serialize only the runtime-owned settings into the runtime input. The runtime validates that input before starting model work.Validation: Contract tests reject deployment-only fields, invalid preparation limits, and protected authentication settings; SDK schema and default-preservation tests pass. final native CI passed.