From 97df4a4ebaceb27503a4796b3454f08a325e31c3 Mon Sep 17 00:00:00 2001 From: "yuxuan.zhuang@dbb.su.se" Date: Wed, 1 May 2024 09:07:01 +0200 Subject: [PATCH] limit numpy thread --- .github/workflows/gh-ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index d705012a4d6..8a4bcda940a 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -105,6 +105,12 @@ jobs: micromamba list pip list + - name: Limit NumPy threads + run: | + echo "OPENBLAS_NUM_THREADS=1" >> $GITHUB_ENV + echo "GOTO_NUM_THREADS=1" >> $GITHUB_ENV + echo "OMP_NUM_THREADS=1" >> $GITHUB_ENV + - name: run_tests if: contains(matrix.name, 'asv_check') != true run: |