Repository navigation
MRG: Use cupy instead of pycuda+skcuda - #5452
Conversation
|
Do you think cupy will be maintained reliably? That should probably also be a concern. Otherwise - looks great! |
|
Diff looks great! |
|
The cupy linalg parts already work better than their skcuda counterparts, which bodes well for it bring better maintained. And looking at the pulse it looks pretty actively maintained. |
Codecov Report
@@ Coverage Diff @@
## master #5452 +/- ##
==========================================
+ Coverage 87.57% 88.23% +0.65%
==========================================
Files 358 358
Lines 66366 66365 -1
Branches 11264 11270 +6
==========================================
+ Hits 58119 58554 +435
+ Misses 5460 5002 -458
- Partials 2787 2809 +22 |
|
Okay I worked out bugs and updated the CUDA instructions, which got much simpler because you can just do |
|
(Turns out they are quick to respond to PRs, too: cupy/cupy#1538) |
|
Failures are unrelated and are in matplotlib/matplotlib#11877, might need to add an |
|
trying a linux machine I get before enabling cuda: thoughts? |
|
Do you also have this error on What is your |
|
You should have this on |
|
Updated the decorator to reflect when |
|
worked like a charm on my desktop machine with CUDA. I will tick the box "Get @agramfort on board" above and merge :) |
It turns out using
cupy:ReceptiveFieldshould be easier)So I think in this release we should probably support just
cupy. I don't think the burden is so high on users, as it was very easy to install on my system (easier thanpycudafor example). I don't think it's a great idea to support both for a release because it will be a lot more work and complications in our code base, but we can do it if absolutely necessary.Todo:
whats_new.rstCloses #5439.