Repository navigation
[REVIEW] Register support for cupy sparse hstack/vstack - #5735
Conversation
|
Thanks @cjnolet ! In principle this looks good to me. It would be good to add tests to this, even if they're not going to be run by CI. Perhaps something like the following? def test_cupy_sparse():
pytest.importorskip("cupyx")
... |
|
There will be tests for this before it's ready for review. I started writing them and found some deltas between cupy and scipy's support for slicing csr matrices, which I believe is going to require further changes to cupy. |
|
OK. Thanks for the update1
…On Fri, Dec 20, 2019 at 9:23 AM Corey J. Nolet ***@***.***> wrote:
@mrocklin <https://github.com/mrocklin>,
There will be tests for this before it's ready for review. I started
writing them and found some deltas between cupy and scipy's support for
slicing csr matrices, which I believe is going to require further changes
to cupy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5735?email_source=notifications&email_token=AACKZTG4YZJPWYQDLDLVY73QZTPORA5CNFSM4J5JSYTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHNGRLA#issuecomment-567961772>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTFSAT5AIHU3H4LX2G3QZTPORANCNFSM4J5JSYTA>
.
|
|
Checking in @cjnolet , are you still working on this or have you moved on? |
|
I am still working on it. Hoping to get back to the initial CuPy PR next week.
…Sent from my iPhone
On Feb 16, 2020, at 12:19 PM, Matthew Rocklin ***@***.***> wrote:
Checking in @cjnolet , are you still working on this or have you moved on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
OK. Thanks for the update @cjnolet ! |
|
@mrocklin @quasiben, I think this is ready for an initial review, now that cupy/cupy#2665 has been approved. The test currently creates the I'm hopeful we can get this PR reviewed and merged in the meantime, while I continue to work through the slicing deltas on the CuPy side. |
|
looks good to me. Verified test pass -- also found a lot of out of scope cupy tests failing which should be fixed in a separate PR. |
|
Ah, i just assumed that was a flaky test. Sorry @TomAugspurger |
|
Done. Thanks @jakirkham! And thanks @quasiben for the quick review! |
jakirkham
left a comment
There was a problem hiding this comment.
To follow-up, here are a couple of suggestions on how we might improve this concatenation test.
Co-Authored-By: jakirkham <[email protected]>
|
@jakirkham quickly verified that your change works with CuPy 8.0.0 and accepted your suggestion. |
|
Opened CuPy issue for remaining sparse slicing issue: cupy/cupy#3178 |
|
Pushed a style fix. Hope that is ok. |
|
The windows 3.7 CI failure was unrelated. Restarted the builds. |
@jakirkham, no problem at all! Thank you for your help on this PR. |
|
How did you restart @TomAugspurger? Seems we are seeing a spurious failure for Windows Python 3.7 again. Or are you ok just merging (since we know it is spurious)? |
|
I think through the GitHub UI. Probably OK to just merge if it's unrelated.
…On Wed, Mar 18, 2020 at 2:08 PM jakirkham ***@***.***> wrote:
How did you restart @TomAugspurger <https://github.com/TomAugspurger>?
Seems we are seeing a spurious failure for Windows Python 3.7 again. Or are
you ok just merging (since we know it is spurious)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5735 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAOIQDXSABLRPCSRWYYUTRIELZBANCNFSM4J5JSYTA>
.
|
|
Yeah I was about to restart via the GitHub UI, but it still thought it was running? So canceled and restarted, but that didn't seem to work (even after a few tries). Sounds like we can ignore it though. So let's do that 🙂 Edit: ...and it passed on |
|
Thanks @cjnolet! 😄 |
black dask/flake8 daskFixes #5604