Skip to content

Commit 4839ded

Browse files
authored
Add cluster as an arg to GPU workflow (#32)
* add cluster * gpu type
1 parent 2180fb0 commit 4839ded

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/actions/pytest-gpu/action.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ inputs:
2828
mcloud_api_key:
2929
required: true
3030
description: "MosaicML API key - Pass in as repo secret"
31+
cluster:
32+
required: false
33+
type: string
34+
default: r1z4
35+
gpu_type:
36+
required: false
37+
type: string
38+
default: a100_40gb
3139
python_version:
3240
required: false
3341
type: string
@@ -116,6 +124,8 @@ runs:
116124
fi
117125
118126
python .github/mcli/mcli_pytest.py \
127+
--cluster '${{ inputs.cluster }}' \
128+
--gpu_type '${{ inputs.gpu_type }}' \
119129
--image '${{ inputs.container }}' \
120130
--git_repo '${{ inputs.git_repo }}' \
121131
--pip_deps '${{ inputs.pip_deps }}' \

0 commit comments

Comments
 (0)