#StackBounty: #python #multithreading #core #jupyter-lab Control number of CPU using in jupyterlab server

Bounty: 50

I’m using jupyterlab and I know that I have 12 cores available.
At the moment I use only 1 and I would like to use more.
I have tried to changed the number I use by write this in the terminal:

export JULIA_NUM_THREADS=7

but then when I print:

import threading
threading.activeCount()
>>>5

how can I make more CPU available for my jupyterlab notebook?
This is really not my field so I’m sorry if is smething really simple I just don’t understand what am I doing wrong and where to start from.


Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.