Skip to content

Commit

Permalink
Add cluster as an arg to GPU workflow (#32)
Browse files Browse the repository at this point in the history
* add cluster

* gpu type
  • Loading branch information
mvpatel2000 authored Oct 3, 2024
1 parent 2180fb0 commit 4839ded
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/pytest-gpu/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ inputs:
mcloud_api_key:
required: true
description: "MosaicML API key - Pass in as repo secret"
cluster:
required: false
type: string
default: r1z4
gpu_type:
required: false
type: string
default: a100_40gb
python_version:
required: false
type: string
Expand Down Expand Up @@ -116,6 +124,8 @@ runs:
fi
python .github/mcli/mcli_pytest.py \
--cluster '${{ inputs.cluster }}' \
--gpu_type '${{ inputs.gpu_type }}' \
--image '${{ inputs.container }}' \
--git_repo '${{ inputs.git_repo }}' \
--pip_deps '${{ inputs.pip_deps }}' \
Expand Down

0 comments on commit 4839ded

Please sign in to comment.