mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Try again with the worfklow threads
This commit is contained in:
parent
52b6e72e86
commit
648ba41b4b
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -6,6 +6,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
OMP_NUM_THREADS=2
|
||||||
|
MKL_NUM_THREADS=2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
|
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
|
||||||
@ -38,8 +42,5 @@ jobs:
|
|||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11
|
pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
|
||||||
OMP_NUM_THREADS=2
|
|
||||||
MKL_NUM_THREADS=2
|
|
||||||
run: |
|
run: |
|
||||||
pytest -vv --durations=0 ./tests
|
pytest -vv --durations=0 ./tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user