From 8aaf178840bb4f05a2153a0d28e4bfc16c22f41c Mon Sep 17 00:00:00 2001 From: tomolopolis Date: Wed, 30 Aug 2023 23:20:27 +0100 Subject: [PATCH] CU-8692mqx81: set env vars so openblas doesn't raise on import of numpy --- envs/env | 3 +++ envs/env-prod | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/envs/env b/envs/env index 87cf59e7..c828aef6 100644 --- a/envs/env +++ b/envs/env @@ -1,3 +1,6 @@ +### Required for later numpy versions +OPENBLAS_NUM_THREADS=1 + ### MedCAT cfg ### MEDCAT_CONFIG_FILE=/home/configs/base.txt diff --git a/envs/env-prod b/envs/env-prod index 6f2b1f3c..d9aeee10 100644 --- a/envs/env-prod +++ b/envs/env-prod @@ -1,3 +1,7 @@ +### Required for later numpy versions +OPENBLAS_NUM_THREADS=1 + +### MedCAT cfg ### MEDCAT_CONFIG_FILE=/home/configs/base.txt ENV=prod