question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing with CuPy 9

See original GitHub issue

Currently CuPy is doing pre-releases for 9. Both prebuilt wheels and Conda packages exist. It would be good to try things out with the pre-releases and make sure things are looking ok.

Should add a lot of functionality has been filled out in cupyx.scipy.ndimage. So it might be worth checking if this unlocks anything that we were blocked on here previously. For example morphological operations ( https://github.com/dask/dask-image/pull/157 ) come to mind

cc @grlee77 (for awareness)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jakirkhamcommented, Mar 1, 2021

Thanks for doing that Genevieve! 😄 Glad you were able to test that out locally 🙂

1reaction
GenevieveBuckleycommented, Mar 1, 2021

Just tried it now & all the cupy tests we have pass locally on my machine with cupy=9.0.0b3 and the dask-image main branch.

============================= test session starts ==============================
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/genevieve/GitHub/dask-image, configfile: pytest.ini
collected 1422 items                                                           

tests/test_dask_image/test_imread/test_core.py ......................... [  1%]
........................................................................ [  6%]
..............                                                           [  7%]
tests/test_dask_image/test_imread/test_cupy_imread.py .                  [  7%]
tests/test_dask_image/test_ndfilters/test__conv.py ..................... [  9%]
.............................                                            [ 11%]
tests/test_dask_image/test_ndfilters/test__diff.py ..                    [ 11%]
tests/test_dask_image/test_ndfilters/test__edge.py ....................  [ 12%]
tests/test_dask_image/test_ndfilters/test__gaussian.py ................. [ 14%]
..s.......s............................................................. [ 19%]
........                                                                 [ 19%]
tests/test_dask_image/test_ndfilters/test__generic.py .................. [ 21%]
..............                                                           [ 22%]
tests/test_dask_image/test_ndfilters/test__order.py .................... [ 23%]
........................................................................ [ 28%]
....................................................................     [ 33%]
tests/test_dask_image/test_ndfilters/test__smooth.py ...............     [ 34%]
tests/test_dask_image/test_ndfilters/test__threshold.py ................ [ 35%]
....                                                                     [ 35%]
tests/test_dask_image/test_ndfilters/test__utils.py .................... [ 37%]
..........................                                               [ 38%]
tests/test_dask_image/test_ndfilters/test_cupy_ndfilters.py ............ [ 39%]
.....                                                                    [ 40%]
tests/test_dask_image/test_ndfilters/test_cupy_threshold.py ............ [ 40%]
........                                                                 [ 41%]
tests/test_dask_image/test_ndfourier/test__utils.py ..                   [ 41%]
tests/test_dask_image/test_ndfourier/test_core.py ...................... [ 43%]
........s.s..s.s..................................................       [ 47%]
tests/test_dask_image/test_ndinterp/test_affine_transformation.py ...... [ 48%]
........................................................................ [ 53%]
........................................................................ [ 58%]
........................................................................ [ 63%]
........................................................................ [ 68%]
........................................................................ [ 73%]
..                                                                       [ 73%]
tests/test_dask_image/test_ndmeasure/test__utils.py ...........          [ 74%]
tests/test_dask_image/test_ndmeasure/test_core.py ...................... [ 76%]
........................................................................ [ 81%]
.............s.........s................................................ [ 86%]
........................................................................ [ 91%]
................................                                         [ 93%]
tests/test_dask_image/test_ndmorph/test__utils.py ...................... [ 95%]
..............                                                           [ 96%]
tests/test_dask_image/test_ndmorph/test_ndmorph.py ..................... [ 97%]
...................................                                      [100%]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — CuPy 11.4.0 documentation
Currently, CuPy is tested against Ubuntu 18.04 LTS / 20.04 LTS (x86_64), CentOS 7 / 8 (x86_64) and Windows Server 2016 (x86_64). Python...
Read more >
CuPy – A NumPy-compatible array library accelerated by CUDA
CuPy – A NumPy-compatible array library accelerated by CUDA¶ · Basics of CuPy · User-Defined Kernels · Accessing CUDA Functionalities · Memory Management ......
Read more >
Test support (cupy.testing) — CuPy 11.4.0 documentation
NumPy-CuPy Consistency Check#. The following decorators are for testing consistency between CuPy's functions and corresponding NumPy's ones.
Read more >
v9 PDF - CuPy Documentation
Python: v3.6.0+ / v3.7.0+ / v3.8.0+ / v3.9.0+. Note: Currently, CuPy is tested against Ubuntu 18.04 LTS (x86_64), CentOS 7 (x86_64) and ...
Read more >
Basics of CuPy — CuPy 11.4.0 documentation
Basics of cupy.ndarray#. CuPy is a GPU array backend that implements a subset of NumPy interface. In the following code, cp is an ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found