Skip to content
Discussion options

You must be logged in to vote

Hi Bram! Happy to hear things are working well for you.

You can find the code for nlp.pipe here: https://github.com/explosion/spaCy/blob/master/spacy/language.py#L1487. You can see that batch_size is used as such. If n_process>1, the function self._multiprocessing_pipe is called which in turn calls util.minibatch with the same batch_size.

Is there a particular reason why you're asking? (I might not have understood the question)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BramVanroy
Comment options

@svlandeg
Comment options

Answer selected by BramVanroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf / memory Performance: memory use
2 participants