Open IliasAarab opened 8 months ago
Hi! Thanks for the report.
That's weird, I wonder what the difference could be in the VSCode interactive session 🤔
@svlandeg I don't know how nlp.pipe()
works under the hood, but I tried executing some basic code in concurrent fashion using ThreadPoolExecutor
and this seems to work fine within the interactive session. Let me know if I can provide more information. Would be great if someone can confirm the same issue on their own machine.
Trying to run
nlp.pipe()
withn_process > 1
results in the code hanging indefinitely on my Windows machine when running the code inside a VSCode interactive session. Running the same code from a VSCode Jupyter notebook instance works fine. Running the same code from a traditional Jupyter notebook works fine. Running the same code from a standard python interpreter works fine. Running the same code on Google Colab works fine.How to reproduce the behaviour
Your Environment