Cancel nlp execution #13319
Unanswered
A-n-d-r-e-a-s-M
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
calling nlp(some_text) can result in long execution time for large documents. The only way I have found to cancel this method is to run it in a process and terminate it with terminate() or kill(). Could this lead to instabilities so that the language model would have to be reloaded or is that not a problem? Could this cause memory leaks?
Kind regards,
Andreas
Beta Was this translation helpful? Give feedback.
All reactions