Skip to content

Commit 9bdfb92

Browse files
pruthvistonyjithunnair-amd
authored andcommitted
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 (cherry picked from commit abc7a64)
1 parent 17b9d3e commit 9bdfb92

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
@@ -24,7 +24,8 @@
2424
if " gfx" in line:
2525
count += 1
2626
assert count > 0 # there must be at least 1 GPU
27-
NUM_PROCS = count
27+
# Limiting to 8 GPUs(PROCS)
28+
NUM_PROCS = 8 if count > 8 else count
2829
except subprocess.CalledProcessError as e:
2930
# The safe default for ROCm GHA runners is to run tests serially.
3031
NUM_PROCS = 1

0 commit comments

Comments
 (0)