Skip to content

Don't use numpy directly for similarity #3362

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

Merged
merged 2 commits into from
Mar 6, 2019

Conversation

dakinggg
Copy link
Contributor

@dakinggg dakinggg commented Mar 6, 2019

Description

Replace calls to numpy.dot (and one call to numpy.zeros) to work on GPU
Fixes #3348

Types of change

Bug fix

Checklist

  • I have submitted the spaCy Contributor Agreement.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@honnibal
Copy link
Member

honnibal commented Mar 6, 2019

Great! Thanks for taking the time on this.

@honnibal honnibal merged commit 5f40229 into explosion:master Mar 6, 2019
@ines ines added bug Bugs and behaviour differing from documentation gpu Using spaCy on GPU labels Mar 6, 2019
@emiguevara
Copy link

Hi, is there any chance that this fix will be merged and released with 2.0???

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 gpu Using spaCy on GPU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document similarity does not work on gpu with models including word vectors
4 participants