From 52b6e72e86ba00357398beb64eef981e2730f9a2 Mon Sep 17 00:00:00 2001 From: Ross Wightman Date: Tue, 21 Jul 2020 08:49:11 -0700 Subject: [PATCH] Try defining num threads for github workflow tests explicity (2) --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef43f0a2..c52e75a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,5 +38,8 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11 - name: Run tests + env: + OMP_NUM_THREADS=2 + MKL_NUM_THREADS=2 run: | pytest -vv --durations=0 ./tests