-
Notifications
You must be signed in to change notification settings - Fork 25
BUG: disable import cuda error when cpu only in a shared python env #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: disable import cuda error when cpu only in a shared python env #47
Conversation
Codecov Report
@@ Coverage Diff @@
## main #47 +/- ##
==========================================
- Coverage 93.84% 90.23% -3.61%
==========================================
Files 42 42
Lines 3361 3358 -3
Branches 672 349 -323
==========================================
- Hits 3154 3030 -124
- Misses 136 244 +108
- Partials 71 84 +13
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Shared python environments that contain cuda-related environments but do not actually have GPU environments on the machine only show warnings.
Fixes xorbitsai/xorbits#595
Check code requirements