Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Apr 18, 2024
1 parent 2d21ef3 commit ff756cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:


pytorch-cpu:
timeout-minutes: 150
defaults:
run:
shell: bash
Expand All @@ -109,6 +110,7 @@ jobs:
run: make test-torch-cpu

pytorch-cuda:
timeout-minutes: 150
defaults:
run:
shell: bash
Expand All @@ -121,8 +123,6 @@ jobs:
- name: Download CUDA
run: |
wget -q https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run
- name: Install CUDA
run: |
sudo sh cuda_12.1.1_530.30.02_linux.run --toolkit
- name: Runner info
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ test-torch:
pytest ${COVERAGE_ARGS} tests/torch -m "not weekly and not nightly and not models_hub" --junitxml ${JUNITXML_PATH} $(DATA_ARG)

test-torch-cpu:
pytest ${COVERAGE_ARGS} tests/torch -n4 -rS -m "not cuda and not weekly and not nightly and not models_hub"
pytest ${COVERAGE_ARGS} tests/torch -n2 -rS -m "not cuda and not weekly and not nightly and not models_hub"

test-torch-cuda:
pytest ${COVERAGE_ARGS} tests/torch -rS -m "cuda and not weekly and not nightly and not models_hub"
Expand Down

0 comments on commit ff756cf

Please sign in to comment.