Try to set omp num threads to 1

This commit is contained in:
Matthew Honnibal 2024-12-13 00:25:54 +01:00
parent 054dc113b2
commit c999a44085
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ jobs:
run: | run: |
# Hack this in to test whether blis matters for this windows bug # Hack this in to test whether blis matters for this windows bug
pip install blis==1.1.0a0 pip install blis==1.1.0a0
export OPENBLAS_NUM_THREADS=1
python -m pytest --pyargs spacy -W error python -m pytest --pyargs spacy -W error
if: "!(startsWith(matrix.os, 'macos') && matrix.python_version == '3.11')" if: "!(startsWith(matrix.os, 'macos') && matrix.python_version == '3.11')"
- name: "Run CPU tests with thinc-apple-ops" - name: "Run CPU tests with thinc-apple-ops"