Skip to content

Commit

Permalink
chore(ci): force test-threads value on gpu integer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Jul 5, 2024
1 parent aa92adc commit 97bcf02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/integer-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ else
doctest_threads="${num_cpu_threads}"
fi

# Override test-threads number to avoid Out-of-memory issues on GPU instances
if [[ "${backend}" == "gpu" ]]; then
test_threads=6
fi

filter_expression=$(/usr/bin/python3 scripts/test_filtering.py --layer integer --backend "${backend}" ${fast_tests_argument} ${multi_bit_argument} ${sign_argument} ${no_big_params_argument})

if [[ "${FAST_TESTS}" == "TRUE" ]]; then
Expand Down

0 comments on commit 97bcf02

Please sign in to comment.