diff --git a/.azure/gpu-tests.yml b/.azure/gpu-tests.yml index 9385d8d2ce..2d6af6001e 100644 --- a/.azure/gpu-tests.yml +++ b/.azure/gpu-tests.yml @@ -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: |