CI: adjust GPU timeout (#13628)

This commit is contained in:
Jirka Borovec 2022-07-15 00:58:32 +02:00 committed by GitHub
parent 8e4c85328a
commit 3d6f680441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ jobs:
'PyTorch - stable':
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.9-torch1.11"
# how long to run the job before automatically cancelling
timeoutInMinutes: "100"
timeoutInMinutes: "80"
# how much time to give 'run always even if cancelled tasks' before stopping them
cancelTimeoutInMinutes: "2"
pool: azure-jirka-spot
@ -96,8 +96,9 @@ jobs:
condition: eq(variables['continue'], '1')
- bash: python -m coverage run --source pytorch_lightning -m pytest --ignore benchmarks -v --junitxml=$(Build.StagingDirectory)/test-results.xml --durations=50
displayName: 'Testing: PyTorch standard'
workingDirectory: tests/tests_pytorch
displayName: 'Testing: PyTorch standard'
timeoutInMinutes: "35"
condition: eq(variables['continue'], '1')
- bash: bash run_standalone_tests.sh
@ -105,6 +106,7 @@ jobs:
env:
PL_USE_MOCKED_MNIST: "1"
displayName: 'Testing: PyTorch standalone tests'
timeoutInMinutes: "35"
condition: eq(variables['continue'], '1')
- bash: |