Skip to content

[AINode] Fix backend auto-selection#17314

Merged
CRZbulabula merged 2 commits intomasterfrom
fix-backend-selection
Mar 19, 2026
Merged

[AINode] Fix backend auto-selection#17314
CRZbulabula merged 2 commits intomasterfrom
fix-backend-selection

Conversation

@CRZbulabula
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.88%. Comparing base (599ad8b) to head (fe2c610).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CRZbulabula CRZbulabula merged commit 75364c2 into master Mar 19, 2026
29 of 31 checks passed
@CRZbulabula CRZbulabula deleted the fix-backend-selection branch March 19, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants