Skip to content

Commit

Permalink
batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 8, 2025
1 parent 165d38a commit 7024590
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .azure/gpu-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
FREEZE_REQUIREMENTS: "1"
PIP_CACHE_DIR: "/var/tmp/pip"
PL_RUN_CUDA_TESTS: "1"
PL_STANDALONE_TESTS_BATCH_SIZE: "2"
container:
image: $(image)
# default shm size is 64m. Increase it to avoid:
Expand Down
1 change: 1 addition & 0 deletions .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
FREEZE_REQUIREMENTS: "1"
PIP_CACHE_DIR: "/var/tmp/pip"
PL_RUN_CUDA_TESTS: "1"
PL_STANDALONE_TESTS_BATCH_SIZE: "3"
container:
image: $(image)
# default shm size is 64m. Increase it to avoid:
Expand Down
2 changes: 1 addition & 1 deletion tests/run_standalone_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -e

# Batch size for testing: Determines how many standalone test invocations run in parallel
# It can be set through the env variable PL_STANDALONE_TESTS_BATCH_SIZE and defaults to 6 if not set
test_batch_size="${PL_STANDALONE_TESTS_BATCH_SIZE:-3}"
test_batch_size="${PL_STANDALONE_TESTS_BATCH_SIZE:-5}"
source="${PL_STANDALONE_TESTS_SOURCE:-"lightning"}"
# this is the directory where the tests are located
test_dir=$1 # parse the first argument
Expand Down

0 comments on commit 7024590

Please sign in to comment.