Skip to content

Commit

Permalink
[ci] Slow GPU tests run daily (huggingface#4465)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-c authored May 25, 2020
1 parent 3e3e552 commit 365d452
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/self-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ jobs:
- name: Install dependencies
run: |
source .env/bin/activate
pip install .[sklearn,tf,torch,testing]
pip install .[sklearn,torch,testing]
- name: Are GPUs recognized by our DL frameworks
run: |
source .env/bin/activate
python -c "import torch; print(torch.cuda.is_available())"
python -c "import tensorflow as tf; print(tf.test.is_built_with_cuda(), tf.config.list_physical_devices('GPU'))"
- name: Run all tests on GPU
env:
Expand Down

0 comments on commit 365d452

Please sign in to comment.