Fix GPU tests (token + single-process) (#294)
This commit is contained in:
parent
b64c522759
commit
c7a3b2ed31
|
@ -46,5 +46,7 @@ jobs:
|
|||
python utils/print_env.py
|
||||
|
||||
- name: Run all (incl. slow) tests on GPU
|
||||
env:
|
||||
HF_API_TOKEN: ${{ secrets.HF_API_TOKEN }}
|
||||
run: |
|
||||
python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile -s tests/
|
||||
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s tests/
|
||||
|
|
Loading…
Reference in New Issue