Skip to content

Commit a3c31cf

Browse files
authored
test-jax.sh: fix typo (#1526)
This meant that ~40-80GB GPUs would run >4 parallel jobs.
1 parent b601395 commit a3c31cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/container/test-jax.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ FLAGS+=("--//jaxlib/tools:add_pypi_cuda_wheel_deps=false")
140140

141141
# Default parallelism: at least 10GB per test, no more than 4 tests per GPU.
142142
DEFAULT_JOBS_PER_GPU=$(( GPU_MEMORIES_MIB[0] / 10000))
143-
if (( DEFAULT_JOBS_PER_GPU > 8 )); then DEFAULT_JOBS_PER_GPU=4; fi
143+
if (( DEFAULT_JOBS_PER_GPU > 4 )); then DEFAULT_JOBS_PER_GPU=4; fi
144144
set_default JOBS_PER_GPU ${DEFAULT_JOBS_PER_GPU}
145145
FLAGS+=(
146146
"--cache_test_results=${CACHE_TEST_RESULTS}"

0 commit comments

Comments
 (0)