-
By default, STUMPY uses all of the local threads when computing the matrix profile. Instead of using all threads, how can we limit or set the number of threads to be used? Note: This question is concerning only the local threads on a single (1) machine/server and is different from "distributed" computation across multiple machines/servers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Internally, STUMPY uses
Note that calling |
Beta Was this translation helpful? Give feedback.
Internally, STUMPY uses
numba
for its parallel computations. Thus, the number of threads can be controlled by calling thenumb.set_num_threads
function:Note that calling
numba.set_num_threads
will affect the number of threads used in ALL parallel computations in STUMPY and not onlystumpy.stump
. See the numba documentation for more information.