fix(models): hardcoded adapters sidecar img#325
Conversation
Signed-off-by: Ben McCown <bmccown@nvidia.com>
Signed-off-by: Ben McCown <bmccown@nvidia.com>
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughLoRA sidecar settings are now exposed as config fields on Docker and K8s backend configs (image name, command, args, optional entrypoint). Docker reconciler and K8s nimservice compiler resolve sidecar containers from those fields instead of hardcoded values. Configuration reference docs describe the new settings. ChangesLoRA Sidecar Configurability
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@services/core/models/src/nmp/core/models/controllers/backends/k8s_nim_operator/config.py`:
- Around line 47-55: The lora_sidecar_command Field allows an empty list which
will cause Kubernetes container creation to fail; update the Field definition
for lora_sidecar_command to add validation by specifying min_length=1 in the
Field call so an empty list is rejected at config validation time (locate the
lora_sidecar_command variable in the config.py and add min_length=1 to its
Field(...) parameters).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 50851ed0-49ad-4835-ae26-14a40fcff694
📒 Files selected for processing (2)
services/core/models/src/nmp/core/models/controllers/backends/k8s_nim_operator/config.pyservices/core/models/src/nmp/core/models/controllers/backends/k8s_nim_operator/nimservice_compiler.py
Signed-off-by: Ben McCown <bmccown@nvidia.com>
Summary by CodeRabbit
New Features
Refactor