scvi-tools
scvi-tools copied to clipboard
is there any way to sepcific the number of workers when using scvi in R ?
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
argumentto
num_workers=111in the
DataLoader` to improve performance.