Wednesday 25 November 2020

Control number of CPU using in jupyterlab server

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.



from Control number of CPU using in jupyterlab server

No comments:

Post a Comment