Skip to content

Commit

Permalink
Shorter ipu CI while debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Aug 14, 2021
1 parent 58a718c commit 2581f4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .azure-pipelines/ipu-tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

trigger:
tags:
include:
Expand Down Expand Up @@ -72,17 +73,12 @@ jobs:
python -c "import poptorch; print(poptorch.__version__)"
displayName: "Check poptorch installation"
- bash: |
wget https://pl-public-data.s3.amazonaws.com/legacy/checkpoints.zip -P legacy/
unzip -o legacy/checkpoints.zip -d legacy/
ls -l legacy/checkpoints/
displayName: 'Get legacy checkpoints'
- bash: |
source ${{ variables.poplar_sdk }}/poplar-ubuntu*/enable.sh
source ${{ variables.poplar_sdk }}/popart-ubuntu*/enable.sh
export POPTORCH_WAIT_FOR_IPU=1
python -m coverage run --source pytorch_lightning -m pytest pytorch_lightning tests -v --junitxml=$(Build.StagingDirectory)/test-results.xml --durations=50
pytest tests/accelerators/test_ipu.py -v --disable-warnings
env:
MKL_THREADING_LAYER: "GNU"
displayName: 'Testing: standard'
Expand Down

0 comments on commit 2581f4f

Please sign in to comment.