When I run the gensim LdaMulticore model on a machine with 12 cores, using:
lda = LdaMulticore(corpus, num_topics=64, workers=10)
I get a registration message that says
using serial LDA version on this node
A few lines later, I see another message saying
training LDA model using 10 processes
When I run the top, I see that 11 python processes were spawned, but 9 were sleeping, i.e. only one worker is active. The machine has 24 cores and is not overloaded by any means. Why is LdaMulticore not running in parallel?
source share