pySCENIC icon indicating copy to clipboard operation
pySCENIC copied to clipboard

grnboost2 limit

Open wangjiawen2013 opened this issue 2 years ago • 3 comments

Hi, grnboost2 use all the cores of our server by default, how to limit it ?

wangjiawen2013 avatar Jun 23 '22 04:06 wangjiawen2013

Add --num_workers 4

ghuls avatar Jul 25 '22 08:07 ghuls

Hi @ghuls, I have a similar question. I was following this protocol to infer co-expression modules:

adjancencies = grnboost2(expression_data=ex_matrix, tf_names=tf_names, verbose=True)

Is there any way to limit the number of cores used by grnboost2? Thanks! Dan

DHelix avatar Nov 10 '22 21:11 DHelix

I have the same question. @ghuls

Adding 'num_workers' did not work. adjancencies = grnboost2(expression_data=ex_matrix, tf_names=tf_names, verbose=True, num_workers= 10)

TypeError: grnboost2() got an unexpected keyword argument 'num_workers'

phys-bio avatar Mar 01 '23 09:03 phys-bio