From 5036e85880e2f41b63d27e8a519f7a6957d25643 Mon Sep 17 00:00:00 2001 From: kcreekdev <158532564+kcreekdev@users.noreply.github.com> Date: Sun, 21 Apr 2024 08:23:41 -0400 Subject: [PATCH] Reduce the number of workers on CS from 5 to 3 --- cs-config/cs_config/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs-config/cs_config/functions.py b/cs-config/cs_config/functions.py index 01c8b86d..4cacaff5 100644 --- a/cs-config/cs_config/functions.py +++ b/cs-config/cs_config/functions.py @@ -210,7 +210,7 @@ def run_model(meta_param_dict, adjustment): utils.mkdirs(_dir) # Dask parmeters - num_workers = 5 + num_workers = 3 client = Client(n_workers=num_workers, threads_per_worker=1) # TODO: Swap to these parameters when able to specify tax function # and model workers separately