feat(cardwire-cli): improve automatic-gpu selection - #187
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe CLI now classifies available GPUs as laptop, desktop, or manual systems. When no GPU is specified, it filters launchable devices and selects one using the detected system type. ChangesGPU launch selection
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This localized CLI change improves automatic GPU selection, and no actionable merge-blocking risk remains based on the supplied evidence. Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant CLI
participant SystemType
participant GPUDevices
CLI->>GPUDevices: Filter available and launchable GPUs
CLI->>SystemType: Classify the GPU list
SystemType-->>CLI: Return system type
CLI->>GPUDevices: Select GPU by system-specific priority
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Improve the automatic-gpu selection by copying the daemon SystemType enum into the cli, and changes in the Manual GPU Ordering
Fixes # (issue)
TODO
Checklist: