File tree 2 files changed +6
-13
lines changed
2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -125,21 +125,14 @@ jobs:
125
125
python requirements/pytorch/check-avail-extras.py
126
126
displayName: 'Env details'
127
127
128
- - bash : bash .actions/pull_legacy_checkpoints.sh
129
- displayName : ' Get legacy checkpoints'
130
-
131
- - bash : python -m coverage run --source pytorch_lightning -m pytest .
132
- workingDirectory : src/pytorch_lightning
133
- displayName : ' Testing: PyTorch doctests'
134
-
135
- - bash : python -m coverage run --source pytorch_lightning -m pytest --ignore benchmarks -v --junitxml=$(Build.StagingDirectory)/test-results.xml --durations=50
128
+ - bash : pytest tests/tests_pytorch/strategies/test_bagua_strategy.py
136
129
env :
130
+ PL_USE_MOCKED_MNIST : " 1"
137
131
PL_RUN_CUDA_TESTS : " 1"
138
- workingDirectory : tests/tests_pytorch
139
- displayName : ' Testing: PyTorch standard'
132
+ displayName : ' ASD'
140
133
timeoutInMinutes : " 35"
141
134
142
- - bash : bash run_standalone_tests.sh
135
+ - bash : bash run_standalone_tests.sh -k bagua
143
136
workingDirectory : tests/tests_pytorch
144
137
env :
145
138
PL_USE_MOCKED_MNIST : " 1"
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ set -e
17
17
18
18
# Batch size for testing: Determines how many standalone test invocations run in parallel
19
19
# It can be set through the env variable PL_STANDALONE_TESTS_BATCH_SIZE and defaults to 6 if not set
20
- test_batch_size=" ${PL_STANDALONE_TESTS_BATCH_SIZE:- 6 } "
20
+ test_batch_size=" ${PL_STANDALONE_TESTS_BATCH_SIZE:- 1 } "
21
21
source=" ${PL_STANDALONE_TESTS_SOURCE} "
22
22
23
23
# this environment variable allows special tests to run
24
24
export PL_RUN_STANDALONE_TESTS=1
25
25
# python arguments
26
- defaults=" -m coverage run --source $source --append -m pytest --no-header"
26
+ defaults=" -m pytest --no-header"
27
27
28
28
# find tests marked as `@RunIf(standalone=True)`. done manually instead of with pytest because it is faster
29
29
grep_output=$( grep --recursive --word-regexp . --regexp ' standalone=True' --include ' *.py' )
You can’t perform that action at this time.
0 commit comments