scvi-tools icon indicating copy to clipboard operation
scvi-tools copied to clipboard

is there any way to sepcific the number of workers when using scvi in R ?

Open lwlive opened this issue 5 months ago • 0 comments

when I integrating datasets with scVI in R (https://docs.scvi-tools.org/en/stable/tutorials/notebooks/scrna/scvi_in_R.html), it reports the following warnings. I am wondering how could I set the num_workers in R? Could you give some suggestions?

python3.9/site-packages/lightning/pytorch/trainer/connectors/data_connector.py:441: The 'train_dataloader' does not have many workers which may be a bottleneck. Consider increasing the value of the num_workers argumenttonum_workers=111in theDataLoader` to improve performance.

lwlive avatar Feb 22 '24 11:02 lwlive