-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
vectors.pyx - dictionary size changed during iteration #9746
Comments
It's frustrating that this so hard to reproduce, but I guess there's no real harm in modifying this on our end. Can you confirm whether changing this to |
@adrianeboyd: I ran the following experiment:
As there was no difference in results, the experiment was inconclusive IMO. The only other option I see is to deploy the compiled version with |
@adrianeboyd: I was wondering if there will be a patch for this in one of the future releases? |
We can plan this for the next patch release, but I'm not sure of an exact date at this point. |
Thank you 😄 ! |
It'll be shipped in 3.2.2, but like Adriane says, we don't have a date yet, so keep an eye on the release page / twitter ;-) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When merging entities using
doc.retokenize
context manager, I am facing the same issue described in #8013 (reposting because #8013 was closed):How to reproduce the behaviour
Fortunately, I was able to trace back to all the texts for which this error was thrown (this only happens in production), and tried to recreate the behaviour locally but was not able to. I am processing 1000s of texts and this error seems to only happen occasionally.
Note: This happens for both
nlp(text)
andnlp.pipe(list_of_texts)
Your Environment
The text was updated successfully, but these errors were encountered: