Skip to content

Commit 7024590

Browse files
committed
batch
1 parent 165d38a commit 7024590

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
FREEZE_REQUIREMENTS: "1"
5050
PIP_CACHE_DIR: "/var/tmp/pip"
5151
PL_RUN_CUDA_TESTS: "1"
52+
PL_STANDALONE_TESTS_BATCH_SIZE: "2"
5253
container:
5354
image: $(image)
5455
# default shm size is 64m. Increase it to avoid:

.azure/gpu-tests-pytorch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
FREEZE_REQUIREMENTS: "1"
6868
PIP_CACHE_DIR: "/var/tmp/pip"
6969
PL_RUN_CUDA_TESTS: "1"
70+
PL_STANDALONE_TESTS_BATCH_SIZE: "3"
7071
container:
7172
image: $(image)
7273
# default shm size is 64m. Increase it to avoid:

tests/run_standalone_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set -e
1717

1818
# Batch size for testing: Determines how many standalone test invocations run in parallel
1919
# 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:-3}"
20+
test_batch_size="${PL_STANDALONE_TESTS_BATCH_SIZE:-5}"
2121
source="${PL_STANDALONE_TESTS_SOURCE:-"lightning"}"
2222
# this is the directory where the tests are located
2323
test_dir=$1 # parse the first argument

0 commit comments

Comments
 (0)