Skip to content

Commit a1af13b

Browse files
committed
Limiting the num_procs to 8 (#1219)
- SWDEV-385909 - Inturns limits the NUM_PARALLEL_PROCS to 8, so the test shards are also max 8
1 parent dbd701b commit a1af13b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/test_selections.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
if " gfx" in line:
2727
count += 1
2828
assert count > 0 # there must be at least 1 GPU
29-
NUM_PROCS = count
29+
# Limiting to 8 GPUs(PROCS)
30+
NUM_PROCS = 8 if count > 8 else count
3031
except subprocess.CalledProcessError as e:
3132
# The safe default for ROCm GHA runners is to run tests serially.
3233
NUM_PROCS = 1

0 commit comments

Comments
 (0)