Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use cupyx for scatter_add #330

Merged
merged 1 commit into from
Mar 24, 2020
Merged

use cupyx for scatter_add #330

merged 1 commit into from
Mar 24, 2020

Conversation

svlandeg
Copy link
Member

@svlandeg svlandeg commented Mar 24, 2020

cupy.scatter_add has been moved to cupyx.scatter_add. It was already deprecated for some time, but now this is actually breaking since cupy-cuda v8.

Fixes explosion/spaCy#5193

@honnibal honnibal merged commit f7512ec into explosion:master Mar 24, 2020
@svlandeg svlandeg deleted the fix/cupyx branch March 24, 2020 15:32
@svlandeg svlandeg added bug Bugs and behaviour differing from documentation feat / ops Backends and maths labels Mar 24, 2020
adrianeboyd added a commit to adrianeboyd/thinc that referenced this pull request Dec 3, 2020
Backport the `cupyx.scatter_add` fix to v7.
adrianeboyd added a commit to adrianeboyd/thinc that referenced this pull request Dec 3, 2020
Backport the `cupyx.scatter_add` fix to v7.
adrianeboyd added a commit to adrianeboyd/thinc that referenced this pull request Dec 3, 2020
Backport the `cupyx.scatter_add` fix to v7.
honnibal pushed a commit that referenced this pull request Dec 4, 2020
* Backport #330: Use cupyx for scatter_add

Backport the `cupyx.scatter_add` fix to v7.

* Use ops.scatter_add instead of ops.xp.scatter_add

* Update cupy pins in extras_require

Remove restriction to `cupy<8.0.0` after updating to use
`cupyx.scatter_add`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and behaviour differing from documentation feat / ops Backends and maths
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spacy[cuda100] installs cupy-cuda100 8.0.0b1, which has a breaking change
2 participants