en_core_web_trf - taking 10 secs to process text with 1000 words #11850
-
Is it normal for en_core_web_trf to take more than 10 secs to process? I have seen other discussions regarding speed, and have tried disabling components and setting thread count as suggested, but still the prediction seems to be taking more than 10 secs. Could anything else degrade performance/speed? What should I be checking? Thanks Input text is english news article with : 1,095 words (6,810 characters) Code:
spaCy version: 3.0.2 CPU : RAM: 128GB Environment : Docker container with Ubuntu |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The transformer components are designed to be used on a GPU. While you can use them without a GPU - and that's important from the perspective of code correctness - they will be extremely slow, so it's not recommended. |
Beta Was this translation helpful? Give feedback.
The transformer components are designed to be used on a GPU. While you can use them without a GPU - and that's important from the perspective of code correctness - they will be extremely slow, so it's not recommended.