From ce38c35c00c98ab7528ecce205bc0cb1a8ef2153 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 13 May 2025 17:26:26 +0200 Subject: [PATCH] Add more threading configs --- distributed/distributed.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distributed/distributed.yaml b/distributed/distributed.yaml index 645118b9c5..a8fcf4259a 100644 --- a/distributed/distributed.yaml +++ b/distributed/distributed.yaml @@ -193,10 +193,14 @@ distributed: pre-spawn-environ: # See https://distributed.dask.org/en/stable/worker-memory.html#automatically-trim-memory MALLOC_TRIM_THRESHOLD_: 65536 - # Numpy configuration + # See https://github.com/joblib/joblib/blob/ed0806a497268005ad7dad30f79e1d563927d7c6/joblib/_parallel_backends.py#L59-L67 OMP_NUM_THREADS: 1 MKL_NUM_THREADS: 1 OPENBLAS_NUM_THREADS: 1 + BLIS_NUM_THREADS: 1 + VECLIB_MAXIMUM_THREADS: 1 + NUMBA_NUM_THREADS: 1 + NUMEXPR_NUM_THREADS: 1 client: heartbeat: 5s # Interval between client heartbeats