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

In initialize only calculate current vectors hash if needed #12607

Merged

Conversation

adrianeboyd
Copy link
Contributor

Description

In initialize only calculate current vectors hash if needed. Otherwise this takes unnecessary time and RAM, and fails on extremely large vectors due to msgpack limits.

Types of change

Bug fix.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • 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.

@adrianeboyd adrianeboyd added bug Bugs and behaviour differing from documentation feat / training Feature: Training utils, Example, Corpus and converters labels May 8, 2023
@adrianeboyd
Copy link
Contributor Author

A case where this fails is in #12584.

@svlandeg svlandeg merged commit 1279b46 into explosion:master May 8, 2023
14 checks passed
adrianeboyd added a commit to adrianeboyd/spaCy that referenced this pull request May 12, 2023
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 / training Feature: Training utils, Example, Corpus and converters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants