We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d1e00 commit 069bb3fCopy full SHA for 069bb3f
.github/actions/setup-rocm/action.yml
@@ -67,16 +67,20 @@ runs:
67
echo "$msg"
68
exit 1
69
fi
70
- for ((i = 0; i < ${{ #inputs.test-matrix.include }}; i++ ))
+ test_matrix="${{ inputs.test-matrix }}"
71
+ tests=${test-matrix.include[i]["config"]}
72
+ for (( i = 0; i < ${#tests}; i++ ))
73
do
- if [[ ${ "${{ inputs.test-matrix.include[i]["config"] }" } != "default" ]]; then
74
+ if [[ ${ ${tests} != "default" ]]; then
75
if [[ $ngpu -eq 1 ]]; then
76
echo "Error: only 1 GPU detected, at least 2 GPUs are needed for distributed jobs"
77
78
79
80
81
done
82
+ env:
83
+ test-matrix:
84
85
- name: Runner diskspace health check
86
uses: ./.github/actions/diskspace-cleanup
0 commit comments