Skip to content
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

Revert "BUG: disable import cuda error when cpu only in a shared python env" #49

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

ChengjieLi28
Copy link
Contributor

@ChengjieLi28 ChengjieLi28 commented Jul 17, 2023

Reverts #47

Here' a big issue due to this PR:
When the use's env has some problem (for example, python env has cupy and cudf, while the machine is a cpu machine), this pr will leads to some unexpected problems. Because in this case cudf is not None is True, but when user uses cudf.xxx, problems would happen.

Will fix this in another PR.

@XprobeBot XprobeBot added the gpu label Jul 17, 2023
@XprobeBot XprobeBot added this to the v0.0.9 milestone Jul 17, 2023
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #49 (6f341db) into main (a7c94f7) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   93.75%   93.60%   -0.15%     
==========================================
  Files          42       42              
  Lines        3361     3361              
  Branches      672      672              
==========================================
- Hits         3151     3146       -5     
- Misses        138      144       +6     
+ Partials       72       71       -1     
Flag Coverage Δ
unittests 93.45% <ø> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

Copy link
Contributor

@aresnow1 aresnow1 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@codingl2k1 codingl2k1 left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit c329d28 into main Jul 17, 2023
13 checks passed
@ChengjieLi28 ChengjieLi28 deleted the revert-47-bug/import_cuda_error_when_cpu_only branch July 17, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants