File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3636 steps :
3737 - bash : |
3838 python -m pytest tests/benchmarks -v --durations=0
39- displayName: 'Testing: benchmarks'
4039 env:
4140 PL_RUNNING_BENCHMARKS: 1
41+ CUDA_LAUNCH_BLOCKING: 1
42+ displayName: 'Testing: benchmarks'
Original file line number Diff line number Diff line change @@ -67,19 +67,22 @@ jobs:
6767 python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
6868 python requirements/check-avail-strategies.py
6969 python requirements/check-avail-extras.py
70- displayName: 'Env details'
70+ displayName: 'Env. details'
7171
7272 - bash : bash .actions/pull_legacy_checkpoints.sh
7373 displayName : ' Get legacy checkpoints'
7474
7575 - bash : |
7676 python -m coverage run --source pytorch_lightning -m pytest pytorch_lightning tests --ignore tests/benchmarks -v --junitxml=$(Build.StagingDirectory)/test-results.xml --durations=50
77+ env:
78+ CUDA_LAUNCH_BLOCKING: 1
7779 displayName: 'Testing: standard'
7880
7981 - bash : |
8082 bash tests/standalone_tests.sh
8183 env:
8284 PL_USE_MOCKED_MNIST: "1"
85+ CUDA_LAUNCH_BLOCKING: 1
8386 displayName: 'Testing: standalone'
8487
8588 - bash : |
@@ -115,6 +118,7 @@ jobs:
115118 bash pl_examples/run_examples.sh --trainer.accelerator=gpu --trainer.devices=2 --trainer.strategy=ddp --trainer.precision=16
116119 env:
117120 PL_USE_MOCKED_MNIST: "1"
121+ CUDA_LAUNCH_BLOCKING: 1
118122 displayName: 'Testing: examples'
119123
120124 - bash : |
You can’t perform that action at this time.
0 commit comments