From c5329c8d325817daec85491a838b28e0902a2c50 Mon Sep 17 00:00:00 2001 From: Daniel Bolin Date: Mon, 1 Apr 2024 14:11:26 -0400 Subject: [PATCH] Fix numba config for popv --- containers/popv/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/containers/popv/Dockerfile b/containers/popv/Dockerfile index 45b51cd..2b9d3f5 100644 --- a/containers/popv/Dockerfile +++ b/containers/popv/Dockerfile @@ -10,4 +10,8 @@ RUN pip install -r requirements-freeze.txt && pip cache purge COPY context/ . +# Popv unconditionally sets the number of threads to 10 +# Ensure numba has the correct settings or it might throw an error +ENV NUMBA_NUM_THREADS=10 + CMD ["python", "/main.py"]