xorbitsai / xoscar

Python actor framework for heterogeneous computing.
https://xoscar.dev
Apache License 2.0
91 stars 21 forks source link

BUG: Lazy_import not return None in a shared python env that contains cuda-related files on a cpu-only machine #50

Open ChengjieLi28 opened 1 year ago

ChengjieLi28 commented 1 year ago

Related https://github.com/xorbitsai/xorbits/issues/595

Check code requirements

codecov[bot] commented 1 year ago

Codecov Report

Merging #50 (f71ffa7) into main (2683f2e) will increase coverage by 0.10%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
+ Coverage   89.00%   89.10%   +0.10%     
==========================================
  Files          47       47              
  Lines        3991     3991              
  Branches      760      760              
==========================================
+ Hits         3552     3556       +4     
+ Misses        356      350       -6     
- Partials       83       85       +2     
Flag Coverage Δ
unittests 88.92% <ø> (+0.10%) :arrow_up:

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

see 2 files with indirect coverage changes

:loudspeaker: Have feedback on the report? Share it here.