Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use more than 1 worker in Jupyter? #90

Open
christophechu opened this issue Jun 1, 2024 · 2 comments
Open

How to use more than 1 worker in Jupyter? #90

christophechu opened this issue Jun 1, 2024 · 2 comments

Comments

@christophechu
Copy link

No description provided.

@wudustan
Copy link

wudustan commented Jul 5, 2024

I want to +1

I followed along with the Jupyter example for PBMC data. I used the command:

cnmf_obj.factorize(worker_i=0, total_workers=16)

And the output I got was along these lines:

[Worker 0]. Starting task 0.
[Worker 0]. Starting task 16.
[Worker 0]. Starting task 32.
[Worker 0]. Starting task 48.
[Worker 0]. Starting task 64.
[Worker 0]. Starting task 80.
[Worker 0]. Starting task 96.
...

Is it fair to assume that this means the function is being ran over 16 cores? I'm not necessarily seeing a bit spike in core utilisation on my machine.

@dylkot would you be able to comment if you have a second? Or could you point me to any document that discusses the avaialble arguments and their use for the python library.

@livewei
Copy link

livewei commented Sep 13, 2024

I want to +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants