Skip to content

Commit 88a07f2

Browse files
authored
Use PYTEST_MAX_PROCESSES for parallel jobs number (#5438)
Fixes #5437 --------- Signed-off-by: Gregory Shimansky <[email protected]>
1 parent dfc5a66 commit 88a07f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ jobs:
338338
- name: Run triton kernels tests
339339
if: matrix.suite == 'triton-kernels'
340340
run: |
341+
export PYTEST_MAX_PROCESSES=4
341342
${{ env.TRITON_TEST_CMD }} --triton-kernels
342343
343344
# FIXME: make sure new tutorials are added to one of the groups (scaled_dot, rest, tutorial-faX)

scripts/test-triton.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ run_triton_kernels_tests() {
730730
else
731731
# Using any other number of processes results in an error on the PVC due to insufficient resources.
732732
# FIXME: reconsider in the future
733-
max_procs=4
733+
max_procs=${PYTEST_MAX_PROCESSES:-4}
734734
fi
735735
# skipping mxfp, they are part of mxfp_tests suite
736736
TRITON_TEST_SUITE=triton_kernels \

0 commit comments

Comments
 (0)