cupy: ModuleNotFoundError with cupy 7.1.0 installed from conda-forge
After installing cupy 7.1.0 from conda-forge, I get the following error, which is mitigated by downgrading to 7.0.0:
In [1]: import cupy as cp
In [2]: a = cp.asarray([1, 2, 3])
In [3]: a.max()
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-f432eed13108> in <module>
----> 1 a.max()
cupy/core/core.pyx in cupy.core.core.ndarray.max()
cupy/core/core.pyx in cupy.core.core.ndarray.max()
cupy/core/_routines_statistics.pyx in cupy.core._routines_statistics._ndarray_max()
cupy/cuda/cub.pyx in cupy.cuda.cub.cub_reduction()
ModuleNotFoundError: No module named 'cupy.core._reduction'
Thanks!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
I’ve released the v7.1.1 hotfix. https://github.com/cupy/cupy/releases/tag/v7.1.1
Sorry for the delay in these PRs. I will merge by the v7.2.0 release.
Thanks for reporting, we’re planning v7.1.1 hotfix release tomorrow. https://github.com/cupy/cupy/pull/2986
It’d be nice to have a hot-fix release v7.1.1 to address this, even though CUB is not enabled in the PyPI wheels yet.
This issue is resolved for me; please feel free to close it. Thanks everyone!
Thank you, @kmaehashi!
FYI we patched this in the conda-forge package. ( https://github.com/conda-forge/cupy-feedstock/pull/32 )
Please set
cp.cuda.cub_enabled=Falsefor the time being.@kmaehashi @emcastillo We really need to get #2584 and #2598 merged asap…CUB bugs just get unnoticed by CI once again…
It appears there is no
cupy.core._reductionin v7.1.0. That was added in PR ( https://github.com/cupy/cupy/pull/2785 ), which only appears to be inmaster. Looks like backport PR ( https://github.com/cupy/cupy/pull/2848 ) caused the issue.