[AINode] Fix backend auto-selection#17314
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts AINode’s device backend auto-selection logic to prefer CUDA when available and adds logging around the chosen backend / fallback behavior.
Changes:
- Restrict auto-selection to try CUDA first, otherwise fall back to CPU.
- Add AINode log statements describing backend selection and fallback.
- Update the DeviceManager docstring to reflect the supported backends.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #17314 +/- ##
============================================
- Coverage 39.89% 39.88% -0.01%
Complexity 282 282
============================================
Files 5117 5117
Lines 344511 344511
Branches 43895 43895
============================================
- Hits 137436 137412 -24
- Misses 207075 207099 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



No description provided.