You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@thisray This thread has been dormant for a while, but have you checked how many cores/threads you have in your computer? It could be that your number of cores/threads are less than 16, so 16 slows you down.
Hi,
I use the
gensim
wrapper,LdaMallet()
[link], to runMALLET
.Gensim library provide a parameter
workers
to assign the--num-threads
argument inMALLET
.(Ref: Gensim Code - line274)
But I found the
workers
seems not working, here is the different setting and running time:No matter I run this on my computer:
or on the Colab:
the results are similar, more workers spent more time.
(and I have also tried
mallet-2.0.8
&mallet-2.0.7
)Dose it means I am not using a proper way to run MALLET LDA in parallel?
Thanks!
reference code:
The text was updated successfully, but these errors were encountered: